SMACC
|
#include <cb_publish_once.h>
Public Member Functions | |
CbPublishOnce () | |
template<typename TMessage > | |
CbPublishOnce (const TMessage &data) | |
template<typename TMessage > | |
void | setMessage (const TMessage &data) |
virtual void | onEntry () override |
virtual void | onExit () override |
virtual void | onEntry () override |
virtual void | onExit () override |
Public Member Functions inherited from smacc::ISmaccClientBehavior | |
ISmaccClientBehavior () | |
virtual | ~ISmaccClientBehavior () |
ISmaccStateMachine * | getStateMachine () |
std::string | getName () const |
template<typename SmaccClientType > | |
void | requiresClient (SmaccClientType *&storage) |
template<typename SmaccComponentType > | |
void | requiresComponent (SmaccComponentType *&storage) |
ros::NodeHandle | getNode () |
Private Attributes | |
std::function< void()> | deferedPublishFn |
ClRosPublisher * | client_ |
Additional Inherited Members | |
Protected Member Functions inherited from smacc::ISmaccClientBehavior | |
virtual void | runtimeConfigure () |
virtual void | onEntry () |
virtual void | onExit () |
template<typename EventType > | |
void | postEvent (const EventType &ev) |
template<typename EventType > | |
void | postEvent () |
ISmaccState * | getCurrentState () |
virtual void | executeOnEntry () |
virtual void | executeOnExit () |
virtual void | dispose () |
Definition at line 9 of file cb_publish_once.h.
|
inline |
Definition at line 16 of file cb_publish_once.h.
|
inline |
Definition at line 22 of file cb_publish_once.h.
References cl_ros_publisher::CbPublishOnce< RosMsgType >::setMessage().
|
inlineoverridevirtual |
Reimplemented from smacc::SmaccClientBehavior.
Definition at line 35 of file cb_publish_once.h.
References cl_ros_publisher::CbPublishOnce< RosMsgType >::deferedPublishFn, and smacc::ISmaccClientBehavior::requiresClient().
|
inlineoverridevirtual |
Reimplemented from smacc::SmaccClientBehavior.
Definition at line 43 of file cb_publish_once.h.
|
inline |
Definition at line 28 of file cb_publish_once.h.
References cl_ros_publisher::CbPublishOnce< RosMsgType >::client_, cl_ros_publisher::CbPublishOnce< RosMsgType >::deferedPublishFn, and cl_ros_publisher::ClRosPublisher::publish().
Referenced by cl_ros_publisher::CbPublishOnce< RosMsgType >::CbPublishOnce().
|
private |
Definition at line 13 of file cb_publish_once.h.
Referenced by cl_ros_publisher::CbPublishOnce< RosMsgType >::setMessage().
|
private |
Definition at line 12 of file cb_publish_once.h.
Referenced by cl_ros_publisher::CbPublishOnce< RosMsgType >::onEntry(), and cl_ros_publisher::CbPublishOnce< RosMsgType >::setMessage().