SMACC2
Loading...
Searching...
No Matches
cl_moveit2z::ClMoveit2z Class Reference

#include <cl_moveit2z.hpp>

Inheritance diagram for cl_moveit2z::ClMoveit2z:
Inheritance graph
Collaboration diagram for cl_moveit2z::ClMoveit2z:
Collaboration graph

Public Member Functions

 ClMoveit2z (std::string groupName)
 
 ClMoveit2z (const moveit::planning_interface::MoveGroupInterface::Options &options)
 
 ~ClMoveit2z () override
 
template<typename TOrthogonal , typename TClient >
void onComponentInitialization ()
 
const moveit::planning_interface::MoveGroupInterface::Options & getOptions () const
 
- Public Member Functions inherited from smacc2::ISmaccClient
 ISmaccClient ()
 
virtual ~ISmaccClient ()
 
 ISmaccClient (const ISmaccClient &)=delete
 
ISmaccClient & operator= (const ISmaccClient &)=delete
 
 ISmaccClient (ISmaccClient &&)=delete
 
ISmaccClient & operator= (ISmaccClient &&)=delete
 
virtual void onInitialize ()
 
virtual std::string getName () const
 
template<typename TComponent >
TComponent * getComponent ()
 
template<typename TComponent >
TComponent * getComponent (const std::string &name)
 
template<typename TComponent >
TComponent * getComponent (int index)
 
virtual smacc2::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)
 
const std::vector< std::shared_ptr< ISmaccComponent > > & iterateComponents () const
 
template<typename EventType >
void postEvent (const EventType &ev)
 
template<typename EventType >
void postEvent ()
 

Private Attributes

moveit::planning_interface::MoveGroupInterface::Options options_
 

Additional Inherited Members

- Protected Member Functions inherited from smacc2::ISmaccClient
template<typename TOrthogonal , typename TClient >
void onComponentInitialization ()
 
template<typename TOrthogonal , typename TSourceObject >
void onStateOrthogonalAllocation ()
 
template<typename SmaccComponentType , typename TOrthogonal , typename TClient , typename... TArgs>
SmaccComponentType * createComponent (const TArgs &... targs)
 
template<typename SmaccComponentType , typename TOrthogonal , typename TClient , typename... TArgs>
SmaccComponentType * createNamedComponent (const std::string &name, const TArgs &... targs)
 
rclcpp::Node::SharedPtr getNode ()
 
rclcpp::Logger getLogger ()
 
- Protected Attributes inherited from smacc2::ISmaccClient
std::map< ComponentKey, std::shared_ptr< smacc2::ISmaccComponent > > components_
 

Detailed Description

Definition at line 29 of file cl_moveit2z.hpp.

Constructor & Destructor Documentation

◆ ClMoveit2z() [1/2]

cl_moveit2z::ClMoveit2z::ClMoveit2z ( std::string groupName)

Definition at line 49 of file cl_moveit2z.cpp.

49: options_(groupName) {}
moveit::planning_interface::MoveGroupInterface::Options options_

◆ ClMoveit2z() [2/2]

cl_moveit2z::ClMoveit2z::ClMoveit2z ( const moveit::planning_interface::MoveGroupInterface::Options & options)

Definition at line 51 of file cl_moveit2z.cpp.

52: options_(options)
53{
54}

◆ ~ClMoveit2z()

cl_moveit2z::ClMoveit2z::~ClMoveit2z ( )
override

Definition at line 57 of file cl_moveit2z.cpp.

57{}

Member Function Documentation

◆ getOptions()

const moveit::planning_interface::MoveGroupInterface::Options & cl_moveit2z::ClMoveit2z::getOptions ( ) const
inline

Definition at line 45 of file cl_moveit2z.hpp.

46 {
47 return options_;
48 }

References options_.

◆ onComponentInitialization()

template<typename TOrthogonal , typename TClient >
void cl_moveit2z::ClMoveit2z::onComponentInitialization ( )
inline

Definition at line 39 of file cl_moveit2z.hpp.

References smacc2::ISmaccClient::createComponent(), and options_.

Here is the call graph for this function:

Member Data Documentation

◆ options_

moveit::planning_interface::MoveGroupInterface::Options cl_moveit2z::ClMoveit2z::options_
private

Definition at line 51 of file cl_moveit2z.hpp.

Referenced by getOptions(), and onComponentInitialization().


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