|
iCub-main
|
#include <mcEventDownsampler.h>
Classes | |
| struct | Config |
Public Member Functions | |
| mcEventDownsampler () | |
| Construct a new Event Downsampler object and instantiates the mutex needed by the timer. | |
| ~mcEventDownsampler () | |
| Destroy the Event Downsampler object. | |
| bool | start () |
| Instantiates the yarp::os::Timer object and starts it. | |
| bool | stop () |
| Stops the timer. | |
| bool | canprint () |
| Called by the object that implements the downsampler. | |
Public Attributes | |
| Config | config |
Definition at line 17 of file mcEventDownsampler.h.
| mced::mcEventDownsampler::mcEventDownsampler | ( | ) |
Construct a new Event Downsampler object and instantiates the mutex needed by the timer.
Definition at line 11 of file mcEventDownsampler.cpp.
| mced::mcEventDownsampler::~mcEventDownsampler | ( | ) |
Destroy the Event Downsampler object.
It stops the timer then deletes it.
Definition at line 16 of file mcEventDownsampler.cpp.
| bool mced::mcEventDownsampler::canprint | ( | ) |
Called by the object that implements the downsampler.
Compares the difference between counter and latch_1 is and the threshold.
Definition at line 30 of file mcEventDownsampler.cpp.
| bool mced::mcEventDownsampler::start | ( | ) |
Instantiates the yarp::os::Timer object and starts it.
Definition at line 62 of file mcEventDownsampler.cpp.
| bool mced::mcEventDownsampler::stop | ( | ) |
Stops the timer.
Definition at line 50 of file mcEventDownsampler.cpp.
| Config mced::mcEventDownsampler::config |
Definition at line 63 of file mcEventDownsampler.h.