Public Member Functions | Private Member Functions | Private Attributes | Friends
shm_transport::Publisher Class Reference

#include <shm_publisher.hpp>

List of all members.

Public Member Functions

uint32_t getNumSubscribers () const
std::string getTopic () const
Publisheroperator= (const Publisher &p)
template<class M >
void publish (const M &msg) const
 Publisher ()
 Publisher (const Publisher &p)
void shutdown ()
 ~Publisher ()

Private Member Functions

 Publisher (const ros::Publisher &pub, const std::string &topic, uint32_t mem_size)

Private Attributes

ShmObjectPtr pobj_
ros::Publisher pub_

Friends

class Topic

Detailed Description

Definition at line 14 of file shm_publisher.hpp.


Constructor & Destructor Documentation

Definition at line 17 of file shm_publisher.hpp.

Definition at line 20 of file shm_publisher.hpp.

Definition at line 23 of file shm_publisher.hpp.

shm_transport::Publisher::Publisher ( const ros::Publisher pub,
const std::string &  topic,
uint32_t  mem_size 
) [inline, private]

Definition at line 96 of file shm_publisher.hpp.


Member Function Documentation

uint32_t shm_transport::Publisher::getNumSubscribers ( ) const [inline]

Definition at line 91 of file shm_publisher.hpp.

std::string shm_transport::Publisher::getTopic ( ) const [inline]

Definition at line 87 of file shm_publisher.hpp.

Publisher& shm_transport::Publisher::operator= ( const Publisher p) [inline]

Definition at line 27 of file shm_publisher.hpp.

template<class M >
void shm_transport::Publisher::publish ( const M &  msg) const [inline]

Definition at line 34 of file shm_publisher.hpp.

Definition at line 83 of file shm_publisher.hpp.


Friends And Related Function Documentation

friend class Topic [friend]

Definition at line 110 of file shm_publisher.hpp.


Member Data Documentation

Definition at line 108 of file shm_publisher.hpp.

Definition at line 107 of file shm_publisher.hpp.


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


shm_transport
Author(s): Jrdevil-Wang , Wende Tan
autogenerated on Thu Jun 6 2019 18:47:43