ADTF  3.18.2
kernel_timeout

Calls the given method if a timeout occures. More...

Public Member Functions

template<typename Callable , typename ... Args>
tResult Start (const char *strName, std::chrono::microseconds tmTimeout, Callable &&oMethod, Args &&... args)
 (Re-)Starts the timeout.
 
tResult Cancel ()
 Cancels the timeout. More...
 

Private Attributes

kernel_timer m_oTimer
 

Detailed Description

Calls the given method if a timeout occures.

Definition at line 18 of file kernel_timeout.h.

Member Function Documentation

◆ Cancel()

tResult Cancel ( )

Cancels the timeout.

Returns
Standard result.

Referenced by kernel_timeout::Start().