SMACC2
|
#include <cb_attach_object.hpp>
Public Member Functions | |
CbAttachObject (std::string targetObjectName) | |
CbAttachObject () | |
virtual void | onEntry () override |
virtual void | onExit () override |
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 () |
ISmaccStateMachine * | getStateMachine () |
std::string | getName () const |
template<typename SmaccClientType > | |
void | requiresClient (SmaccClientType *&storage) |
template<typename SmaccComponentType > | |
void | requiresComponent (SmaccComponentType *&storage) |
Public Attributes | |
std::string | targetObjectName_ |
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 () |
ISmaccState * | getCurrentState () |
virtual void | dispose () |
virtual rclcpp::Node::SharedPtr | getNode () |
virtual rclcpp::Logger | getLogger () |
Definition at line 28 of file cb_attach_object.hpp.
cl_move_group_interface::CbAttachObject::CbAttachObject | ( | std::string | targetObjectName | ) |
Definition at line 26 of file cb_attach_object.cpp.
cl_move_group_interface::CbAttachObject::CbAttachObject | ( | ) |
Definition at line 30 of file cb_attach_object.cpp.
|
overridevirtual |
Reimplemented from smacc2::ISmaccClientBehavior.
Definition at line 32 of file cb_attach_object.cpp.
References cl_move_group_interface::CpGraspingComponent::currentAttachedObjectName, cl_move_group_interface::CpGraspingComponent::fingerTipNames, cl_move_group_interface::CpGraspingComponent::getGraspingObject(), smacc2::ISmaccClientBehavior::getLogger(), smacc2::ISmaccClientBehavior::getName(), smacc2::ISmaccClientBehavior::getNode(), cl_move_group_interface::CpGraspingComponent::gripperLink_, cl_move_group_interface::ClMoveGroup::moveGroupClientInterface, cl_move_group_interface::ClMoveGroup::planningSceneInterface, smacc2::SmaccAsyncClientBehavior::postFailureEvent(), smacc2::SmaccAsyncClientBehavior::postSuccessEvent(), smacc2::ISmaccClientBehavior::requiresClient(), smacc2::ISmaccClientBehavior::requiresComponent(), and targetObjectName_.
|
overridevirtual |
Reimplemented from smacc2::ISmaccClientBehavior.
Definition at line 71 of file cb_attach_object.cpp.
std::string cl_move_group_interface::CbAttachObject::targetObjectName_ |
Definition at line 39 of file cb_attach_object.hpp.
Referenced by onEntry().