C++Instrument Catalog MFC 1.2
Metrolab C++InstrumentCatalog for MFC
Loading...
Searching...
No Matches
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 127 of file ThreadedMailbox.h.

Constructor & Destructor Documentation

◆ CTimer() [1/2]

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

Definition at line 142 of file ThreadedMailbox.h.

◆ CTimer() [2/2]

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

Definition at line 147 of file ThreadedMailbox.h.

◆ ~CTimer()

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

Definition at line 150 of file ThreadedMailbox.h.

Member Function Documentation

◆ Start()

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

Definition at line 191 of file ThreadedMailbox.h.

◆ StartSingleShot()

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

Definition at line 178 of file ThreadedMailbox.h.

◆ Stop()

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

Definition at line 204 of file ThreadedMailbox.h.


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