Public Member Functions | Private Attributes | List of all members
swri::OptionalSubscriber Class Reference

#include <optional_subscriber.h>

Public Member Functions

int numPublishers ()
 
 OptionalSubscriber ()
 
template<class T , class M >
 OptionalSubscriber (ros::NodeHandle &nh, std::string topic, uint32_t queue_size, void(T::*fp)(const boost::shared_ptr< M const > &), T *obj, const ros::TransportHints &transport_hints=ros::TransportHints())
 
void shutdown ()
 
void subscribe ()
 

Private Attributes

boost::shared_ptr< OptionalSubscriberImplRootimpl_
 
swri::Subscriber sub_
 

Detailed Description

Definition at line 85 of file optional_subscriber.h.

Constructor & Destructor Documentation

◆ OptionalSubscriber() [1/2]

swri::OptionalSubscriber::OptionalSubscriber ( )
inline

Definition at line 92 of file optional_subscriber.h.

◆ OptionalSubscriber() [2/2]

template<class T , class M >
swri::OptionalSubscriber::OptionalSubscriber ( ros::NodeHandle nh,
std::string  topic,
uint32_t  queue_size,
void(T::*)(const boost::shared_ptr< M const > &)  fp,
T *  obj,
const ros::TransportHints transport_hints = ros::TransportHints() 
)
inline

Definition at line 95 of file optional_subscriber.h.

Member Function Documentation

◆ numPublishers()

int swri::OptionalSubscriber::numPublishers ( )
inline

Definition at line 115 of file optional_subscriber.h.

◆ shutdown()

void swri::OptionalSubscriber::shutdown ( )
inline

Definition at line 120 of file optional_subscriber.h.

◆ subscribe()

void swri::OptionalSubscriber::subscribe ( )
inline

Definition at line 105 of file optional_subscriber.h.

Member Data Documentation

◆ impl_

boost::shared_ptr<OptionalSubscriberImplRoot> swri::OptionalSubscriber::impl_
private

Definition at line 88 of file optional_subscriber.h.

◆ sub_

swri::Subscriber swri::OptionalSubscriber::sub_
private

Definition at line 87 of file optional_subscriber.h.


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


swri_roscpp
Author(s):
autogenerated on Sat Jan 21 2023 03:13:16