SMACC
|
#include <smacc_publisher_client.h>
Public Member Functions | |
SmaccPublisherClient () | |
virtual | ~SmaccPublisherClient () |
template<typename MessageType > | |
void | configure (std::string topicName) |
template<typename MessageType > | |
void | publish (const MessageType &msg) |
Public Member Functions inherited from smacc::ISmaccClient | |
ISmaccClient () | |
virtual | ~ISmaccClient () |
virtual void | initialize () |
virtual std::string | getName () const |
template<typename EventType > | |
void | postEvent (const EventType &ev) |
template<typename EventType > | |
void | postEvent () |
template<typename TComponent > | |
TComponent * | getComponent () |
template<typename TComponent > | |
TComponent * | getComponent (std::string name) |
virtual smacc::introspection::TypeInfo::Ptr | getType () |
ISmaccStateMachine * | getStateMachine () |
template<typename TSmaccSignal , typename T > | |
void | connectSignal (TSmaccSignal &signal, void(T::*callback)(), T *object) |
template<typename SmaccClientType > | |
void | requiresClient (SmaccClientType *&storage) |
void | getComponents (std::vector< std::shared_ptr< ISmaccComponent > > &components) |
Public Attributes | |
boost::optional< std::string > | topicName |
boost::optional< int > | queueSize |
Protected Attributes | |
ros::NodeHandle | nh_ |
ros::Publisher | pub_ |
Protected Attributes inherited from smacc::ISmaccClient | |
std::map< ComponentKey, std::shared_ptr< smacc::ISmaccComponent > > | components_ |
Private Attributes | |
bool | initialized_ |
Additional Inherited Members | |
Protected Member Functions inherited from smacc::ISmaccClient | |
template<typename TOrthogonal , typename TSourceObject > | |
void | onOrthogonalAllocation () |
template<typename SmaccComponentType , typename TOrthogonal , typename TClient , typename... TArgs> | |
SmaccComponentType * | createComponent (TArgs... targs) |
template<typename SmaccComponentType , typename TOrthogonal , typename TClient , typename... TArgs> | |
SmaccComponentType * | createNamedComponent (std::string name, TArgs... targs) |
void | setStateMachine (ISmaccStateMachine *stateMachine) |
void | setOrthogonal (ISmaccOrthogonal *orthogonal) |
Definition at line 16 of file smacc_publisher_client.h.
|
inline |
Definition at line 22 of file smacc_publisher_client.h.
References initialized_.
|
inlinevirtual |
Definition at line 27 of file smacc_publisher_client.h.
References pub_.
|
inline |
Definition at line 33 of file smacc_publisher_client.h.
References smacc::ISmaccClient::getName(), initialized_, nh_, pub_, queueSize, and topicName.
|
inline |
Definition at line 54 of file smacc_publisher_client.h.
References pub_.
|
private |
Definition at line 64 of file smacc_publisher_client.h.
Referenced by configure(), and SmaccPublisherClient().
|
protected |
Definition at line 60 of file smacc_publisher_client.h.
Referenced by configure().
|
protected |
Definition at line 61 of file smacc_publisher_client.h.
Referenced by configure(), publish(), and ~SmaccPublisherClient().
boost::optional<int> smacc::client_bases::SmaccPublisherClient::queueSize |
Definition at line 20 of file smacc_publisher_client.h.
Referenced by configure().
boost::optional<std::string> smacc::client_bases::SmaccPublisherClient::topicName |
Definition at line 19 of file smacc_publisher_client.h.
Referenced by configure(), and cl_ros_publisher::ClRosPublisher::configure().