#include <Client.hpp>
Public Member Functions | |
virtual void | call (const msp::Request &req)=0 |
bool | hasTimer () |
void | setTimerFrequency (const double rate_hz) |
setTimerFrequency change the update rate of timer | |
void | setTimerPeriod (const double period_seconds) |
setTimerPeriod change the period of the timer | |
SubscriptionBase (PeriodicTimer *timer=NULL) | |
virtual | ~SubscriptionBase () |
Protected Attributes | |
PeriodicTimer * | timer |
Definition at line 62 of file Client.hpp.
msp::client::SubscriptionBase::SubscriptionBase | ( | PeriodicTimer * | timer = NULL | ) | [inline] |
Definition at line 64 of file Client.hpp.
virtual msp::client::SubscriptionBase::~SubscriptionBase | ( | ) | [inline, virtual] |
Definition at line 66 of file Client.hpp.
virtual void msp::client::SubscriptionBase::call | ( | const msp::Request & | req | ) | [pure virtual] |
Implemented in msp::client::Subscription< T, C >.
bool msp::client::SubscriptionBase::hasTimer | ( | ) | [inline] |
Definition at line 72 of file Client.hpp.
void msp::client::SubscriptionBase::setTimerFrequency | ( | const double | rate_hz | ) | [inline] |
setTimerFrequency change the update rate of timer
rate_hz | frequency in Hz |
Definition at line 89 of file Client.hpp.
void msp::client::SubscriptionBase::setTimerPeriod | ( | const double | period_seconds | ) | [inline] |
setTimerPeriod change the period of the timer
period_seconds | period in seconds |
Definition at line 81 of file Client.hpp.
PeriodicTimer* msp::client::SubscriptionBase::timer [protected] |
Definition at line 94 of file Client.hpp.