ADTF
Loading...
Searching...
No Matches
adtf::system::kernel_timeout Class Reference

#include <kernel_timeout.h>

Public Member Functions

template<typename Callable, typename ... Args>
tResult Start (const char *strName, std::chrono::microseconds tmTimeout, Callable &&oMethod, Args &&... args)
 
tResult Cancel ()
 

Detailed Description

Calls the given method if a timeout occures.

Member Function Documentation

◆ Cancel()

tResult adtf::system::kernel_timeout::Cancel ( )

Cancels the timeout.

Returns
Standard result.

◆ Start()

template<typename Callable, typename ... Args>
tResult adtf::system::kernel_timeout::Start ( const char * strName,
std::chrono::microseconds tmTimeout,
Callable && oMethod,
Args &&... args )
inline

(Re-)Starts the timeout.


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