Public Member Functions | Public Attributes | List of all members
PubMessagePair< T > Class Template Reference

Container for a (ROS publisher, outgoing message) pair. We'll have queues of these. Templated on a ROS message type. More...

#include <PubQueue.h>

Public Member Functions

 PubMessagePair (T &msg, ros::Publisher &pub)
 

Public Attributes

msg_
 The outgoing message. More...
 
ros::Publisher pub_
 The publisher to use to publish the message. More...
 

Detailed Description

template<class T>
class PubMessagePair< T >

Container for a (ROS publisher, outgoing message) pair. We'll have queues of these. Templated on a ROS message type.

Definition at line 33 of file PubQueue.h.

Constructor & Destructor Documentation

◆ PubMessagePair()

template<class T >
PubMessagePair< T >::PubMessagePair ( T &  msg,
ros::Publisher pub 
)
inline

Definition at line 40 of file PubQueue.h.

Member Data Documentation

◆ msg_

template<class T >
T PubMessagePair< T >::msg_

The outgoing message.

Definition at line 37 of file PubQueue.h.

◆ pub_

template<class T >
ros::Publisher PubMessagePair< T >::pub_

The publisher to use to publish the message.

Definition at line 39 of file PubQueue.h.


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


gazebo_plugins
Author(s): John Hsu
autogenerated on Thu Sep 5 2024 02:49:55