#include <basic.hpp>
Public Member Functions | |
BasicPublisher (const std::string &topic) | |
bool | isInitialized () const |
virtual bool | isSubscribed () const |
virtual void | publish (const T &msg) |
virtual void | reset (ros::NodeHandle &nh) |
std::string | topic () const |
virtual | ~BasicPublisher () |
Protected Attributes | |
bool | is_initialized_ |
ros::Publisher | pub_ |
std::string | topic_ |
Definition at line 34 of file publishers/basic.hpp.
naoqi::publisher::BasicPublisher< T >::BasicPublisher | ( | const std::string & | topic | ) | [inline] |
Definition at line 38 of file publishers/basic.hpp.
virtual naoqi::publisher::BasicPublisher< T >::~BasicPublisher | ( | ) | [inline, virtual] |
Definition at line 43 of file publishers/basic.hpp.
bool naoqi::publisher::BasicPublisher< T >::isInitialized | ( | ) | const [inline] |
Definition at line 50 of file publishers/basic.hpp.
virtual bool naoqi::publisher::BasicPublisher< T >::isSubscribed | ( | ) | const [inline, virtual] |
Reimplemented in naoqi::publisher::LogPublisher, and naoqi::publisher::InfoPublisher.
Definition at line 55 of file publishers/basic.hpp.
virtual void naoqi::publisher::BasicPublisher< T >::publish | ( | const T & | msg | ) | [inline, virtual] |
Definition at line 61 of file publishers/basic.hpp.
virtual void naoqi::publisher::BasicPublisher< T >::reset | ( | ros::NodeHandle & | nh | ) | [inline, virtual] |
Reimplemented in naoqi::publisher::InfoPublisher.
Definition at line 66 of file publishers/basic.hpp.
std::string naoqi::publisher::BasicPublisher< T >::topic | ( | ) | const [inline] |
Definition at line 45 of file publishers/basic.hpp.
bool naoqi::publisher::BasicPublisher< T >::is_initialized_ [protected] |
Definition at line 75 of file publishers/basic.hpp.
ros::Publisher naoqi::publisher::BasicPublisher< T >::pub_ [protected] |
Reimplemented in naoqi::publisher::LogPublisher.
Definition at line 78 of file publishers/basic.hpp.
std::string naoqi::publisher::BasicPublisher< T >::topic_ [protected] |
Definition at line 73 of file publishers/basic.hpp.