SMACC2
|
#include <cb_navigate_next_waypoint_until_reached.hpp>
Public Member Functions | |
CbNavigateNextWaypointUntilReached (std::string goalWaypointName, std::optional< NavigateNextWaypointOptions > options=std::nullopt) | |
virtual | ~CbNavigateNextWaypointUntilReached () |
template<typename TOrthogonal , typename TSourceObject > | |
void | onOrthogonalAllocation () |
void | onEntry () override |
void | onExit () override |
void | onNavigationActionSuccess (const ClNav2Z::WrappedResult &r) override |
Public Member Functions inherited from cl_nav2z::CbNavigateNextWaypoint | |
CbNavigateNextWaypoint (std::optional< NavigateNextWaypointOptions > options=std::nullopt) | |
virtual | ~CbNavigateNextWaypoint () |
void | onEntry () override |
void | onExit () override |
Public Member Functions inherited from cl_nav2z::CbNav2ZClientBehaviorBase | |
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) |
void | requestForceFinish () |
void | executeOnEntry () override |
void | executeOnExit () override |
void | waitOnEntryThread (bool requestFinish) |
template<typename TCallbackMethod , typename T > | |
boost::signals2::connection | onSuccess (TCallbackMethod callback, T *object) |
template<typename TCallbackMethod , typename T > | |
boost::signals2::connection | onFinished (TCallbackMethod callback, T *object) |
template<typename TCallbackMethod , typename T > | |
boost::signals2::connection | onFailure (TCallbackMethod 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, bool throwExceptionIfNotExist=false) |
virtual void | onEntry () |
virtual void | onExit () |
virtual void | executeOnEntry () |
virtual void | executeOnExit () |
Private Attributes | |
std::string | goalWaypointName_ |
std::function< void()> | postEvGoalWaypointReached_ |
Definition at line 31 of file cb_navigate_next_waypoint_until_reached.hpp.
cl_nav2z::CbNavigateNextWaypointUntilReached::CbNavigateNextWaypointUntilReached | ( | std::string | goalWaypointName, |
std::optional< NavigateNextWaypointOptions > | options = std::nullopt |
||
) |
Definition at line 25 of file cb_navigate_next_waypoint_until_reached.cpp.
|
virtual |
Definition at line 31 of file cb_navigate_next_waypoint_until_reached.cpp.
|
overridevirtual |
Reimplemented from cl_nav2z::CbNavigateNextWaypoint.
Definition at line 33 of file cb_navigate_next_waypoint_until_reached.cpp.
References cl_nav2z::CbNavigateNextWaypoint::onEntry().
|
overridevirtual |
Reimplemented from cl_nav2z::CbNavigateNextWaypoint.
Definition at line 35 of file cb_navigate_next_waypoint_until_reached.cpp.
References cl_nav2z::CbNavigateNextWaypoint::onExit().
|
inlineoverridevirtual |
Reimplemented from cl_nav2z::CbNav2ZClientBehaviorBase.
Definition at line 58 of file cb_navigate_next_waypoint_until_reached.hpp.
References smacc2::ISmaccClient::getComponent(), cl_nav2z::WaypointNavigator::getCurrentWaypointIndex(), cl_nav2z::WaypointNavigator::getCurrentWaypointName(), smacc2::ISmaccClientBehavior::getLogger(), smacc2::ISmaccClientBehavior::getName(), goalWaypointName_, cl_nav2z::CbNav2ZClientBehaviorBase::nav2zClient_, cl_nav2z::CbNav2ZClientBehaviorBase::navigationResult_, postEvGoalWaypointReached_, smacc2::SmaccAsyncClientBehavior::postSuccessEvent(), and cl_nav2z::CbNavigateNextWaypoint::waypointsNavigator_.
|
inline |
Definition at line 41 of file cb_navigate_next_waypoint_until_reached.hpp.
References cl_nav2z::CbNav2ZClientBehaviorBase::nav2zClient_, postEvGoalWaypointReached_, and smacc2::ISmaccClientBehavior::requiresClient().
|
private |
Definition at line 99 of file cb_navigate_next_waypoint_until_reached.hpp.
Referenced by onNavigationActionSuccess().
|
private |
Definition at line 101 of file cb_navigate_next_waypoint_until_reached.hpp.
Referenced by onNavigationActionSuccess(), and onOrthogonalAllocation().