SMACC2
|
#include <cb_timer_countdown_loop.hpp>
Public Member Functions | |
CbTimerCountdownLoop (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) |
CbTimerCountdownLoop (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 | tickTriggerCount_ |
unsigned long | tickCounter_ |
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_loop.hpp.
cl_ros_timer::CbTimerCountdownLoop::CbTimerCountdownLoop | ( | unsigned long | 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::SmaccClientBehavior.
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::SmaccClientBehavior.
|
overridevirtual |
Reimplemented from smacc2::SmaccClientBehavior.
|
overridevirtual |
Reimplemented from smacc2::SmaccClientBehavior.
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_.
|
inline |
Definition at line 32 of file cb_timer_countdown_loop.hpp.
References postCountDownEvent_.
|
inline |
Definition at line 39 of file cb_timer_countdown_loop.hpp.
References smacc2::ISmaccStateMachine::createSignalConnection(), smacc2::ISmaccClientBehavior::getStateMachine(), and onTimerTick_.
|
inline |
Definition at line 40 of file cb_timer_countdown_loop.hpp.
References smacc2::ISmaccStateMachine::createSignalConnection(), smacc2::ISmaccClientBehavior::getStateMachine(), and onTimerTick_.
|
private |
Definition at line 50 of file cb_timer_countdown_loop.hpp.
Referenced by onClientTimerTickCallback(), and onTimerTick().
|
private |
Definition at line 49 of file cb_timer_countdown_loop.hpp.
Referenced by onClientTimerTickCallback(), and onOrthogonalAllocation().
|
private |
Definition at line 46 of file cb_timer_countdown_loop.hpp.
Referenced by onClientTimerTickCallback().
|
private |
Definition at line 45 of file cb_timer_countdown_loop.hpp.
Referenced by onClientTimerTickCallback().
|
private |
Definition at line 48 of file cb_timer_countdown_loop.hpp.
Referenced by onEntry().