Public Types | |
using | TimerCallback = yarp::os::Timer::TimerCallback |
Public Member Functions | |
PrivateImpl (const TimerSettings &sett, TimerCallback call, std::mutex *mutex=nullptr) | |
virtual | ~PrivateImpl ()=default |
virtual bool | startTimer ()=0 |
virtual void | stopTimer ()=0 |
virtual bool | stepTimer ()=0 |
virtual bool | timerIsRunning ()=0 |
Public Attributes | |
TimerSettings | m_settings |
TimerCallback | m_callback |
double | m_startStamp {0.0} |
double | m_lastReal {0.0} |
std::mutex * | m_mutex {nullptr} |
Protected Member Functions | |
yarp::os::YarpTimerEvent | getEventNow (unsigned int iteration) |
bool | runTimer (unsigned int iteration, YarpTimerEvent event) |
|
inline |
|
virtualdefault |
|
protected |
|
protected |
Implemented in MonoThreadTimer, and ThreadedTimer.
Implemented in MonoThreadTimer, and ThreadedTimer.
Implemented in MonoThreadTimer, and ThreadedTimer.
Implemented in MonoThreadTimer, and ThreadedTimer.
TimerCallback yarp::os::Timer::PrivateImpl::m_callback |
std::mutex* yarp::os::Timer::PrivateImpl::m_mutex {nullptr} |
TimerSettings yarp::os::Timer::PrivateImpl::m_settings |