Public Member Functions | Private Attributes | List of all members
swri::OptionalSubscriberImpl< M, T > Class Template Reference

#include <optional_subscriber.h>

Inheritance diagram for swri::OptionalSubscriberImpl< M, T >:
Inheritance graph
[legend]

Public Member Functions

void initialize (ros::NodeHandle &nh, const std::string &name, uint32_t queue_size, void(T::*cb)(const boost::shared_ptr< M const > &), T *obj, const ros::TransportHints &transport_hints)
 
virtual swri::Subscriber subscribe ()
 
- Public Member Functions inherited from swri::OptionalSubscriberImplRoot
virtual ~OptionalSubscriberImplRoot ()
 

Private Attributes

void(T::* callback_ )(const boost::shared_ptr< M const > &)
 
std::string name_
 
ros::NodeHandle nh_
 
T * obj_
 
uint32_t queue_size_
 
ros::TransportHints transport_hints_
 

Detailed Description

template<class M, class T>
class swri::OptionalSubscriberImpl< M, T >

Definition at line 53 of file optional_subscriber.h.

Member Function Documentation

◆ initialize()

template<class M , class T >
void swri::OptionalSubscriberImpl< M, T >::initialize ( ros::NodeHandle nh,
const std::string &  name,
uint32_t  queue_size,
void(T::*)(const boost::shared_ptr< M const > &)  cb,
T *  obj,
const ros::TransportHints transport_hints 
)
inline

Definition at line 64 of file optional_subscriber.h.

◆ subscribe()

template<class M , class T >
virtual swri::Subscriber swri::OptionalSubscriberImpl< M, T >::subscribe ( )
inlinevirtual

Implements swri::OptionalSubscriberImplRoot.

Definition at line 79 of file optional_subscriber.h.

Member Data Documentation

◆ callback_

template<class M , class T >
void(T::* swri::OptionalSubscriberImpl< M, T >::callback_) (const boost::shared_ptr< M const > &)
private

Definition at line 60 of file optional_subscriber.h.

◆ name_

template<class M , class T >
std::string swri::OptionalSubscriberImpl< M, T >::name_
private

Definition at line 57 of file optional_subscriber.h.

◆ nh_

template<class M , class T >
ros::NodeHandle swri::OptionalSubscriberImpl< M, T >::nh_
private

Definition at line 55 of file optional_subscriber.h.

◆ obj_

template<class M , class T >
T* swri::OptionalSubscriberImpl< M, T >::obj_
private

Definition at line 61 of file optional_subscriber.h.

◆ queue_size_

template<class M , class T >
uint32_t swri::OptionalSubscriberImpl< M, T >::queue_size_
private

Definition at line 58 of file optional_subscriber.h.

◆ transport_hints_

template<class M , class T >
ros::TransportHints swri::OptionalSubscriberImpl< M, T >::transport_hints_
private

Definition at line 56 of file optional_subscriber.h.


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


swri_roscpp
Author(s): P. J. Reed
autogenerated on Fri Aug 2 2024 08:39:15