Classes | Public Member Functions | Private Types | Private Attributes | Friends
variant_topic_tools::Subscriber Class Reference

Variant message subscriber. More...

#include <Subscriber.h>

List of all members.

Classes

class  Impl
 Variant message subscriber implementation. More...

Public Member Functions

size_t getNumPublishers () const
 Retrieve this subscriber's number of publishers.
std::string getTopic () const
 Retrieve the topic this subscriber is subscribed to.
 operator ros::Subscriber () const
 Convert this variant message subscriber to a native ROS subscriber.
 operator void * () const
 Void pointer conversion.
void shutdown ()
 Perform shutdown of the subscriber.
 Subscriber ()
 Default constructor.
 Subscriber (const Subscriber &src)
 Copy constructor.
 ~Subscriber ()
 Destructor.

Private Types

typedef boost::shared_ptr< ImplImplPtr
 Declaration of the subscriber implementation pointer type.
typedef boost::weak_ptr< ImplImplWPtr
 Declaration of the subscriber implementation weak pointer type.

Private Attributes

ImplPtr impl
 The subscriber's implementation.

Friends

class MessageType

Detailed Description

Variant message subscriber.

Definition at line 36 of file Subscriber.h.


Member Typedef Documentation

typedef boost::shared_ptr<Impl> variant_topic_tools::Subscriber::ImplPtr [private]

Declaration of the subscriber implementation pointer type.

Definition at line 124 of file Subscriber.h.

typedef boost::weak_ptr<Impl> variant_topic_tools::Subscriber::ImplWPtr [private]

Declaration of the subscriber implementation weak pointer type.

Definition at line 129 of file Subscriber.h.


Constructor & Destructor Documentation

Default constructor.

Definition at line 30 of file Subscriber.cpp.

Copy constructor.

Definition at line 33 of file Subscriber.cpp.

Destructor.

Definition at line 37 of file Subscriber.cpp.


Member Function Documentation

Retrieve this subscriber's number of publishers.

Definition at line 75 of file Subscriber.cpp.

Retrieve the topic this subscriber is subscribed to.

Definition at line 68 of file Subscriber.cpp.

variant_topic_tools::Subscriber::operator ros::Subscriber ( ) const

Convert this variant message subscriber to a native ROS subscriber.

Definition at line 57 of file Subscriber.cpp.

variant_topic_tools::Subscriber::operator void * ( ) const [inline]

Void pointer conversion.

Definition at line 65 of file Subscriber.h.

Perform shutdown of the subscriber.

Definition at line 90 of file Subscriber.cpp.


Friends And Related Function Documentation

friend class MessageType [friend]

Definition at line 37 of file Subscriber.h.


Member Data Documentation

The subscriber's implementation.

Definition at line 133 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