|
SMACC2
|
#include <cb_my_subscriber_behavior.hpp>


Public Member Functions | |
| void | onEntry () |
| template<typename TOrthogonal , typename TSourceObject > | |
| void | onOrthogonalAllocation () |
| void | onMessageReceived (const std_msgs::msg::Float32 &msg) |
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) |
Public Attributes | |
| std::function< void()> | postMyEvent_ |
Additional Inherited Members | |
Protected Member Functions inherited from smacc2::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 | dispose () |
| virtual rclcpp::Node::SharedPtr | getNode () |
| virtual rclcpp::Logger | getLogger () |
Definition at line 27 of file cb_my_subscriber_behavior.hpp.
|
inlinevirtual |
Reimplemented from smacc2::SmaccClientBehavior.
Definition at line 30 of file cb_my_subscriber_behavior.hpp.
References onMessageReceived(), smacc2::client_bases::SmaccSubscriberClient< MessageType >::onMessageReceived(), and smacc2::ISmaccClientBehavior::requiresClient().

|
inline |
Definition at line 44 of file cb_my_subscriber_behavior.hpp.
References smacc2::ISmaccClientBehavior::getLogger(), and postMyEvent_.
Referenced by onEntry().


|
inline |
Definition at line 39 of file cb_my_subscriber_behavior.hpp.
References postMyEvent_.
| std::function<void()> sm_pubsub_1::cl_subscriber::CbMySubscriberBehavior::postMyEvent_ |
Definition at line 56 of file cb_my_subscriber_behavior.hpp.
Referenced by onMessageReceived(), and onOrthogonalAllocation().