SMACC
|
#include <cb_default_publish_loop.h>
Public Member Functions | |
CbDefaultPublishLoop () | |
template<typename TMessage > | |
CbDefaultPublishLoop (const TMessage &data) | |
template<typename TMessage > | |
void | setMessage (const TMessage &data) |
virtual void | onEntry () override |
virtual void | update () |
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 () |
Public Member Functions inherited from smacc::ISmaccUpdatable | |
ISmaccUpdatable () | |
ISmaccUpdatable (ros::Duration duration) | |
void | executeUpdate () |
void | setUpdatePeriod (ros::Duration duration) |
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 () |
virtual void | update ()=0 |
Definition at line 9 of file cb_default_publish_loop.h.
|
inline |
Definition at line 17 of file cb_default_publish_loop.h.
|
inline |
Definition at line 23 of file cb_default_publish_loop.h.
References setMessage().
|
inlineoverridevirtual |
Reimplemented from smacc::SmaccClientBehavior.
Definition at line 36 of file cb_default_publish_loop.h.
References smacc::ISmaccClientBehavior::requiresClient().
|
inlineoverridevirtual |
Reimplemented from smacc::SmaccClientBehavior.
Definition at line 47 of file cb_default_publish_loop.h.
|
inline |
Definition at line 29 of file cb_default_publish_loop.h.
References client_, deferedPublishFn, and cl_ros_publisher::ClRosPublisher::publish().
Referenced by CbDefaultPublishLoop().
|
inlinevirtual |
Implements smacc::ISmaccUpdatable.
Definition at line 41 of file cb_default_publish_loop.h.
References deferedPublishFn.
|
private |
Definition at line 14 of file cb_default_publish_loop.h.
Referenced by setMessage().
|
private |
Definition at line 13 of file cb_default_publish_loop.h.
Referenced by setMessage(), and update().