|
SMACC2
|
#include <cb_timer_countdown_once.hpp>


Public Member Functions | |
| CbTimerCountdownOnce (unsigned long 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) |
| CbTimerCountdownOnce (unsigned long 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) |
| 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) |
Private Member Functions | |
| void | onClientTimerTickCallback () |
| void | onClientTimerTickCallback () |
Private Attributes | |
| unsigned long | tickCounter_ |
| unsigned long | tickTriggerCount_ |
| ClRosTimer * | timerClient_ |
| std::function< void()> | postCountDownEvent_ |
| smacc2::SmaccSignal< void()> | onTimerTick_ |
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 22 of file cb_timer_countdown_once.hpp.
| cl_ros_timer::CbTimerCountdownOnce::CbTimerCountdownOnce | ( | unsigned long | triggerTickCount | ) |
Definition at line 19 of file cb_timer_countdown_once.cpp.
| cl_ros_timer::CbTimerCountdownOnce::CbTimerCountdownOnce | ( | unsigned long | triggerTickCount | ) |
|
private |
Definition at line 24 of file cb_timer_countdown_once.cpp.
References onTimerTick_, postCountDownEvent_, tickCounter_, and tickTriggerCount_.
Referenced by onEntry().

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

|
overridevirtual |
Reimplemented from smacc2::SmaccClientBehavior.
|
overridevirtual |
Reimplemented from smacc2::SmaccClientBehavior.
|
overridevirtual |
Reimplemented from smacc2::SmaccClientBehavior.
Definition at line 41 of file cb_timer_countdown_once.cpp.
|
inline |
Definition at line 31 of file cb_timer_countdown_once.hpp.
References postCountDownEvent_.
|
inline |
Definition at line 31 of file cb_timer_countdown_once.hpp.
References postCountDownEvent_.
|
inline |
Definition at line 39 of file cb_timer_countdown_once.hpp.
References smacc2::ISmaccStateMachine::createSignalConnection(), smacc2::ISmaccClientBehavior::getStateMachine(), and onTimerTick_.

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

|
private |
Definition at line 50 of file cb_timer_countdown_once.hpp.
Referenced by onClientTimerTickCallback(), and onTimerTick().
|
private |
Definition at line 49 of file cb_timer_countdown_once.hpp.
Referenced by onClientTimerTickCallback(), and onOrthogonalAllocation().
|
private |
Definition at line 45 of file cb_timer_countdown_once.hpp.
Referenced by onClientTimerTickCallback().
|
private |
Definition at line 46 of file cb_timer_countdown_once.hpp.
Referenced by onClientTimerTickCallback().
|
private |
Definition at line 48 of file cb_timer_countdown_once.hpp.
Referenced by onEntry().