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

#include <cb_subscription_callback_base.hpp>

Inheritance diagram for smacc2::client_behaviors::CbSubscriptionCallbackBase< TMsg >:
Inheritance graph
Collaboration diagram for smacc2::client_behaviors::CbSubscriptionCallbackBase< TMsg >:
Collaboration graph

Public Member Functions

void onEntry () override
 
virtual void onMessageReceived (const TMsg &msg)=0
 
- Public Member Functions inherited from smacc2::SmaccClientBehavior
void onEntry () override
 
void onExit () override
 
- Public Member Functions inherited from smacc2::ISmaccClientBehavior
 ISmaccClientBehavior ()
 
virtual ~ISmaccClientBehavior ()
 
ISmaccStateMachinegetStateMachine ()
 
std::string getName () const
 
template<typename SmaccClientType >
void requiresClient (SmaccClientType *&storage)
 
template<typename SmaccComponentType >
void requiresComponent (SmaccComponentType *&storage, bool throwExceptionIfNotExist=false)
 
virtual void executeOnEntry ()
 
virtual void executeOnExit ()
 

Protected Attributes

smacc2::client_bases::SmaccSubscriberClient< TMsg > * attachedClient_ = nullptr
 

Additional Inherited Members

- Protected Member Functions inherited from smacc2::ISmaccClientBehavior
virtual void runtimeConfigure ()
 
template<typename EventType >
void postEvent (const EventType &ev)
 
template<typename EventType >
void postEvent ()
 
ISmaccStategetCurrentState ()
 
virtual void dispose ()
 
virtual rclcpp::Node::SharedPtr getNode () const
 
virtual rclcpp::Logger getLogger () const
 

Detailed Description

template<typename TMsg>
class smacc2::client_behaviors::CbSubscriptionCallbackBase< TMsg >

Definition at line 28 of file cb_subscription_callback_base.hpp.

Member Function Documentation

◆ onEntry()

template<typename TMsg >
void smacc2::client_behaviors::CbSubscriptionCallbackBase< TMsg >::onEntry ( )
inlineoverridevirtual

◆ onMessageReceived()

template<typename TMsg >
virtual void smacc2::client_behaviors::CbSubscriptionCallbackBase< TMsg >::onMessageReceived ( const TMsg msg)
pure virtual

Referenced by smacc2::client_behaviors::CbSubscriptionCallbackBase< TMsg >::onEntry().

Here is the caller graph for this function:

Member Data Documentation

◆ attachedClient_


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