|
SMACC
|
#include <smacc_service_client.h>


Public Member Functions | |
| SmaccServiceClient () | |
| SmaccServiceClient (std::string service_name) | |
| virtual void | initialize () override |
| bool | call (ServiceType &srvreq) |
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 () |
| 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) |
Public Attributes | |
| boost::optional< std::string > | serviceName_ |
Protected Attributes | |
| ros::NodeHandle | nh_ |
| ros::ServiceClient | client_ |
| bool | initialized_ |
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) |
Definition at line 17 of file smacc_service_client.h.
|
inline |
Definition at line 22 of file smacc_service_client.h.
References smacc::client_bases::SmaccServiceClient< ServiceType >::initialized_.
|
inline |
Definition at line 26 of file smacc_service_client.h.
References smacc::client_bases::SmaccServiceClient< ServiceType >::initialized_, and smacc::client_bases::SmaccServiceClient< ServiceType >::serviceName_.
|
inline |
Definition at line 50 of file smacc_service_client.h.
References smacc::client_bases::SmaccServiceClient< ServiceType >::client_.
|
inlineoverridevirtual |
Reimplemented from smacc::ISmaccClient.
Definition at line 32 of file smacc_service_client.h.
References smacc::client_bases::SmaccServiceClient< ServiceType >::client_, smacc::ISmaccClient::getName(), smacc::client_bases::SmaccServiceClient< ServiceType >::initialized_, smacc::client_bases::SmaccServiceClient< ServiceType >::nh_, and smacc::client_bases::SmaccServiceClient< ServiceType >::serviceName_.

|
protected |
Definition at line 57 of file smacc_service_client.h.
Referenced by smacc::client_bases::SmaccServiceClient< ServiceType >::call(), and smacc::client_bases::SmaccServiceClient< ServiceType >::initialize().
|
protected |
Definition at line 58 of file smacc_service_client.h.
Referenced by smacc::client_bases::SmaccServiceClient< ServiceType >::initialize(), and smacc::client_bases::SmaccServiceClient< ServiceType >::SmaccServiceClient().
|
protected |
Definition at line 56 of file smacc_service_client.h.
Referenced by smacc::client_bases::SmaccServiceClient< ServiceType >::initialize().
| boost::optional<std::string> smacc::client_bases::SmaccServiceClient< ServiceType >::serviceName_ |
Definition at line 20 of file smacc_service_client.h.
Referenced by smacc::client_bases::SmaccServiceClient< ServiceType >::initialize(), and smacc::client_bases::SmaccServiceClient< ServiceType >::SmaccServiceClient().