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

#include <basic.hpp>

Public Member Functions

 BasicPublisher (const std::string &topic)
 
virtual ~BasicPublisher ()
 
std::string topic () const
 
bool isInitialized () const
 
virtual bool isSubscribed () const
 
virtual void publish (const T &msg)
 
virtual void reset (ros::NodeHandle &nh)
 

Protected Attributes

std::string topic_
 
bool is_initialized_
 
ros::Publisher pub_
 

Constructor & Destructor Documentation

template<class T>
naoqi::publisher::BasicPublisher< T >::BasicPublisher ( const std::string &  topic)
inline
template<class T>
virtual naoqi::publisher::BasicPublisher< T >::~BasicPublisher ( )
inlinevirtual

Member Function Documentation

template<class T>
bool naoqi::publisher::BasicPublisher< T >::isInitialized ( ) const
inline
template<class T>
virtual bool naoqi::publisher::BasicPublisher< T >::isSubscribed ( ) const
inlinevirtual
template<class T>
virtual void naoqi::publisher::BasicPublisher< T >::publish ( const T &  msg)
inlinevirtual
template<class T>
virtual void naoqi::publisher::BasicPublisher< T >::reset ( ros::NodeHandle &  nh)
inlinevirtual
template<class T>
std::string naoqi::publisher::BasicPublisher< T >::topic ( ) const
inline

Field Documentation

template<class T>
bool naoqi::publisher::BasicPublisher< T >::is_initialized_
protected
template<class T>
ros::Publisher naoqi::publisher::BasicPublisher< T >::pub_
protected
template<class T>
std::string naoqi::publisher::BasicPublisher< T >::topic_
protected

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