nidas v1.2.3
|
Interface of a client of Looper. More...
#include <LooperClient.h>
Public Member Functions | |
virtual | ~LooperClient () |
virtual void | looperNotify ()=0 |
Method called by Looper. | |
Interface of a client of Looper.
An object that wants a method called periodically should implement LooperClient::looperNotify() and register itself with a Looper via Looper::addClient().
|
inlinevirtual |
Method called by Looper.
This method should not be a heavy user of resources, since the notification of other clients is delayed until this method finishes. If much work is to be done, this method should post a semaphore for another worker thread to proceed.
Implemented in nidas::core::SerialSensor::Prompter, nidas::dynld::isff::MOSMote::MOS_TimeSyncer, and SensorSimulator.