C++ Instrument Catalog
Public Member Functions | List of all members
MTL::ThreadedMailbox::CTimer Class Reference

#include <ThreadedMailbox.h>

Public Member Functions

 CTimer (const std::function< void(void)> &rTimerEventNotifierFunction)
 
template<class Fn , class... Args>
 CTimer (Fn &&rTimerEventNotifierFunction, Args &&... Ax)
 
virtual ~CTimer ()
 
bool StartSingleShot (std::chrono::milliseconds Delay_ms)
 
bool Start (std::chrono::milliseconds Period_ms)
 
void Stop ()
 

Detailed Description

Definition at line 126 of file ThreadedMailbox.h.

Constructor & Destructor Documentation

◆ CTimer() [1/2]

MTL::ThreadedMailbox::CTimer::CTimer ( const std::function< void(void)> &  rTimerEventNotifierFunction)
inline

Definition at line 141 of file ThreadedMailbox.h.

◆ CTimer() [2/2]

template<class Fn , class... Args>
MTL::ThreadedMailbox::CTimer::CTimer ( Fn &&  rTimerEventNotifierFunction,
Args &&...  Ax 
)
inline

Definition at line 146 of file ThreadedMailbox.h.

◆ ~CTimer()

virtual MTL::ThreadedMailbox::CTimer::~CTimer ( )
inlinevirtual

Definition at line 149 of file ThreadedMailbox.h.

Member Function Documentation

◆ Start()

bool MTL::ThreadedMailbox::CTimer::Start ( std::chrono::milliseconds  Period_ms)
inline

Definition at line 190 of file ThreadedMailbox.h.

◆ StartSingleShot()

bool MTL::ThreadedMailbox::CTimer::StartSingleShot ( std::chrono::milliseconds  Delay_ms)
inline

Definition at line 177 of file ThreadedMailbox.h.

◆ Stop()

void MTL::ThreadedMailbox::CTimer::Stop ( )
inline

Definition at line 203 of file ThreadedMailbox.h.


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