SMACC2
|
#include <cb_wait_topic_message.hpp>
Protected Attributes | |
bool | success = false |
rclcpp::Subscription< TMessage >::SharedPtr | sub_ |
std::function< bool(const TMessage &)> | guardFn_ |
std::string | topicname_ |
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 36 of file cb_wait_topic_message.hpp.
|
inline |
Definition at line 39 of file cb_wait_topic_message.hpp.
References smacc2::client_behaviors::CbWaitTopicMessage< TMessage >::guardFn_, and smacc2::client_behaviors::CbWaitTopicMessage< TMessage >::topicname_.
|
inlinevirtual |
Definition at line 46 of file cb_wait_topic_message.hpp.
|
inlineoverridevirtual |
Reimplemented from smacc2::ISmaccClientBehavior.
Definition at line 48 of file cb_wait_topic_message.hpp.
References smacc2::ISmaccClientBehavior::getLogger(), smacc2::ISmaccClientBehavior::getNode(), smacc2::client_behaviors::CbWaitTopicMessage< TMessage >::onMessageReceived(), smacc2::client_behaviors::CbWaitTopicMessage< TMessage >::sub_, and smacc2::client_behaviors::CbWaitTopicMessage< TMessage >::topicname_.
|
inline |
Definition at line 69 of file cb_wait_topic_message.hpp.
References smacc2::ISmaccClientBehavior::getLogger(), smacc2::client_behaviors::CbWaitTopicMessage< TMessage >::guardFn_, smacc2::SmaccAsyncClientBehavior::postSuccessEvent(), and smacc2::client_behaviors::CbWaitTopicMessage< TMessage >::success.
Referenced by smacc2::client_behaviors::CbWaitTopicMessage< TMessage >::onEntry().
|
protected |
Definition at line 82 of file cb_wait_topic_message.hpp.
Referenced by smacc2::client_behaviors::CbWaitTopicMessage< TMessage >::CbWaitTopicMessage(), and smacc2::client_behaviors::CbWaitTopicMessage< TMessage >::onMessageReceived().
|
protected |
Definition at line 81 of file cb_wait_topic_message.hpp.
Referenced by smacc2::client_behaviors::CbWaitTopicMessage< TMessage >::onEntry().
|
protected |
Definition at line 80 of file cb_wait_topic_message.hpp.
Referenced by smacc2::client_behaviors::CbWaitTopicMessage< TMessage >::onMessageReceived().
|
protected |
Definition at line 83 of file cb_wait_topic_message.hpp.
Referenced by smacc2::client_behaviors::CbWaitTopicMessage< TMessage >::CbWaitTopicMessage(), and smacc2::client_behaviors::CbWaitTopicMessage< TMessage >::onEntry().