19 #ifndef RQT_MULTIPLOT_MESSAGE_SUBSCRIBER_REGISTRY_H 20 #define RQT_MULTIPLOT_MESSAGE_SUBSCRIBER_REGISTRY_H 39 bool subscribe(
const QString& topic, QObject* receiver,
41 Qt::ConnectionType type = Qt::AutoConnection);
42 bool unsubscribe(
const QString& topic, QObject* receiver,
43 const char* method = 0);
bool subscribe(const QString &topic, QObject *receiver, const char *method, const PropertyMap &properties=PropertyMap(), Qt::ConnectionType type=Qt::AutoConnection)
void subscriberAboutToBeDestroyed()
ros::NodeHandle nodeHandle_
virtual ~MessageSubscriberRegistry()
QMap< int, QVariant > PropertyMap
QMap< QString, MessageSubscriber * > subscribers_
MessageSubscriberRegistry(QObject *parent=0, const ros::NodeHandle &nodeHandle=ros::NodeHandle("~"))
const ros::NodeHandle & getNodeHandle() const
bool unsubscribe(const QString &topic, QObject *receiver, const char *method=0)