#include <MessageSubscriberRegistry.h>
Public Member Functions | |
const ros::NodeHandle & | getNodeHandle () const |
MessageSubscriberRegistry (QObject *parent=0, const ros::NodeHandle &nodeHandle=ros::NodeHandle("~")) | |
bool | subscribe (const QString &topic, QObject *receiver, const char *method, const PropertyMap &properties=PropertyMap(), Qt::ConnectionType type=Qt::AutoConnection) |
bool | unsubscribe (const QString &topic, QObject *receiver, const char *method=0) |
virtual | ~MessageSubscriberRegistry () |
Private Slots | |
void | subscriberAboutToBeDestroyed () |
Private Attributes | |
ros::NodeHandle | nodeHandle_ |
QMap< QString, MessageSubscriber * > | subscribers_ |
Definition at line 29 of file MessageSubscriberRegistry.h.
rqt_multiplot::MessageSubscriberRegistry::MessageSubscriberRegistry | ( | QObject * | parent = 0 , |
const ros::NodeHandle & | nodeHandle = ros::NodeHandle("~") |
||
) |
Definition at line 29 of file MessageSubscriberRegistry.cpp.
Definition at line 35 of file MessageSubscriberRegistry.cpp.
const ros::NodeHandle & rqt_multiplot::MessageSubscriberRegistry::getNodeHandle | ( | ) | const |
Definition at line 42 of file MessageSubscriberRegistry.cpp.
bool rqt_multiplot::MessageSubscriberRegistry::subscribe | ( | const QString & | topic, |
QObject * | receiver, | ||
const char * | method, | ||
const PropertyMap & | properties = PropertyMap() , |
||
Qt::ConnectionType | type = Qt::AutoConnection |
||
) | [virtual] |
Implements rqt_multiplot::MessageBroker.
Definition at line 50 of file MessageSubscriberRegistry.cpp.
void rqt_multiplot::MessageSubscriberRegistry::subscriberAboutToBeDestroyed | ( | ) | [private, slot] |
Definition at line 92 of file MessageSubscriberRegistry.cpp.
bool rqt_multiplot::MessageSubscriberRegistry::unsubscribe | ( | const QString & | topic, |
QObject * | receiver, | ||
const char * | method = 0 |
||
) | [virtual] |
Implements rqt_multiplot::MessageBroker.
Definition at line 76 of file MessageSubscriberRegistry.cpp.
Definition at line 46 of file MessageSubscriberRegistry.h.
QMap<QString, MessageSubscriber*> rqt_multiplot::MessageSubscriberRegistry::subscribers_ [private] |
Definition at line 48 of file MessageSubscriberRegistry.h.