Apollo  6.0
Open source self driving car software
Public Member Functions | List of all members
apollo::cyber::TimingWheel Class Reference

#include <timing_wheel.h>

Collaboration diagram for apollo::cyber::TimingWheel:
Collaboration graph

Public Member Functions

 ~TimingWheel ()
 
void Start ()
 
void Shutdown ()
 
void Tick ()
 
void AddTask (const std::shared_ptr< TimerTask > &task)
 
void AddTask (const std::shared_ptr< TimerTask > &task, const uint64_t current_work_wheel_index)
 
void Cascade (const uint64_t assistant_wheel_index)
 
void TickFunc ()
 
uint64_t TickCount () const
 

Constructor & Destructor Documentation

◆ ~TimingWheel()

apollo::cyber::TimingWheel::~TimingWheel ( )
inline

Member Function Documentation

◆ AddTask() [1/2]

void apollo::cyber::TimingWheel::AddTask ( const std::shared_ptr< TimerTask > &  task)

◆ AddTask() [2/2]

void apollo::cyber::TimingWheel::AddTask ( const std::shared_ptr< TimerTask > &  task,
const uint64_t  current_work_wheel_index 
)

◆ Cascade()

void apollo::cyber::TimingWheel::Cascade ( const uint64_t  assistant_wheel_index)

◆ Shutdown()

void apollo::cyber::TimingWheel::Shutdown ( )

◆ Start()

void apollo::cyber::TimingWheel::Start ( )

◆ Tick()

void apollo::cyber::TimingWheel::Tick ( )

◆ TickCount()

uint64_t apollo::cyber::TimingWheel::TickCount ( ) const
inline

◆ TickFunc()

void apollo::cyber::TimingWheel::TickFunc ( )

The documentation for this class was generated from the following file: