|
| kernel_timer () |
| Default constructor.
|
|
| kernel_timer (const kernel_timer &)=delete |
|
| kernel_timer (kernel_timer &&) |
| Move constructor.
|
|
template<typename Callable , typename ... Args> |
| kernel_timer (adtf::services::IKernel::tTimerClock eClock, const adtf::services::IKernel::tSchedulingInfo &sScheduling, const char *strName, tTimeStamp tmPeriod, tTimeStamp tmInitialDelay, Callable &&pFunc, Args &&... args) |
| Constructor that creates a new timer with a given clock and scheduling parameters.
|
|
template<typename Callable , typename ... Args> |
| kernel_timer (tTimeStamp tmMaximumExectionTime, adtf::services::IKernel::tTimerClock eClock, const adtf::services::IKernel::tSchedulingInfo &sScheduling, const char *strName, tTimeStamp tmPeriod, tTimeStamp tmInitialDelay, uint32_t nFlags, Callable &&pFunc, Args &&... args) |
| Constructor that creates a new timer with a given clock, scheduling parameters and flags.
|
|
template<typename Callable , typename ... Args> |
| kernel_timer (const char *strName, tTimeStamp tmPeriod, tTimeStamp tmInitialDelay, Callable &&pFunc, Args &&... args) |
| Constructor that creates a new timer.
|
|
| ~kernel_timer () |
| Destructor. More...
|
|
kernel_timer & | operator= (kernel_timer &&oOther) |
| Move assignment operator. More...
|
|
void | Swap (kernel_timer &oOther) |
| Swaps two timers. More...
|
|
bool | Stoppable () const |
| Whether or not the timer is stoppable, i.e. More...
|
|
tResult | Stop () |
| Stop the timer. More...
|
|
tResult | SetScheduling (const adtf::services::IKernel::tSchedulingInfo &sScheduling) |
| Changes the scheduling parameters of the timer. More...
|
|
tResult | GetScheduling (adtf::services::IKernel::tSchedulingInfo &sScheduling) const |
| Retrieves the scheduling parameters of the thread. More...
|
|
Class that wraps a kernel timer to call a method at specified intervals.
Definition at line 19 of file kernel_timer.h.