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

#include <cb_subscription_callback_base.h>

Inheritance diagram for smacc::CbSubscriptionCallbackBase< TMsg >:
Inheritance graph
Collaboration diagram for smacc::CbSubscriptionCallbackBase< TMsg >:
Collaboration graph

Public Member Functions

virtual void onEntry () override
 
virtual void onMessageReceived (const TMsg &msg)=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::SmaccSubscriberClient< TMsg > * attachedClient_ = nullptr
 

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 TMsg>
class smacc::CbSubscriptionCallbackBase< TMsg >

Definition at line 12 of file cb_subscription_callback_base.h.

Member Function Documentation

◆ onEntry()

template<typename TMsg >
virtual void smacc::CbSubscriptionCallbackBase< TMsg >::onEntry ( )
inlineoverridevirtual

◆ onMessageReceived()

template<typename TMsg >
virtual void smacc::CbSubscriptionCallbackBase< TMsg >::onMessageReceived ( const TMsg &  msg)
pure virtual

Referenced by smacc::CbSubscriptionCallbackBase< TMsg >::onEntry().

Here is the caller graph for this function:

Member Data Documentation

◆ attachedClient_

template<typename TMsg >
smacc::client_bases::SmaccSubscriberClient<TMsg>* smacc::CbSubscriptionCallbackBase< TMsg >::attachedClient_ = nullptr
protected

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