Subscriber concept interface. More...
#include <subscriber.hpp>
Classes | |
struct | SubscriberConcept |
struct | SubscriberModel |
Public Member Functions | |
bool | isInitialized () const |
checks if the subscriber is correctly initialized on the ros-master @ | |
std::string | name () const |
getting the descriptive name for this subscriber instance | |
void | reset (ros::NodeHandle &nh) |
initializes/resets the subscriber into ROS with a given nodehandle, this will be called at first for initialization or again when master uri has changed | |
template<typename T > | |
Subscriber (T sub) | |
Constructor for subscriber interface. | |
std::string | topic () const |
getting the topic to subscriber on | |
Private Attributes | |
boost::shared_ptr < SubscriberConcept > | subPtr_ |
Friends | |
bool | operator== (const Subscriber &lhs, const Subscriber &rhs) |
Subscriber concept interface.
Definition at line 41 of file subscriber.hpp.
naoqi::subscriber::Subscriber::Subscriber | ( | T | sub | ) | [inline] |
Constructor for subscriber interface.
Definition at line 50 of file subscriber.hpp.
bool naoqi::subscriber::Subscriber::isInitialized | ( | ) | const [inline] |
checks if the subscriber is correctly initialized on the ros-master @
Definition at line 58 of file subscriber.hpp.
std::string naoqi::subscriber::Subscriber::name | ( | ) | const [inline] |
getting the descriptive name for this subscriber instance
Definition at line 79 of file subscriber.hpp.
void naoqi::subscriber::Subscriber::reset | ( | ros::NodeHandle & | nh | ) | [inline] |
initializes/resets the subscriber into ROS with a given nodehandle, this will be called at first for initialization or again when master uri has changed
ros | NodeHandle to register the subscriber on |
Definition at line 68 of file subscriber.hpp.
std::string naoqi::subscriber::Subscriber::topic | ( | ) | const [inline] |
getting the topic to subscriber on
Definition at line 88 of file subscriber.hpp.
bool operator== | ( | const Subscriber & | lhs, |
const Subscriber & | rhs | ||
) | [friend] |
Definition at line 93 of file subscriber.hpp.
boost::shared_ptr<SubscriberConcept> naoqi::subscriber::Subscriber::subPtr_ [private] |
Definition at line 149 of file subscriber.hpp.