Struct astutedds::dcps::TimerService::Timer
Public Attributes
| Type | Name |
|---|---|
| std::function< void()> | callback |
| bool | cancelled = {false} |
| TimerId | id = {0} |
| std::chrono::steady_clock::time_point | next_fire |
| std::chrono::nanoseconds | period = {0}0 = one-shot |
Public Attributes Documentation
variable callback
std::function<void()> astutedds::dcps::TimerService::Timer::callback;
variable cancelled
bool astutedds::dcps::TimerService::Timer::cancelled;
variable id
TimerId astutedds::dcps::TimerService::Timer::id;
variable next_fire
std::chrono::steady_clock::time_point astutedds::dcps::TimerService::Timer::next_fire;
variable period
0 = one-shot
std::chrono::nanoseconds astutedds::dcps::TimerService::Timer::period;
The documentation for this class was generated from the following file include/astutedds/dcps/timer_service.hpp