swift
|
Thread-safe timer class. More...
Signals | |
void | timeout () |
Public Member Functions | |
CThreadedTimer (QObject *owner, const QString &name, bool singleShot=false) | |
~CThreadedTimer ()=default | |
Destructor. | |
void | startTimer (std::chrono::milliseconds ms) |
Start updating (start timer) More... | |
void | stopTimer () |
Safely stop update time. More... | |
Thread-safe timer class.
Definition at line 17 of file threadedtimer.h.
void swift::misc::CThreadedTimer::startTimer | ( | std::chrono::milliseconds | ms | ) |
Start updating (start timer)
Definition at line 19 of file threadedtimer.cpp.
void swift::misc::CThreadedTimer::stopTimer | ( | ) |
Safely stop update time.
Definition at line 36 of file threadedtimer.cpp.