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

#include <smacc_action_client.h>

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

Public Member Functions

 ISmaccActionClient ()
 
virtual ~ISmaccActionClient ()
 
std::string getNamespace () const
 
virtual void cancelGoal ()=0
 
virtual SimpleClientGoalState getState ()=0
 
- Public Member Functions inherited from smacc::ISmaccClient
 ISmaccClient ()
 
virtual ~ISmaccClient ()
 
virtual void initialize ()
 
virtual std::string getName () const
 
template<typename EventType >
void postEvent (const EventType &ev)
 
template<typename EventType >
void postEvent ()
 
template<typename TComponent >
TComponent * getComponent ()
 
template<typename TComponent >
TComponent * getComponent (std::string name)
 
virtual smacc::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)
 

Protected Attributes

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

Additional Inherited Members

- Protected Member Functions inherited from smacc::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)
 
void setStateMachine (ISmaccStateMachine *stateMachine)
 
void setOrthogonal (ISmaccOrthogonal *orthogonal)
 

Detailed Description

Definition at line 21 of file smacc_action_client.h.

Constructor & Destructor Documentation

◆ ISmaccActionClient()

smacc::client_bases::ISmaccActionClient::ISmaccActionClient ( )

Definition at line 13 of file smacc_action_client.cpp.

14{
15}

◆ ~ISmaccActionClient()

smacc::client_bases::ISmaccActionClient::~ISmaccActionClient ( )
virtual

Definition at line 17 of file smacc_action_client.cpp.

18{
19}

Member Function Documentation

◆ cancelGoal()

virtual void smacc::client_bases::ISmaccActionClient::cancelGoal ( )
pure virtual

◆ getNamespace()

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

Definition at line 31 of file smacc_action_client.h.

32 {
33 return name_;
34 }

References name_.

Referenced by smacc::client_bases::SmaccActionClientBase< ActionType >::cancelGoal(), and smacc::client_bases::SmaccActionClientBase< ActionType >::sendGoal().

Here is the caller graph for this function:

◆ getState()

virtual SimpleClientGoalState smacc::client_bases::ISmaccActionClient::getState ( )
pure virtual

Member Data Documentation

◆ name_

std::string smacc::client_bases::ISmaccActionClient::name_
protected

Definition at line 42 of file smacc_action_client.h.

Referenced by getNamespace().


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