SMACC2
|
#include <cb_timer_countdown_once.hpp>
Public Member Functions | |
CbTimerCountdownOnce (uint64_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) |
CbTimerCountdownOnce (uint64_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) |
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=false) |
virtual void | onEntry () |
virtual void | onExit () |
virtual void | executeOnEntry () |
virtual void | executeOnExit () |
Private Member Functions | |
void | onClientTimerTickCallback () |
void | onClientTimerTickCallback () |
Private Attributes | |
uint64_t | tickCounter_ |
uint64_t | tickTriggerCount_ |
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 22 of file cb_timer_countdown_once.hpp.
cl_ros_timer::CbTimerCountdownOnce::CbTimerCountdownOnce | ( | uint64_t | triggerTickCount | ) |
Definition at line 19 of file cb_timer_countdown_once.cpp.
cl_ros_timer::CbTimerCountdownOnce::CbTimerCountdownOnce | ( | uint64_t | 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 38 of file cb_timer_countdown_once.hpp.
References smacc2::ISmaccStateMachine::createSignalConnection(), smacc2::ISmaccClientBehavior::getStateMachine(), and onTimerTick_.
|
inline |
Definition at line 38 of file cb_timer_countdown_once.hpp.
References smacc2::ISmaccStateMachine::createSignalConnection(), smacc2::ISmaccClientBehavior::getStateMachine(), and onTimerTick_.
|
private |
Definition at line 49 of file cb_timer_countdown_once.hpp.
Referenced by onClientTimerTickCallback(), and onTimerTick().
|
private |
Definition at line 48 of file cb_timer_countdown_once.hpp.
Referenced by onClientTimerTickCallback(), and onOrthogonalAllocation().
|
private |
Definition at line 44 of file cb_timer_countdown_once.hpp.
Referenced by onClientTimerTickCallback().
|
private |
Definition at line 45 of file cb_timer_countdown_once.hpp.
Referenced by onClientTimerTickCallback().
|
private |
Definition at line 47 of file cb_timer_countdown_once.hpp.
Referenced by onEntry().