SMACC
Loading...
Searching...
No Matches
Public Member Functions | Protected Attributes | Private Member Functions | List of all members
cl_move_base_z::CbMoveBaseClientBehaviorBase Class Reference

#include <cb_move_base_client_behavior_base.h>

Inheritance diagram for cl_move_base_z::CbMoveBaseClientBehaviorBase:
Inheritance graph
Collaboration diagram for cl_move_base_z::CbMoveBaseClientBehaviorBase:
Collaboration graph

Public Member Functions

template<typename TOrthogonal , typename TSourceObject >
void onOrthogonalAllocation ()
 
- Public Member Functions inherited from smacc::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 smacc::ISmaccClientBehavior
 ISmaccClientBehavior ()
 
virtual ~ISmaccClientBehavior ()
 
ISmaccStateMachinegetStateMachine ()
 
std::string getName () const
 
template<typename SmaccClientType >
void requiresClient (SmaccClientType *&storage)
 
template<typename SmaccComponentType >
void requiresComponent (SmaccComponentType *&storage)
 
ros::NodeHandle getNode ()
 

Protected Attributes

ClMoveBaseZmoveBaseClient_
 
ros::Publisher visualizationMarkersPub_
 

Private Member Functions

void propagateSuccessEvent (ClMoveBaseZ::ResultConstPtr &r)
 
void propagateFailureEvent (ClMoveBaseZ::ResultConstPtr &r)
 

Additional Inherited Members

- Protected Member Functions inherited from smacc::SmaccAsyncClientBehavior
virtual void executeOnEntry () override
 
virtual void executeOnExit () override
 
void postSuccessEvent ()
 
void postFailureEvent ()
 
virtual void dispose () override
 
- Protected Member Functions inherited from smacc::ISmaccClientBehavior
virtual void runtimeConfigure ()
 
virtual void onEntry ()
 
virtual void onExit ()
 
template<typename EventType >
void postEvent (const EventType &ev)
 
template<typename EventType >
void postEvent ()
 
ISmaccStategetCurrentState ()
 
virtual void executeOnEntry ()
 
virtual void executeOnExit ()
 
virtual void dispose ()
 

Detailed Description

Definition at line 17 of file cb_move_base_client_behavior_base.h.

Member Function Documentation

◆ onOrthogonalAllocation()

template<typename TOrthogonal , typename TSourceObject >
void cl_move_base_z::CbMoveBaseClientBehaviorBase::onOrthogonalAllocation ( )
inline

Definition at line 21 of file cb_move_base_client_behavior_base.h.

22 {
23 smacc::SmaccAsyncClientBehavior::onOrthogonalAllocation<TOrthogonal, TSourceObject>();
27
28 ros::NodeHandle nh;
29 visualizationMarkersPub_ = nh.advertise<visualization_msgs::MarkerArray>("move_base_z/visualization_markers", 1);
30 }
void requiresClient(SmaccClientType *&storage)
boost::signals2::connection onAborted(void(T::*callback)(ResultConstPtr &), T *object)
boost::signals2::connection onSucceeded(void(T::*callback)(ResultConstPtr &), T *object)

References moveBaseClient_, smacc::client_bases::SmaccActionClientBase< ActionType >::onAborted(), smacc::client_bases::SmaccActionClientBase< ActionType >::onSucceeded(), propagateFailureEvent(), propagateSuccessEvent(), smacc::ISmaccClientBehavior::requiresClient(), and visualizationMarkersPub_.

Here is the call graph for this function:

◆ propagateFailureEvent()

void cl_move_base_z::CbMoveBaseClientBehaviorBase::propagateFailureEvent ( ClMoveBaseZ::ResultConstPtr r)
private

Definition at line 14 of file cb_move_base_client_behavior_base.cpp.

References smacc::SmaccAsyncClientBehavior::postFailureEvent().

Referenced by onOrthogonalAllocation().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ propagateSuccessEvent()

void cl_move_base_z::CbMoveBaseClientBehaviorBase::propagateSuccessEvent ( ClMoveBaseZ::ResultConstPtr r)
private

Definition at line 10 of file cb_move_base_client_behavior_base.cpp.

References smacc::SmaccAsyncClientBehavior::postSuccessEvent().

Referenced by onOrthogonalAllocation().

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ moveBaseClient_

ClMoveBaseZ* cl_move_base_z::CbMoveBaseClientBehaviorBase::moveBaseClient_
protected

◆ visualizationMarkersPub_

ros::Publisher cl_move_base_z::CbMoveBaseClientBehaviorBase::visualizationMarkersPub_
protected

The documentation for this class was generated from the following files: