|
SMACC2
|
#include <cb_timer_countdown_loop.hpp>


Public Member Functions | |
| CbTimerCountdownLoop (int64_t triggerTickCount) | |
| void | onEntry () override |
| void | onEntry () override |
| template<typename TOrthogonal , typename TSourceObject > | |
| void | onOrthogonalAllocation () |
| template<typename T > | |
| boost::signals2::connection | onTimerTick (void(T::*callback)(), T *object) |
| CbTimerCountdownLoop (int64_t triggerTickCount) | |
| void | onEntry () override |
| void | onExit () override |
| template<typename TOrthogonal , typename TSourceObject > | |
| void | onOrthogonalAllocation () |
| 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 () |
| void | onClientTimerTickCallback () |
Private Attributes | |
| int64_t | tickTriggerCount_ |
| int64_t | tickCounter_ |
| ClRosTimer * | 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 23 of file cb_timer_countdown_loop.hpp.
| cl_ros_timer::CbTimerCountdownLoop::CbTimerCountdownLoop | ( | int64_t | triggerTickCount | ) |
Definition at line 19 of file cb_timer_countdown_loop.cpp.
|
explicit |
|
private |
Definition at line 24 of file cb_timer_countdown_loop.cpp.
References onTimerTick_, postCountDownEvent_, tickCounter_, and tickTriggerCount_.
Referenced by onEntry().

|
private |
|
overridevirtual |
Reimplemented from smacc2::ISmaccClientBehavior.
Definition at line 35 of file cb_timer_countdown_loop.cpp.
References onClientTimerTickCallback(), cl_ros_timer::ClRosTimer::onTimerTick(), smacc2::ISmaccClientBehavior::requiresClient(), and timerClient_.

|
overridevirtual |
Reimplemented from smacc2::ISmaccClientBehavior.
|
overridevirtual |
Reimplemented from smacc2::ISmaccClientBehavior.
|
overridevirtual |
Reimplemented from smacc2::ISmaccClientBehavior.
Definition at line 41 of file cb_timer_countdown_loop.cpp.
|
inline |
Definition at line 31 of file cb_timer_countdown_loop.hpp.
References postCountDownEvent_, and smacc2::ISmaccClientBehavior::postEvent().

|
inline |
Definition at line 32 of file cb_timer_countdown_loop.hpp.
References postCountDownEvent_, and smacc2::ISmaccClientBehavior::postEvent().

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

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

|
private |
Definition at line 49 of file cb_timer_countdown_loop.hpp.
Referenced by onClientTimerTickCallback(), and onTimerTick().
|
private |
Definition at line 48 of file cb_timer_countdown_loop.hpp.
Referenced by onClientTimerTickCallback(), and onOrthogonalAllocation().
|
private |
Definition at line 45 of file cb_timer_countdown_loop.hpp.
Referenced by onClientTimerTickCallback().
|
private |
Definition at line 44 of file cb_timer_countdown_loop.hpp.
Referenced by onClientTimerTickCallback().
|
private |
Definition at line 47 of file cb_timer_countdown_loop.hpp.
Referenced by onEntry().