Public Types | Signals | Public Member Functions | Private Member Functions | Private Attributes
rqt_multiplot::MessageSubscriber Class Reference

#include <MessageSubscriber.h>

List of all members.

Public Types

enum  Property { QueueSize }

Signals

void aboutToBeDestroyed ()
void messageReceived (const QString &topic, const Message &message)
void subscribed (const QString &topic)
void unsubscribed (const QString &topic)

Public Member Functions

bool event (QEvent *event)
const ros::NodeHandlegetNodeHandle () const
size_t getNumPublishers () const
size_t getQueueSize () const
const QString & getTopic () const
bool isValid () const
 MessageSubscriber (QObject *parent=0, const ros::NodeHandle &nodeHandle=ros::NodeHandle("~"))
void setQueueSize (size_t queueSize)
void setTopic (const QString &topic)
 ~MessageSubscriber ()

Private Member Functions

void callback (const variant_topic_tools::MessageVariant &variant, const ros::Time &receiptTime)
void connectNotify (const QMetaMethod &signal)
void disconnectNotify (const QMetaMethod &signal)
void subscribe ()
void unsubscribe ()

Private Attributes

ros::NodeHandle nodeHandle_
size_t queueSize_
variant_topic_tools::Subscriber subscriber_
QString topic_

Detailed Description

Definition at line 34 of file MessageSubscriber.h.


Member Enumeration Documentation

Enumerator:
QueueSize 

Definition at line 38 of file MessageSubscriber.h.


Constructor & Destructor Documentation

rqt_multiplot::MessageSubscriber::MessageSubscriber ( QObject *  parent = 0,
const ros::NodeHandle nodeHandle = ros::NodeHandle("~") 
)

Definition at line 33 of file MessageSubscriber.cpp.

Definition at line 40 of file MessageSubscriber.cpp.


Member Function Documentation

void rqt_multiplot::MessageSubscriber::callback ( const variant_topic_tools::MessageVariant variant,
const ros::Time receiptTime 
) [private]

Definition at line 126 of file MessageSubscriber.cpp.

void rqt_multiplot::MessageSubscriber::connectNotify ( const QMetaMethod &  signal) [private]

Definition at line 139 of file MessageSubscriber.cpp.

void rqt_multiplot::MessageSubscriber::disconnectNotify ( const QMetaMethod &  signal) [private]

Definition at line 145 of file MessageSubscriber.cpp.

bool rqt_multiplot::MessageSubscriber::event ( QEvent *  event)

Definition at line 93 of file MessageSubscriber.cpp.

Definition at line 47 of file MessageSubscriber.cpp.

Definition at line 81 of file MessageSubscriber.cpp.

Definition at line 77 of file MessageSubscriber.cpp.

const QString & rqt_multiplot::MessageSubscriber::getTopic ( ) const

Definition at line 51 of file MessageSubscriber.cpp.

Definition at line 85 of file MessageSubscriber.cpp.

void rqt_multiplot::MessageSubscriber::messageReceived ( const QString &  topic,
const Message message 
) [signal]

Definition at line 66 of file MessageSubscriber.cpp.

void rqt_multiplot::MessageSubscriber::setTopic ( const QString &  topic)

Definition at line 55 of file MessageSubscriber.cpp.

Definition at line 106 of file MessageSubscriber.cpp.

void rqt_multiplot::MessageSubscriber::subscribed ( const QString &  topic) [signal]

Definition at line 116 of file MessageSubscriber.cpp.

void rqt_multiplot::MessageSubscriber::unsubscribed ( const QString &  topic) [signal]

Member Data Documentation

Definition at line 63 of file MessageSubscriber.h.

Definition at line 66 of file MessageSubscriber.h.

Definition at line 68 of file MessageSubscriber.h.

Definition at line 65 of file MessageSubscriber.h.


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


rqt_multiplot
Author(s): Ralf Kaestner
autogenerated on Tue May 9 2017 02:16:02