SMACC
|
#include <move_base_z_client_plugin.h>
Public Types | |
typedef SmaccActionClientBase< move_base_msgs::MoveBaseAction >::ResultConstPtr | ResultConstPtr |
Public Types inherited from smacc::client_bases::SmaccActionClientBase< move_base_msgs::MoveBaseAction > | |
typedef actionlib::SimpleActionClient< move_base_msgs::MoveBaseAction > | ActionClient |
typedef actionlib::SimpleActionClient< move_base_msgs::MoveBaseAction > | GoalHandle |
typedef ActionClient::SimpleDoneCallback | SimpleDoneCallback |
typedef ActionClient::SimpleActiveCallback | SimpleActiveCallback |
typedef ActionClient::SimpleFeedbackCallback | SimpleFeedbackCallback |
Public Member Functions | |
ClMoveBaseZ (std::string moveBaseName="/move_base") | |
virtual | ~ClMoveBaseZ () |
virtual void | initialize () override |
virtual std::string | getName () const override |
Public Member Functions inherited from smacc::client_bases::SmaccActionClientBase< move_base_msgs::MoveBaseAction > | |
ACTION_DEFINITION (move_base_msgs::MoveBaseAction) | |
SmaccActionClientBase (std::string actionServerName) | |
SmaccActionClientBase () | |
virtual | ~SmaccActionClientBase () |
virtual void | initialize () override |
void | postResultEvent (ResultConstPtr result) |
void | onOrthogonalAllocation () |
boost::signals2::connection | onSucceeded (void(T::*callback)(ResultConstPtr &), T *object) |
boost::signals2::connection | onSucceeded (std::function< void(ResultConstPtr &)> callback) |
boost::signals2::connection | onAborted (void(T::*callback)(ResultConstPtr &), T *object) |
boost::signals2::connection | onAborted (std::function< void(ResultConstPtr &)> callback) |
boost::signals2::connection | onPreempted (void(T::*callback)(ResultConstPtr &), T *object) |
boost::signals2::connection | onPreempted (std::function< void(ResultConstPtr &)> callback) |
boost::signals2::connection | onRejected (void(T::*callback)(ResultConstPtr &), T *object) |
boost::signals2::connection | onRejected (std::function< void(ResultConstPtr &)> callback) |
virtual void | cancelGoal () override |
virtual SimpleClientGoalState | getState () override |
void | sendGoal (Goal &goal) |
Public Member Functions inherited from smacc::client_bases::ISmaccActionClient | |
ISmaccActionClient () | |
virtual | ~ISmaccActionClient () |
std::string | getNamespace () const |
virtual void | cancelGoal ()=0 |
virtual SimpleClientGoalState | getState ()=0 |
Public Member Functions inherited from smacc::ISmaccClient | |
ISmaccClient () | |
virtual | ~ISmaccClient () |
virtual void | initialize () |
virtual std::string | getName () const |
template<typename EventType > | |
void | postEvent (const EventType &ev) |
template<typename EventType > | |
void | postEvent () |
template<typename TComponent > | |
TComponent * | getComponent () |
template<typename TComponent > | |
TComponent * | getComponent (std::string name) |
virtual smacc::introspection::TypeInfo::Ptr | getType () |
ISmaccStateMachine * | getStateMachine () |
template<typename TSmaccSignal , typename T > | |
void | connectSignal (TSmaccSignal &signal, void(T::*callback)(), T *object) |
template<typename SmaccClientType > | |
void | requiresClient (SmaccClientType *&storage) |
void | getComponents (std::vector< std::shared_ptr< ISmaccComponent > > &components) |
Private Types | |
typedef SmaccActionClientBase< move_base_msgs::MoveBaseAction > | Base |
Additional Inherited Members | |
Static Public Member Functions inherited from smacc::client_bases::SmaccActionClientBase< move_base_msgs::MoveBaseAction > | |
static std::string | getEventLabel () |
Public Attributes inherited from smacc::client_bases::SmaccActionClientBase< move_base_msgs::MoveBaseAction > | |
std::string | name_ |
rosnamespace path More... | |
smacc::SmaccSignal< void(const ResultConstPtr &)> | onSucceeded_ |
smacc::SmaccSignal< void(const ResultConstPtr &)> | onAborted_ |
smacc::SmaccSignal< void(const ResultConstPtr &)> | onPreempted_ |
smacc::SmaccSignal< void(const ResultConstPtr &)> | onRejected_ |
std::function< void(ResultConstPtr)> | postSuccessEvent |
std::function< void(ResultConstPtr)> | postAbortedEvent |
std::function< void(ResultConstPtr)> | postPreemptedEvent |
std::function< void(ResultConstPtr)> | postRejectedEvent |
std::function< void(FeedbackConstPtr)> | postFeedbackEvent |
SimpleDoneCallback | done_cb |
SimpleActiveCallback | active_cb |
SimpleFeedbackCallback | feedback_cb |
Protected Member Functions inherited from smacc::client_bases::SmaccActionClientBase< move_base_msgs::MoveBaseAction > | |
void | onFeedback (const FeedbackConstPtr &feedback_msg) |
void | onResult (const SimpleClientGoalState &state, const ResultConstPtr &result_msg) |
Protected Member Functions inherited from smacc::ISmaccClient | |
template<typename TOrthogonal , typename TSourceObject > | |
void | onOrthogonalAllocation () |
template<typename SmaccComponentType , typename TOrthogonal , typename TClient , typename... TArgs> | |
SmaccComponentType * | createComponent (TArgs... targs) |
template<typename SmaccComponentType , typename TOrthogonal , typename TClient , typename... TArgs> | |
SmaccComponentType * | createNamedComponent (std::string name, TArgs... targs) |
void | setStateMachine (ISmaccStateMachine *stateMachine) |
void | setOrthogonal (ISmaccOrthogonal *orthogonal) |
Protected Attributes inherited from smacc::client_bases::SmaccActionClientBase< move_base_msgs::MoveBaseAction > | |
std::shared_ptr< ActionClient > | client_ |
Protected Attributes inherited from smacc::client_bases::ISmaccActionClient | |
std::string | name_ |
Protected Attributes inherited from smacc::ISmaccClient | |
std::map< ComponentKey, std::shared_ptr< smacc::ISmaccComponent > > | components_ |
Definition at line 18 of file move_base_z_client_plugin.h.
|
private |
Definition at line 20 of file move_base_z_client_plugin.h.
typedef SmaccActionClientBase<move_base_msgs::MoveBaseAction>::ResultConstPtr cl_move_base_z::ClMoveBaseZ::ResultConstPtr |
Definition at line 23 of file move_base_z_client_plugin.h.
cl_move_base_z::ClMoveBaseZ::ClMoveBaseZ | ( | std::string | moveBaseName = "/move_base" | ) |
Definition at line 12 of file move_base_z_client_plugin.cpp.
|
virtual |
Definition at line 28 of file move_base_z_client_plugin.cpp.
|
overridevirtual |
Reimplemented from smacc::ISmaccClient.
Definition at line 18 of file move_base_z_client_plugin.cpp.
|
overridevirtual |
Reimplemented from smacc::client_bases::SmaccActionClientBase< move_base_msgs::MoveBaseAction >.
Definition at line 23 of file move_base_z_client_plugin.cpp.