Public Member Functions | Public Attributes
variant_topic_tools::Subscriber::Impl Class Reference

Variant message subscriber implementation. More...

List of all members.

Public Member Functions

void eventCallback (const ros::MessageEvent< Message const > &event)
 This subscriber's event callback.
 Impl (ros::NodeHandle &nodeHandle, const MessageType &type, const std::string &topic, size_t queueSize, const SubscriberCallback &callback)
 Constructor.
bool isValid () const
 True, if this subscriber implementation is valid.
void shutdown ()
 Perform shutdown of the subscriber.
 ~Impl ()
 Destructor.

Public Attributes

SubscriberCallback callback
 The subscriber's callback.
MessageDataType dataType
 The message data type associated with this subscriber.
MessageSerializer serializer
 The message serializer associated with this subscriber.
ros::Subscriber subscriber
 The ROS subscriber.
MessageType type
 The message type associated with this subscriber.

Detailed Description

Variant message subscriber implementation.

Definition at line 77 of file Subscriber.h.


Constructor & Destructor Documentation

variant_topic_tools::Subscriber::Impl::Impl ( ros::NodeHandle nodeHandle,
const MessageType type,
const std::string &  topic,
size_t  queueSize,
const SubscriberCallback callback 
)

Constructor.

Definition at line 40 of file Subscriber.cpp.

Destructor.

Definition at line 49 of file Subscriber.cpp.


Member Function Documentation

This subscriber's event callback.

Definition at line 103 of file Subscriber.cpp.

True, if this subscriber implementation is valid.

Definition at line 82 of file Subscriber.cpp.

Perform shutdown of the subscriber.

Definition at line 95 of file Subscriber.cpp.


Member Data Documentation

The subscriber's callback.

Definition at line 115 of file Subscriber.h.

The message data type associated with this subscriber.

Definition at line 107 of file Subscriber.h.

The message serializer associated with this subscriber.

Definition at line 111 of file Subscriber.h.

The ROS subscriber.

Definition at line 119 of file Subscriber.h.

The message type associated with this subscriber.

Definition at line 103 of file Subscriber.h.


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


variant_topic_tools
Author(s): Ralf Kaestner
autogenerated on Tue Jul 9 2019 03:18:42