#include <subscription.hpp>
Public Member Functions | |
bool | call () |
bool | channelReady (ChannelElementBase::shared_ptr channel) |
bool | mqChannelReady (ChannelElementBase::shared_ptr channel) |
void | setCallback (boost::function< void(M)> fp) |
Subscription (const std::string &topic) | |
Subscription (const std::string &topic, boost::function< void(M)> fp) | |
~Subscription () | |
Private Attributes | |
boost::function< void(M)> | callback |
Definition at line 31 of file subscription.hpp.
micros_rtt::Subscription< M >::Subscription | ( | const std::string & | topic | ) | [inline] |
Definition at line 35 of file subscription.hpp.
micros_rtt::Subscription< M >::Subscription | ( | const std::string & | topic, |
boost::function< void(M)> | fp | ||
) | [inline] |
Definition at line 36 of file subscription.hpp.
micros_rtt::Subscription< M >::~Subscription | ( | ) | [inline] |
Definition at line 40 of file subscription.hpp.
bool micros_rtt::Subscription< M >::call | ( | ) | [inline] |
Definition at line 67 of file subscription.hpp.
bool micros_rtt::Subscription< M >::channelReady | ( | ChannelElementBase::shared_ptr | channel | ) | [inline, virtual] |
Implements micros_rtt::ConnectionBase.
Definition at line 47 of file subscription.hpp.
bool micros_rtt::Subscription< M >::mqChannelReady | ( | ChannelElementBase::shared_ptr | channel | ) | [inline, virtual] |
Implements micros_rtt::ConnectionBase.
Definition at line 57 of file subscription.hpp.
void micros_rtt::Subscription< M >::setCallback | ( | boost::function< void(M)> | fp | ) | [inline] |
Definition at line 42 of file subscription.hpp.
boost::function<void(M)> micros_rtt::Subscription< M >::callback [private] |
Definition at line 110 of file subscription.hpp.