SMACC2
|
#include <cb_wait_topic.hpp>
Protected Attributes | |
std::string | topicName_ |
rclcpp::Rate | rate_ |
Additional Inherited Members | |
Protected Member Functions inherited from smacc2::SmaccAsyncClientBehavior | |
void | postSuccessEvent () |
void | postFailureEvent () |
virtual void | dispose () override |
bool | isShutdownRequested () |
onEntry is executed in a new thread. However the current state cannot be left until the onEntry thread finishes. This flag can be checked from the onEntry thread to force finishing the thread. | |
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 rclcpp::Node::SharedPtr | getNode () const |
virtual rclcpp::Logger | getLogger () const |
Definition at line 33 of file cb_wait_topic.hpp.
smacc2::client_behaviors::CbWaitTopic::CbWaitTopic | ( | std::string | topicName | ) |
Definition at line 27 of file cb_wait_topic.cpp.
|
virtual |
Definition at line 29 of file cb_wait_topic.cpp.
|
overridevirtual |
Reimplemented from smacc2::ISmaccClientBehavior.
Definition at line 31 of file cb_wait_topic.cpp.
References smacc2::ISmaccClientBehavior::getLogger(), smacc2::ISmaccClientBehavior::getName(), smacc2::ISmaccClientBehavior::getNode(), smacc2::SmaccAsyncClientBehavior::isShutdownRequested(), smacc2::SmaccAsyncClientBehavior::postFailureEvent(), smacc2::SmaccAsyncClientBehavior::postSuccessEvent(), rate_, and topicName_.
|
protected |
Definition at line 45 of file cb_wait_topic.hpp.
Referenced by onEntry().
|
protected |
Definition at line 43 of file cb_wait_topic.hpp.
Referenced by onEntry().