SMACC
Loading...
Searching...
No Matches
Public Member Functions | Protected Attributes | List of all members
smacc::CbServiceServerCallbackBase< TService > Class Template Referenceabstract

#include <cb_service_server_callback_base.h>

Inheritance diagram for smacc::CbServiceServerCallbackBase< TService >:
Inheritance graph
Collaboration diagram for smacc::CbServiceServerCallbackBase< TService >:
Collaboration graph

Public Member Functions

virtual void onEntry () override
 
virtual void onServiceRequestReceived (typename TService::Request &req, std::shared_ptr< typename TService::Response > res)=0
 
- Public Member Functions inherited from smacc::SmaccClientBehavior
virtual void onEntry () override
 
virtual void onExit () override
 
- Public Member Functions inherited from smacc::ISmaccClientBehavior
 ISmaccClientBehavior ()
 
virtual ~ISmaccClientBehavior ()
 
ISmaccStateMachinegetStateMachine ()
 
std::string getName () const
 
template<typename SmaccClientType >
void requiresClient (SmaccClientType *&storage)
 
template<typename SmaccComponentType >
void requiresComponent (SmaccComponentType *&storage)
 
ros::NodeHandle getNode ()
 

Protected Attributes

smacc::client_bases::SmaccServiceServerClient< TService > * attachedClient_
 

Additional Inherited Members

- Protected Member Functions inherited from smacc::ISmaccClientBehavior
virtual void runtimeConfigure ()
 
virtual void onEntry ()
 
virtual void onExit ()
 
template<typename EventType >
void postEvent (const EventType &ev)
 
template<typename EventType >
void postEvent ()
 
ISmaccStategetCurrentState ()
 
virtual void executeOnEntry ()
 
virtual void executeOnExit ()
 
virtual void dispose ()
 

Detailed Description

template<typename TService>
class smacc::CbServiceServerCallbackBase< TService >

Definition at line 6 of file cb_service_server_callback_base.h.

Member Function Documentation

◆ onEntry()

template<typename TService >
virtual void smacc::CbServiceServerCallbackBase< TService >::onEntry ( )
inlineoverridevirtual

Reimplemented from smacc::SmaccClientBehavior.

Definition at line 8 of file cb_service_server_callback_base.h.

8 {
10 attachedClient_->onServiceRequestReceived(
12 }
smacc::client_bases::SmaccServiceServerClient< TService > * attachedClient_
virtual void onServiceRequestReceived(typename TService::Request &req, std::shared_ptr< typename TService::Response > res)=0
void requiresClient(SmaccClientType *&storage)

References smacc::CbServiceServerCallbackBase< TService >::attachedClient_, smacc::CbServiceServerCallbackBase< TService >::onServiceRequestReceived(), and smacc::ISmaccClientBehavior::requiresClient().

Here is the call graph for this function:

◆ onServiceRequestReceived()

template<typename TService >
virtual void smacc::CbServiceServerCallbackBase< TService >::onServiceRequestReceived ( typename TService::Request &  req,
std::shared_ptr< typename TService::Response >  res 
)
pure virtual

Referenced by smacc::CbServiceServerCallbackBase< TService >::onEntry().

Here is the caller graph for this function:

Member Data Documentation

◆ attachedClient_

template<typename TService >
smacc::client_bases::SmaccServiceServerClient<TService>* smacc::CbServiceServerCallbackBase< TService >::attachedClient_
protected
Initial value:
=
nullptr

Definition at line 18 of file cb_service_server_callback_base.h.

Referenced by smacc::CbServiceServerCallbackBase< TService >::onEntry().


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