SMACC2
Loading...
Searching...
No Matches
Public Member Functions | Protected Attributes | List of all members
smacc2::client_bases::ISmaccActionClient Class Referenceabstract

#include <smacc_action_client.hpp>

Inheritance diagram for smacc2::client_bases::ISmaccActionClient:
Inheritance graph
Collaboration diagram for smacc2::client_bases::ISmaccActionClient:
Collaboration graph

Public Member Functions

 ISmaccActionClient ()
 
virtual ~ISmaccActionClient ()
 
std::string getNamespace () const
 
virtual bool cancelGoal ()=0
 
virtual std::shared_ptr< rclcpp_action::ClientBase > getClientBase ()=0
 
virtual std::string getName () 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)
 
template<typename EventType >
void postEvent (const EventType &ev)
 
template<typename EventType >
void postEvent ()
 

Protected Attributes

std::string name_
 
- Protected Attributes inherited from smacc2::ISmaccClient
std::map< ComponentKey, std::shared_ptr< smacc2::ISmaccComponent > > components_
 

Additional Inherited Members

- Protected Member Functions inherited from smacc2::ISmaccClient
template<typename TOrthogonal , typename TSourceObject >
void onOrthogonalAllocation ()
 
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 ()
 

Detailed Description

Definition at line 34 of file smacc_action_client.hpp.

Constructor & Destructor Documentation

◆ ISmaccActionClient()

smacc2::client_bases::ISmaccActionClient::ISmaccActionClient ( )

Definition at line 26 of file smacc_action_client.cpp.

26{}

◆ ~ISmaccActionClient()

smacc2::client_bases::ISmaccActionClient::~ISmaccActionClient ( )
virtual

Definition at line 28 of file smacc_action_client.cpp.

28{}

Member Function Documentation

◆ cancelGoal()

virtual bool smacc2::client_bases::ISmaccActionClient::cancelGoal ( )
pure virtual

◆ getClientBase()

virtual std::shared_ptr< rclcpp_action::ClientBase > smacc2::client_bases::ISmaccActionClient::getClientBase ( )
pure virtual

Implemented in smacc2::client_bases::SmaccActionClientBase< ActionType >.

Referenced by smacc2::client_behaviors::CbWaitActionServer::onEntry().

Here is the caller graph for this function:

◆ getName()

virtual std::string smacc2::client_bases::ISmaccActionClient::getName ( ) const
inlinevirtual

◆ getNamespace()

std::string smacc2::client_bases::ISmaccActionClient::getNamespace ( ) const
inline

Definition at line 44 of file smacc_action_client.hpp.

44{ return name_; }

References name_.

Referenced by smacc2::client_bases::SmaccActionClientBase< ActionType >::cancelGoal().

Here is the caller graph for this function:

Member Data Documentation

◆ name_

std::string smacc2::client_bases::ISmaccActionClient::name_
protected

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