|
SMACC2
|
Sync behavior that forces an immediate agenda refresh. More...
#include <cb_refresh_agenda.hpp>


Public Member Functions | |
| CbRefreshAgenda ()=default | |
| virtual | ~CbRefreshAgenda ()=default |
| void | onEntry () override |
| bool | wasSuccessful () const |
| Check if refresh was successful. | |
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, ComponentRequirement requirementType=ComponentRequirement::SOFT) |
| virtual void | executeOnEntry () |
| virtual void | executeOnExit () |
Private Attributes | |
| ClGcalcli * | client_ |
| bool | success_ |
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 |
Sync behavior that forces an immediate agenda refresh.
This behavior triggers an immediate refresh of the calendar agenda without waiting for the next poll interval.
Definition at line 30 of file cb_refresh_agenda.hpp.
|
default |
|
virtualdefault |
|
overridevirtual |
Reimplemented from smacc2::ISmaccClientBehavior.
Definition at line 20 of file cb_refresh_agenda.cpp.
References client_, smacc2::ISmaccClientBehavior::getLogger(), cl_gcalcli::ClGcalcli::getPoller(), smacc2::ISmaccClientBehavior::requiresClient(), and success_.

|
inline |
Check if refresh was successful.
Definition at line 41 of file cb_refresh_agenda.hpp.
References success_.
|
private |
Definition at line 44 of file cb_refresh_agenda.hpp.
Referenced by onEntry().
|
private |
Definition at line 45 of file cb_refresh_agenda.hpp.
Referenced by onEntry(), and wasSuccessful().