#include <shm_publisher.hpp>
Public Member Functions | |
uint32_t | getNumSubscribers () const |
std::string | getTopic () const |
Publisher & | operator= (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 |
Definition at line 14 of file shm_publisher.hpp.
shm_transport::Publisher::Publisher | ( | ) | [inline] |
Definition at line 17 of file shm_publisher.hpp.
shm_transport::Publisher::~Publisher | ( | ) | [inline] |
Definition at line 20 of file shm_publisher.hpp.
shm_transport::Publisher::Publisher | ( | const Publisher & | p | ) | [inline] |
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.
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.
Definition at line 27 of file shm_publisher.hpp.
void shm_transport::Publisher::publish | ( | const M & | msg | ) | const [inline] |
Definition at line 34 of file shm_publisher.hpp.
void shm_transport::Publisher::shutdown | ( | ) | [inline] |
Definition at line 83 of file shm_publisher.hpp.
friend class Topic [friend] |
Definition at line 110 of file shm_publisher.hpp.
ShmObjectPtr shm_transport::Publisher::pobj_ [private] |
Definition at line 108 of file shm_publisher.hpp.
ros::Publisher shm_transport::Publisher::pub_ [private] |
Definition at line 107 of file shm_publisher.hpp.