SMACC2
Public Member Functions | Protected Attributes | List of all members
cl_move_group_interface::CbMoveNamedTarget Class Reference

#include <cb_move_named_target.hpp>

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 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 ()
 
ISmaccStateMachinegetStateMachine ()
 
std::string getName () const
 
template<typename SmaccClientType >
void requiresClient (SmaccClientType *&storage)
 
template<typename SmaccComponentType >
void requiresComponent (SmaccComponentType *&storage)
 

Protected Attributes

ClMoveGroupmovegroupClient_
 
std::string namedTarget_
 

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 ()
 
ISmaccStategetCurrentState ()
 
virtual void dispose ()
 
virtual rclcpp::Node::SharedPtr getNode ()
 
virtual rclcpp::Logger getLogger ()
 

Detailed Description

Definition at line 32 of file cb_move_named_target.hpp.

Constructor & Destructor Documentation

◆ CbMoveNamedTarget()

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

Definition at line 25 of file cb_move_named_target.cpp.

Member Function Documentation

◆ getNamedTargetValues()

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

Definition at line 35 of file cb_move_named_target.cpp.

36{
37 return movegroupClient_->moveGroupClientInterface->getNamedTargetValues(this->namedTarget_);
38}
std::shared_ptr< moveit::planning_interface::MoveGroupInterface > moveGroupClientInterface

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 smacc2::ISmaccClientBehavior.

Definition at line 33 of file cb_move_named_target.cpp.

33{}

Member Data Documentation

◆ movegroupClient_

ClMoveGroup* cl_move_group_interface::CbMoveNamedTarget::movegroupClient_
protected

Definition at line 35 of file cb_move_named_target.hpp.

Referenced by getNamedTargetValues(), and onEntry().

◆ namedTarget_

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

Definition at line 36 of file cb_move_named_target.hpp.

Referenced by getNamedTargetValues(), and onEntry().


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