Public Member Functions | Private Member Functions | Private Attributes | List of all members
nodelet_topic_tools::NodeletThrottle< M > Class Template Reference

#include <nodelet_throttle.h>

Inheritance diagram for nodelet_topic_tools::NodeletThrottle< M >:
Inheritance graph
[legend]

Public Member Functions

 NodeletThrottle ()
 
 ~NodeletThrottle ()
 
- Public Member Functions inherited from nodelet::Nodelet
void init (const std::string &name, const M_string &remapping_args, const V_string &my_argv, ros::CallbackQueueInterface *st_queue=NULL, ros::CallbackQueueInterface *mt_queue=NULL)
 
 Nodelet ()
 
virtual ~Nodelet ()
 

Private Member Functions

void callback (const boost::shared_ptr< const M > &cloud)
 
void connectCB ()
 
void disconnectCB ()
 
virtual void onInit ()
 
void reconfigure (nodelet_topic_tools::NodeletThrottleConfig &config, uint32_t level)
 

Private Attributes

boost::mutex connect_mutex_
 
ros::Time last_update_
 
double max_update_rate_
 
ros::NodeHandle nh_
 
ros::Publisher pub_
 
dynamic_reconfigure::Server< nodelet_topic_tools::NodeletThrottleConfig > * srv_
 
ros::Subscriber sub_
 

Additional Inherited Members

- Protected Member Functions inherited from nodelet::Nodelet
ros::CallbackQueueInterfacegetMTCallbackQueue () const
 
ros::NodeHandlegetMTNodeHandle () const
 
ros::NodeHandlegetMTPrivateNodeHandle () const
 
const V_stringgetMyArgv () const
 
const std::string & getName () const
 
ros::NodeHandlegetNodeHandle () const
 
ros::NodeHandlegetPrivateNodeHandle () const
 
const M_stringgetRemappingArgs () const
 
ros::CallbackQueueInterfacegetSTCallbackQueue () const
 
std::string getSuffixedName (const std::string &suffix) const
 

Detailed Description

template<typename M>
class nodelet_topic_tools::NodeletThrottle< M >

Definition at line 46 of file nodelet_throttle.h.

Constructor & Destructor Documentation

◆ NodeletThrottle()

template<typename M >
nodelet_topic_tools::NodeletThrottle< M >::NodeletThrottle ( )
inline

Definition at line 50 of file nodelet_throttle.h.

◆ ~NodeletThrottle()

template<typename M >
nodelet_topic_tools::NodeletThrottle< M >::~NodeletThrottle ( )
inline

Definition at line 54 of file nodelet_throttle.h.

Member Function Documentation

◆ callback()

template<typename M >
void nodelet_topic_tools::NodeletThrottle< M >::callback ( const boost::shared_ptr< const M > &  cloud)
inlineprivate

Definition at line 87 of file nodelet_throttle.h.

◆ connectCB()

template<typename M >
void nodelet_topic_tools::NodeletThrottle< M >::connectCB ( )
inlineprivate

Definition at line 108 of file nodelet_throttle.h.

◆ disconnectCB()

template<typename M >
void nodelet_topic_tools::NodeletThrottle< M >::disconnectCB ( )
inlineprivate

Definition at line 116 of file nodelet_throttle.h.

◆ onInit()

template<typename M >
virtual void nodelet_topic_tools::NodeletThrottle< M >::onInit ( )
inlineprivatevirtual

Implements nodelet::Nodelet.

Definition at line 65 of file nodelet_throttle.h.

◆ reconfigure()

template<typename M >
void nodelet_topic_tools::NodeletThrottle< M >::reconfigure ( nodelet_topic_tools::NodeletThrottleConfig &  config,
uint32_t  level 
)
inlineprivate

Definition at line 103 of file nodelet_throttle.h.

Member Data Documentation

◆ connect_mutex_

template<typename M >
boost::mutex nodelet_topic_tools::NodeletThrottle< M >::connect_mutex_
private

Definition at line 62 of file nodelet_throttle.h.

◆ last_update_

template<typename M >
ros::Time nodelet_topic_tools::NodeletThrottle< M >::last_update_
private

Definition at line 60 of file nodelet_throttle.h.

◆ max_update_rate_

template<typename M >
double nodelet_topic_tools::NodeletThrottle< M >::max_update_rate_
private

Definition at line 61 of file nodelet_throttle.h.

◆ nh_

template<typename M >
ros::NodeHandle nodelet_topic_tools::NodeletThrottle< M >::nh_
private

Definition at line 124 of file nodelet_throttle.h.

◆ pub_

template<typename M >
ros::Publisher nodelet_topic_tools::NodeletThrottle< M >::pub_
private

Definition at line 125 of file nodelet_throttle.h.

◆ srv_

template<typename M >
dynamic_reconfigure::Server<nodelet_topic_tools::NodeletThrottleConfig>* nodelet_topic_tools::NodeletThrottle< M >::srv_
private

Definition at line 63 of file nodelet_throttle.h.

◆ sub_

template<typename M >
ros::Subscriber nodelet_topic_tools::NodeletThrottle< M >::sub_
private

Definition at line 126 of file nodelet_throttle.h.


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


nodelet_topic_tools
Author(s): Radu Bogdan Rusu, Tully Foote, Michael Carroll
autogenerated on Fri Sep 27 2024 02:38:07