SMACC2
|
#include <cb_ros2_timer.hpp>
Public Member Functions | |
void | onEntry () override |
void | onExit () override |
template<typename TOrthogonal , typename TSourceObject > | |
void | onStateOrthogonalAllocation () |
void | onClientTimerTickCallback () |
![]() | |
virtual | ~SmaccClientBehavior () |
void | onEntry () override |
void | onExit () override |
![]() | |
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) |
template<typename SmaccComponentType > | |
void | requiresComponent (SmaccComponentType *&storage, ComponentRequirement requirementType=ComponentRequirement::SOFT) |
virtual void | executeOnEntry () |
virtual void | executeOnExit () |
Private Attributes | |
ClRos2Timer * | timerClient_ |
std::function< void()> | postTimerEvent_ |
boost::signals2::scoped_connection | c_ |
Additional Inherited Members | |
![]() | |
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 22 of file cb_ros2_timer.hpp.
|
inline |
Definition at line 46 of file cb_ros2_timer.hpp.
References postTimerEvent_.
Referenced by onEntry().
|
inlineoverridevirtual |
Reimplemented from smacc2::ISmaccClientBehavior.
Definition at line 25 of file cb_ros2_timer.hpp.
References onClientTimerTickCallback(), cl_ros2_timer::components::CpTimerListener1::onTimerCompleted(), smacc2::ISmaccClientBehavior::requiresClient(), smacc2::ISmaccClientBehavior::requiresComponent(), and timerClient_.
|
inlineoverridevirtual |
Reimplemented from smacc2::ISmaccClientBehavior.
Definition at line 37 of file cb_ros2_timer.hpp.
|
inline |
Definition at line 40 of file cb_ros2_timer.hpp.
References smacc2::ISmaccClientBehavior::postEvent(), and postTimerEvent_.
|
private |
Definition at line 51 of file cb_ros2_timer.hpp.
|
private |
Definition at line 50 of file cb_ros2_timer.hpp.
Referenced by onClientTimerTickCallback(), and onStateOrthogonalAllocation().
|
private |
Definition at line 49 of file cb_ros2_timer.hpp.
Referenced by onEntry().