|
SMACC2
|
#include <cb_timer_countdown_loop.hpp>


Public Member Functions | |
| CbTimerCountdownLoop (int64_t triggerTickCount) | |
| void | onEntry () override |
| void | onExit () override |
| template<typename TOrthogonal , typename TSourceObject > | |
| void | onStateOrthogonalAllocation () |
| template<typename T > | |
| boost::signals2::connection | onTimerTick (void(T::*callback)(), T *object) |
Public Member Functions inherited from smacc2::SmaccClientBehavior | |
| virtual | ~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) |
| template<typename SmaccComponentType > | |
| void | requiresComponent (SmaccComponentType *&storage, ComponentRequirement requirementType=ComponentRequirement::SOFT) |
| virtual void | executeOnEntry () |
| virtual void | executeOnExit () |
Private Member Functions | |
| void | onClientTimerTickCallback () |
Private Attributes | |
| int64_t | tickTriggerCount_ |
| int64_t | tickCounter_ |
| ClRos2Timer * | timerClient_ |
| std::function< void()> | postCountDownEvent_ |
| smacc2::SmaccSignal< void()> | onTimerTick_ |
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 22 of file cb_timer_countdown_loop.hpp.
|
inlineexplicit |
Definition at line 25 of file cb_timer_countdown_loop.hpp.
|
inlineprivate |
Definition at line 64 of file cb_timer_countdown_loop.hpp.
References onTimerTick_, postCountDownEvent_, tickCounter_, and tickTriggerCount_.
Referenced by onEntry().

|
inlineoverridevirtual |
Reimplemented from smacc2::ISmaccClientBehavior.
Definition at line 30 of file cb_timer_countdown_loop.hpp.
References onClientTimerTickCallback(), smacc2::client_core_components::CpRos2Timer::onTimerTick(), smacc2::ISmaccClientBehavior::requiresClient(), smacc2::ISmaccClientBehavior::requiresComponent(), and timerClient_.

|
inlineoverridevirtual |
Reimplemented from smacc2::ISmaccClientBehavior.
Definition at line 42 of file cb_timer_countdown_loop.hpp.
|
inline |
Definition at line 45 of file cb_timer_countdown_loop.hpp.
References postCountDownEvent_, and smacc2::ISmaccClientBehavior::postEvent().

|
inline |
Definition at line 52 of file cb_timer_countdown_loop.hpp.
References smacc2::ISmaccStateMachine::createSignalConnection(), smacc2::ISmaccClientBehavior::getStateMachine(), and onTimerTick_.

|
private |
Definition at line 63 of file cb_timer_countdown_loop.hpp.
Referenced by onClientTimerTickCallback(), and onTimerTick().
|
private |
Definition at line 62 of file cb_timer_countdown_loop.hpp.
Referenced by onClientTimerTickCallback(), and onStateOrthogonalAllocation().
|
private |
Definition at line 59 of file cb_timer_countdown_loop.hpp.
Referenced by onClientTimerTickCallback().
|
private |
Definition at line 58 of file cb_timer_countdown_loop.hpp.
Referenced by onClientTimerTickCallback().
|
private |
Definition at line 61 of file cb_timer_countdown_loop.hpp.
Referenced by onEntry().