SMACC
|
#include <cb_timer_countdown_once.h>
Public Member Functions | |
CbTimerCountdownOnce (uint64_t triggerTickCount) | |
virtual void | onEntry () override |
virtual void | onExit () override |
template<typename TOrthogonal , typename TSourceObject > | |
void | onOrthogonalAllocation () |
template<typename T > | |
boost::signals2::connection | onTimerTick (void(T::*callback)(), T *object) |
virtual void | onEntry () override |
virtual void | onExit () override |
Public Member Functions inherited from smacc::ISmaccClientBehavior | |
ISmaccClientBehavior () | |
virtual | ~ISmaccClientBehavior () |
ISmaccStateMachine * | getStateMachine () |
std::string | getName () const |
template<typename SmaccClientType > | |
void | requiresClient (SmaccClientType *&storage) |
template<typename SmaccComponentType > | |
void | requiresComponent (SmaccComponentType *&storage) |
ros::NodeHandle | getNode () |
Private Member Functions | |
void | onClientTimerTickCallback () |
Private Attributes | |
uint64_t | tickCounter_ |
uint64_t | tickTriggerCount_ |
ClRosTimer * | timerClient_ |
std::function< void()> | postCountDownEvent_ |
smacc::SmaccSignal< void()> | onTimerTick_ |
Additional Inherited Members | |
Protected Member Functions inherited from smacc::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 | executeOnEntry () |
virtual void | executeOnExit () |
virtual void | dispose () |
Definition at line 8 of file cb_timer_countdown_once.h.
cl_ros_timer::CbTimerCountdownOnce::CbTimerCountdownOnce | ( | uint64_t | triggerTickCount | ) |
Definition at line 6 of file cb_timer_countdown_once.cpp.
|
private |
Definition at line 12 of file cb_timer_countdown_once.cpp.
References onTimerTick_, postCountDownEvent_, tickCounter_, and tickTriggerCount_.
Referenced by onEntry().
|
overridevirtual |
Reimplemented from smacc::SmaccClientBehavior.
Definition at line 23 of file cb_timer_countdown_once.cpp.
References onClientTimerTickCallback(), cl_ros_timer::ClRosTimer::onTimerTick(), smacc::ISmaccClientBehavior::requiresClient(), and timerClient_.
|
overridevirtual |
Reimplemented from smacc::SmaccClientBehavior.
Definition at line 29 of file cb_timer_countdown_once.cpp.
|
inline |
Definition at line 17 of file cb_timer_countdown_once.h.
References postCountDownEvent_.
|
inline |
Definition at line 25 of file cb_timer_countdown_once.h.
References smacc::ISmaccStateMachine::createSignalConnection(), smacc::ISmaccClientBehavior::getStateMachine(), and onTimerTick_.
|
private |
Definition at line 36 of file cb_timer_countdown_once.h.
Referenced by onClientTimerTickCallback(), and onTimerTick().
|
private |
Definition at line 35 of file cb_timer_countdown_once.h.
Referenced by onClientTimerTickCallback(), and onOrthogonalAllocation().
|
private |
Definition at line 31 of file cb_timer_countdown_once.h.
Referenced by onClientTimerTickCallback().
|
private |
Definition at line 32 of file cb_timer_countdown_once.h.
Referenced by onClientTimerTickCallback().
|
private |
Definition at line 34 of file cb_timer_countdown_once.h.
Referenced by onEntry().