SMACC2
|
#include <cb_nav2z_client_behavior_base.hpp>
Public Member Functions | |
virtual | ~CbNav2ZClientBehaviorBase () |
template<typename TOrthogonal , typename TSourceObject > | |
void | onOrthogonalAllocation () |
Public Member Functions inherited from smacc2::SmaccAsyncClientBehavior | |
template<typename TOrthogonal , typename TSourceObject > | |
void | onOrthogonalAllocation () |
virtual | ~SmaccAsyncClientBehavior () |
template<typename TCallback , typename T > | |
boost::signals2::connection | onSuccess (TCallback callback, T *object) |
template<typename TCallback , typename T > | |
boost::signals2::connection | onFinished (TCallback callback, T *object) |
template<typename TCallback , typename T > | |
boost::signals2::connection | onFailure (TCallback callback, T *object) |
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) |
Protected Attributes | |
cl_nav2z::ClNav2Z * | moveBaseClient_ |
rclcpp_action::ResultCode | navigationResult_ |
Private Member Functions | |
void | propagateSuccessEvent (ClNav2Z::WrappedResult &) |
void | propagateFailureEvent (ClNav2Z::WrappedResult &) |
Additional Inherited Members | |
Protected Member Functions inherited from smacc2::SmaccAsyncClientBehavior | |
void | postSuccessEvent () |
void | postFailureEvent () |
virtual void | dispose () override |
bool | isShutdownRequested () |
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 28 of file cb_nav2z_client_behavior_base.hpp.
|
virtual |
Definition at line 24 of file cb_nav2z_client_behavior_base.cpp.
|
inline |
Definition at line 34 of file cb_nav2z_client_behavior_base.hpp.
References moveBaseClient_, smacc2::client_bases::SmaccActionClientBase< ActionType >::onAborted(), smacc2::client_bases::SmaccActionClientBase< ActionType >::onCancelled(), smacc2::client_bases::SmaccActionClientBase< ActionType >::onSucceeded(), propagateFailureEvent(), propagateSuccessEvent(), and smacc2::ISmaccClientBehavior::requiresClient().
|
private |
Definition at line 33 of file cb_nav2z_client_behavior_base.cpp.
References smacc2::introspection::demangleType(), smacc2::ISmaccClientBehavior::getLogger(), navigationResult_, and smacc2::SmaccAsyncClientBehavior::postFailureEvent().
Referenced by onOrthogonalAllocation().
|
private |
Definition at line 26 of file cb_nav2z_client_behavior_base.cpp.
References smacc2::introspection::demangleType(), smacc2::ISmaccClientBehavior::getLogger(), navigationResult_, and smacc2::SmaccAsyncClientBehavior::postSuccessEvent().
Referenced by onOrthogonalAllocation().
|
protected |
Definition at line 44 of file cb_nav2z_client_behavior_base.hpp.
Referenced by cl_nav2z::CbNavigateGlobalPosition::execute(), cl_nav2z::CbAbsoluteRotate::onEntry(), cl_nav2z::CbNavigateBackwards::onEntry(), cl_nav2z::CbNavigateForward::onEntry(), cl_nav2z::CbNavigateGlobalPosition::onEntry(), cl_nav2z::CbNavigateNextWaypoint::onEntry(), cl_nav2z::CbRotate::onEntry(), cl_nav2z::CbUndoPathBackwards::onEntry(), cl_nav2z::CbUndoPathBackwards::onExit(), and onOrthogonalAllocation().
|
protected |
Definition at line 46 of file cb_nav2z_client_behavior_base.hpp.
Referenced by cl_nav2z::CbUndoPathBackwards::onExit(), propagateFailureEvent(), and propagateSuccessEvent().