|
| TestableBasdaServiceWorker (const Nice::JointPtr &config, DeviceContainer &devices) |
|
virtual | ~TestableBasdaServiceWorker () |
|
Nice::I64 | getLatestSleepDurationInMicroSeconds () |
|
| TestableBasdaServiceWorker (const Nice::JointPtr &config, DeviceContainer &devices) |
|
virtual | ~TestableBasdaServiceWorker () |
|
Nice::I64 | getLatestSleepDurationInMicroSeconds () |
|
| BasdaServiceWorker (const Nice::JointPtr &config, DeviceContainer &devices) |
|
virtual | ~BasdaServiceWorker () |
|
virtual void | init () |
|
virtual void | deinit () |
|
virtual void | activate () |
|
virtual void | deactivate () |
|
virtual void | work () |
|
virtual void | idleOnline () |
|
virtual void | terminate () |
|
| BasdaServiceWorker (const Nice::JointPtr &config, DeviceContainer &devices) |
|
virtual | ~BasdaServiceWorker () |
|
virtual void | init () |
|
virtual void | deinit () |
|
virtual void | activate () |
|
virtual void | deactivate () |
|
virtual void | work () |
|
virtual void | idleOnline () |
|
virtual void | terminate () |
|
const Nice::JointPtr & | config () |
|
Nice::JointPtr | cfg () |
|
Nice::JointPtr | var () |
|
virtual const std::string & | name () |
|
virtual WorkerThreadPtr | worker () |
|
virtual Nice::Monitor & | monitor () |
|
virtual void | lock () |
|
virtual void | unlock () |
|
bool | stateIsSettled () |
|
bool | stateHasChanged () |
|
void | changeState (Basda::ServiceState _state) |
| change state to a new state If the state is the current state, or a negative state, do nothing. Otherwise change the "next" state in the state machine and notify all threads. More...
|
|
bool | tryChangeState (Basda::ServiceState _state, const Nice::Time &_timeout=Nice::Time::seconds(0.0)) |
| change state to a new state More...
|
|
void | waitForState (Basda::ServiceState _state) |
| wait (indefinitely) until the worker has reached a spcifici state More...
|
|
bool | timedWaitForState (Basda::ServiceState _state, const Nice::Time &_timeout) |
| wait (indefinitely) until the worker has reached a specific state More...
|
|
bool | changeStateOnlyFromTo (Basda::ServiceState _from, Basda::ServiceState _to) |
| wait (indefinitely) until the worker has reached a spcifici state More...
|
|
Basda::ServiceState | state () |
|
Basda::ServiceState | stateNow () |
|
Basda::ServiceState | stateNext () |
|
Basda::ServiceState | stateLast () |
|
bool | isTransit () |
|
bool | isTerminated () |
|
const Nice::JointPtr & | config () |
|
Nice::JointPtr | cfg () |
|
Nice::JointPtr | var () |
|
virtual const std::string & | name () |
|
virtual WorkerThreadPtr | worker () |
|
virtual Nice::Monitor & | monitor () |
|
virtual void | lock () |
|
virtual void | unlock () |
|
bool | stateIsSettled () |
|
bool | stateHasChanged () |
|
void | changeState (Basda::ServiceState _state) |
|
bool | tryChangeState (Basda::ServiceState _state, const Nice::Time &_timeout=Nice::Time::seconds(0.0)) |
|
void | waitForState (Basda::ServiceState _state) |
|
bool | timedWaitForState (Basda::ServiceState _state, const Nice::Time &_timeout) |
|
bool | changeStateOnlyFromTo (Basda::ServiceState _from, Basda::ServiceState _to) |
|
Basda::ServiceState | state () |
|
Basda::ServiceState | stateNow () |
|
Basda::ServiceState | stateNext () |
|
Basda::ServiceState | stateLast () |
|
bool | isTransit () |
|
bool | isTerminated () |
|
◆ TestableBasdaServiceWorker() [1/2]
◆ ~TestableBasdaServiceWorker() [1/2]
virtual TestableBasdaServiceWorker::~TestableBasdaServiceWorker |
( |
| ) |
|
|
inlinevirtual |
◆ TestableBasdaServiceWorker() [2/2]
◆ ~TestableBasdaServiceWorker() [2/2]
virtual TestableBasdaServiceWorker::~TestableBasdaServiceWorker |
( |
| ) |
|
|
inlinevirtual |
◆ getLatestSleepDurationInMicroSeconds() [1/2]
Nice::I64 TestableBasdaServiceWorker::getLatestSleepDurationInMicroSeconds |
( |
| ) |
|
|
inline |
◆ getLatestSleepDurationInMicroSeconds() [2/2]
Nice::I64 TestableBasdaServiceWorker::getLatestSleepDurationInMicroSeconds |
( |
| ) |
|
|
inline |
◆ sleepOnline() [1/2]
virtual void TestableBasdaServiceWorker::sleepOnline |
( |
const Nice::Time & |
sleepDuration | ) |
|
|
inlineprotectedvirtual |
◆ sleepOnline() [2/2]
virtual void TestableBasdaServiceWorker::sleepOnline |
( |
const Nice::Time & |
sleepDuration | ) |
|
|
inlineprotectedvirtual |
◆ latestSleepDurationInMicroSeconds_
Nice::I64 TestableBasdaServiceWorker::latestSleepDurationInMicroSeconds_ |
|
private |
The documentation for this class was generated from the following file: