Public Member Functions | Public Attributes | List of all members
variant_topic_tools::Subscriber::Impl Class Reference

Variant message subscriber implementation. More...

Public Member Functions

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

Public Attributes

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

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.

variant_topic_tools::Subscriber::Impl::~Impl ( )

Destructor.

Definition at line 49 of file Subscriber.cpp.

Member Function Documentation

void variant_topic_tools::Subscriber::Impl::eventCallback ( const ros::MessageEvent< Message const > &  event)

This subscriber's event callback.

Definition at line 103 of file Subscriber.cpp.

bool variant_topic_tools::Subscriber::Impl::isValid ( ) const

True, if this subscriber implementation is valid.

Definition at line 82 of file Subscriber.cpp.

void variant_topic_tools::Subscriber::Impl::shutdown ( )

Perform shutdown of the subscriber.

Definition at line 95 of file Subscriber.cpp.

Member Data Documentation

SubscriberCallback variant_topic_tools::Subscriber::Impl::callback

The subscriber's callback.

Definition at line 115 of file Subscriber.h.

MessageDataType variant_topic_tools::Subscriber::Impl::dataType

The message data type associated with this subscriber.

Definition at line 107 of file Subscriber.h.

MessageSerializer variant_topic_tools::Subscriber::Impl::serializer

The message serializer associated with this subscriber.

Definition at line 111 of file Subscriber.h.

ros::Subscriber variant_topic_tools::Subscriber::Impl::subscriber

The ROS subscriber.

Definition at line 119 of file Subscriber.h.

MessageType variant_topic_tools::Subscriber::Impl::type

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 Sat Jan 9 2021 03:56:50