Public Member Functions | Private Attributes
micros_rtt::Subscription< M > Class Template Reference

#include <subscription.hpp>

Inheritance diagram for micros_rtt::Subscription< M >:
Inheritance graph
[legend]

List of all members.

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

Detailed Description

template<class M>
class micros_rtt::Subscription< M >

Definition at line 31 of file subscription.hpp.


Constructor & Destructor Documentation

template<class M >
micros_rtt::Subscription< M >::Subscription ( const std::string &  topic) [inline]

Definition at line 35 of file subscription.hpp.

template<class M >
micros_rtt::Subscription< M >::Subscription ( const std::string &  topic,
boost::function< void(M)>  fp 
) [inline]

Definition at line 36 of file subscription.hpp.

template<class M >
micros_rtt::Subscription< M >::~Subscription ( ) [inline]

Definition at line 40 of file subscription.hpp.


Member Function Documentation

template<class M >
bool micros_rtt::Subscription< M >::call ( ) [inline]

Definition at line 67 of file subscription.hpp.

template<class M >
bool micros_rtt::Subscription< M >::channelReady ( ChannelElementBase::shared_ptr  channel) [inline, virtual]

Implements micros_rtt::ConnectionBase.

Definition at line 47 of file subscription.hpp.

template<class M >
bool micros_rtt::Subscription< M >::mqChannelReady ( ChannelElementBase::shared_ptr  channel) [inline, virtual]

Implements micros_rtt::ConnectionBase.

Definition at line 57 of file subscription.hpp.

template<class M >
void micros_rtt::Subscription< M >::setCallback ( boost::function< void(M)>  fp) [inline]

Definition at line 42 of file subscription.hpp.


Member Data Documentation

template<class M >
boost::function<void(M)> micros_rtt::Subscription< M >::callback [private]

Definition at line 110 of file subscription.hpp.


The documentation for this class was generated from the following file:


micros_rtt
Author(s): Zaile Jiang , Xiaodong Yi , Minglong Li
autogenerated on Sat Jun 8 2019 19:02:21