Public Types | Signals | Public Member Functions | Private Member Functions | Private Attributes | List of all members
rqt_multiplot::MessageSubscriber Class Reference

#include <MessageSubscriber.h>

Inheritance diagram for rqt_multiplot::MessageSubscriber:
Inheritance graph
[legend]

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.

rqt_multiplot::MessageSubscriber::~MessageSubscriber ( )

Definition at line 40 of file MessageSubscriber.cpp.

Member Function Documentation

void rqt_multiplot::MessageSubscriber::aboutToBeDestroyed ( )
signal
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.

const ros::NodeHandle & rqt_multiplot::MessageSubscriber::getNodeHandle ( ) const

Definition at line 47 of file MessageSubscriber.cpp.

size_t rqt_multiplot::MessageSubscriber::getNumPublishers ( ) const

Definition at line 81 of file MessageSubscriber.cpp.

size_t rqt_multiplot::MessageSubscriber::getQueueSize ( ) const

Definition at line 77 of file MessageSubscriber.cpp.

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

Definition at line 51 of file MessageSubscriber.cpp.

bool rqt_multiplot::MessageSubscriber::isValid ( ) const

Definition at line 85 of file MessageSubscriber.cpp.

void rqt_multiplot::MessageSubscriber::messageReceived ( const QString &  topic,
const Message message 
)
signal
void rqt_multiplot::MessageSubscriber::setQueueSize ( size_t  queueSize)

Definition at line 66 of file MessageSubscriber.cpp.

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

Definition at line 55 of file MessageSubscriber.cpp.

void rqt_multiplot::MessageSubscriber::subscribe ( )
private

Definition at line 106 of file MessageSubscriber.cpp.

void rqt_multiplot::MessageSubscriber::subscribed ( const QString &  topic)
signal
void rqt_multiplot::MessageSubscriber::unsubscribe ( )
private

Definition at line 116 of file MessageSubscriber.cpp.

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

Member Data Documentation

ros::NodeHandle rqt_multiplot::MessageSubscriber::nodeHandle_
private

Definition at line 63 of file MessageSubscriber.h.

size_t rqt_multiplot::MessageSubscriber::queueSize_
private

Definition at line 66 of file MessageSubscriber.h.

variant_topic_tools::Subscriber rqt_multiplot::MessageSubscriber::subscriber_
private

Definition at line 68 of file MessageSubscriber.h.

QString rqt_multiplot::MessageSubscriber::topic_
private

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 Wed Jul 10 2019 03:49:44