SMACC
Loading...
Searching...
No Matches
Public Member Functions | Protected Attributes | List of all members
cl_move_group_interface::CbMoveNamedTarget Class Reference

#include <cb_move_named_target.h>

Inheritance diagram for cl_move_group_interface::CbMoveNamedTarget:
Inheritance graph
Collaboration diagram for cl_move_group_interface::CbMoveNamedTarget:
Collaboration graph

Public Member Functions

 CbMoveNamedTarget (std::string namedtarget)
 
virtual void onEntry () override
 
virtual void onExit () override
 
std::map< std::string, double > getNamedTargetValues ()
 
- 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

ClMoveGroupmovegroupClient_
 
std::string namedTarget_
 

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_named_target.h.

Constructor & Destructor Documentation

◆ CbMoveNamedTarget()

cl_move_group_interface::CbMoveNamedTarget::CbMoveNamedTarget ( std::string  namedtarget)

Definition at line 11 of file cb_move_named_target.cpp.

12: namedTarget_(namedtarget)
13{
14}

Member Function Documentation

◆ getNamedTargetValues()

std::map< std::string, double > cl_move_group_interface::CbMoveNamedTarget::getNamedTargetValues ( )

Definition at line 26 of file cb_move_named_target.cpp.

27{
28 return movegroupClient_->moveGroupClientInterface.getNamedTargetValues(this->namedTarget_);
29}
moveit::planning_interface::MoveGroupInterface moveGroupClientInterface
Definition: cl_movegroup.h:74

References movegroupClient_, cl_move_group_interface::ClMoveGroup::moveGroupClientInterface, and namedTarget_.

◆ onEntry()

void cl_move_group_interface::CbMoveNamedTarget::onEntry ( )
overridevirtual

◆ onExit()

void cl_move_group_interface::CbMoveNamedTarget::onExit ( )
overridevirtual

Reimplemented from smacc::ISmaccClientBehavior.

Definition at line 22 of file cb_move_named_target.cpp.

23{
24}

Member Data Documentation

◆ movegroupClient_

ClMoveGroup* cl_move_group_interface::CbMoveNamedTarget::movegroupClient_
protected

Definition at line 20 of file cb_move_named_target.h.

Referenced by getNamedTargetValues(), and onEntry().

◆ namedTarget_

std::string cl_move_group_interface::CbMoveNamedTarget::namedTarget_
protected

Definition at line 21 of file cb_move_named_target.h.

Referenced by getNamedTargetValues(), and onEntry().


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