EEROS  1.0.0.0
API for the EEROS Real-Time Robotics Framework
eeros::control::RosPublisher< TRosMsg, SigInType > Class Template Referenceabstract

#include <RosPublisher.hpp>

Inheritance diagram for eeros::control::RosPublisher< TRosMsg, SigInType >:
Collaboration diagram for eeros::control::RosPublisher< TRosMsg, SigInType >:

Public Member Functions

 RosPublisher (const std::string &topic, uint32_t queueSize=1000, bool callNewest=false)
 
virtual void setRosMsg (TRosMsg &msg)=0
 
void run ()
 
- Public Member Functions inherited from eeros::control::Block1i< SigInType >
 Block1i ()
 
virtual Input< SigInType > & getIn ()
 
- Public Member Functions inherited from eeros::control::Block
virtual void setName (std::string name)
 
virtual std::string getName ()
 
- Public Member Functions inherited from eeros::Runnable
virtual ~Runnable ()
 

Protected Attributes

ros::Publisher publisher
 
const std::string & topic
 
TRosMsg msg
 
- Protected Attributes inherited from eeros::control::Block1i< SigInType >
Input< SigInType > in
 

Constructor & Destructor Documentation

template<typename TRosMsg, typename SigInType>
eeros::control::RosPublisher< TRosMsg, SigInType >::RosPublisher ( const std::string &  topic,
uint32_t  queueSize = 1000,
bool  callNewest = false 
)
inline

Member Function Documentation

template<typename TRosMsg, typename SigInType>
void eeros::control::RosPublisher< TRosMsg, SigInType >::run ( )
inlinevirtual

Implements eeros::Runnable.

template<typename TRosMsg, typename SigInType>
virtual void eeros::control::RosPublisher< TRosMsg, SigInType >::setRosMsg ( TRosMsg &  msg)
pure virtual

Member Data Documentation

template<typename TRosMsg, typename SigInType>
TRosMsg eeros::control::RosPublisher< TRosMsg, SigInType >::msg
protected
template<typename TRosMsg, typename SigInType>
ros::Publisher eeros::control::RosPublisher< TRosMsg, SigInType >::publisher
protected
template<typename TRosMsg, typename SigInType>
const std::string& eeros::control::RosPublisher< TRosMsg, SigInType >::topic
protected

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