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)
 
virtual ~ClMoveit2z ()
 
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 ()
 
virtual void onInitialize ()
 
virtual std::string getName () const
 
template<typename TComponent >
TComponent * getComponent ()
 
template<typename TComponent >
TComponent * getComponent (std::string name)
 
template<typename TComponent >
TComponent * getComponent (int index)
 
virtual smacc2::introspection::TypeInfo::Ptr getType ()
 
ISmaccStateMachinegetStateMachine ()
 
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 (TArgs... targs)
 
template<typename SmaccComponentType , typename TOrthogonal , typename TClient , typename... TArgs>
SmaccComponentType * createNamedComponent (std::string name, 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 26 of file cl_moveit2z.cpp.

26: 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 28 of file cl_moveit2z.cpp.

29: options_(options)
30{
31}

◆ ~ClMoveit2z()

cl_moveit2z::ClMoveit2z::~ClMoveit2z ( )
virtual

Definition at line 34 of file cl_moveit2z.cpp.

34{}

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: