SMACC2
|
#include <cb_subscription_callback_base.hpp>
Public Member Functions | |
void | onEntry () override |
virtual void | onMessageReceived (const TMsg &msg)=0 |
Public Member Functions inherited from smacc2::SmaccClientBehavior | |
void | onEntry () override |
void | onExit () override |
Public Member Functions inherited from smacc2::ISmaccClientBehavior | |
ISmaccClientBehavior () | |
virtual | ~ISmaccClientBehavior () |
ISmaccStateMachine * | getStateMachine () |
std::string | getName () const |
template<typename SmaccClientType > | |
void | requiresClient (SmaccClientType *&storage) |
template<typename SmaccComponentType > | |
void | requiresComponent (SmaccComponentType *&storage, bool throwExceptionIfNotExist=false) |
virtual void | onEntry () |
virtual void | onExit () |
virtual void | executeOnEntry () |
virtual void | executeOnExit () |
Protected Attributes | |
smacc2::client_bases::SmaccSubscriberClient< TMsg > * | attachedClient_ = nullptr |
Additional Inherited Members | |
Protected Member Functions inherited from smacc2::ISmaccClientBehavior | |
virtual void | runtimeConfigure () |
template<typename EventType > | |
void | postEvent (const EventType &ev) |
template<typename EventType > | |
void | postEvent () |
ISmaccState * | getCurrentState () |
virtual void | dispose () |
virtual rclcpp::Node::SharedPtr | getNode () const |
virtual rclcpp::Logger | getLogger () const |
Definition at line 28 of file cb_subscription_callback_base.hpp.
|
inlineoverridevirtual |
Reimplemented from smacc2::ISmaccClientBehavior.
Definition at line 31 of file cb_subscription_callback_base.hpp.
References smacc2::client_behaviors::CbSubscriptionCallbackBase< TMsg >::attachedClient_, smacc2::client_behaviors::CbSubscriptionCallbackBase< TMsg >::onMessageReceived(), smacc2::client_bases::SmaccSubscriberClient< MessageType >::onMessageReceived(), and smacc2::ISmaccClientBehavior::requiresClient().
|
pure virtual |
Referenced by smacc2::client_behaviors::CbSubscriptionCallbackBase< TMsg >::onEntry().
|
protected |
Definition at line 40 of file cb_subscription_callback_base.hpp.
Referenced by smacc2::client_behaviors::CbSubscriptionCallbackBase< TMsg >::onEntry().