Public Member Functions | Protected Attributes
naoqi::publisher::BasicPublisher< T > Class Template Reference

#include <basic.hpp>

List of all members.

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_

Detailed Description

template<class T>
class naoqi::publisher::BasicPublisher< T >

Definition at line 34 of file publishers/basic.hpp.


Constructor & Destructor Documentation

template<class T>
naoqi::publisher::BasicPublisher< T >::BasicPublisher ( const std::string &  topic) [inline]

Definition at line 38 of file publishers/basic.hpp.

template<class T>
virtual naoqi::publisher::BasicPublisher< T >::~BasicPublisher ( ) [inline, virtual]

Definition at line 43 of file publishers/basic.hpp.


Member Function Documentation

template<class T>
bool naoqi::publisher::BasicPublisher< T >::isInitialized ( ) const [inline]

Definition at line 50 of file publishers/basic.hpp.

template<class T>
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.

template<class T>
virtual void naoqi::publisher::BasicPublisher< T >::publish ( const T msg) [inline, virtual]

Definition at line 61 of file publishers/basic.hpp.

template<class T>
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.

template<class T>
std::string naoqi::publisher::BasicPublisher< T >::topic ( ) const [inline]

Definition at line 45 of file publishers/basic.hpp.


Member Data Documentation

template<class T>
bool naoqi::publisher::BasicPublisher< T >::is_initialized_ [protected]

Definition at line 75 of file publishers/basic.hpp.

template<class T>
ros::Publisher naoqi::publisher::BasicPublisher< T >::pub_ [protected]

Publisher

Reimplemented in naoqi::publisher::LogPublisher.

Definition at line 78 of file publishers/basic.hpp.

template<class T>
std::string naoqi::publisher::BasicPublisher< T >::topic_ [protected]

Definition at line 73 of file publishers/basic.hpp.


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


naoqi_driver
Author(s): Karsten Knese
autogenerated on Sun Sep 17 2017 02:57:14