OpenJAUS SAE SDK  6.0.0
Public Member Functions | Protected Attributes | List of all members
openjaus::model::StaticCallbackImpl< MessageType > Class Template Reference

#include <StaticCallbackImpl.h>

Inherits openjaus::model::MessageCallback.

Public Member Functions

 StaticCallbackImpl ()
 
virtual ~StaticCallbackImpl ()
 
 StaticCallbackImpl (bool(*callback)(MessageType &messageRef))
 
virtual bool processTrigger (Trigger *trigger)
 
virtual std::string toString () const
 
- Public Member Functions inherited from openjaus::model::MessageCallback
 MessageCallback ()
 
virtual ~MessageCallback ()
 
uint16_t getId () const
 Accessor to get the value of id. More...
 
bool setId (uint16_t id)
 Accessor to set value of id. More...
 

Protected Attributes

bool(* callback )(MessageType &messageRef)
 
- Protected Attributes inherited from openjaus::model::MessageCallback
uint16_t id
 

Constructor & Destructor Documentation

◆ StaticCallbackImpl() [1/2]

template<class MessageType >
openjaus::model::StaticCallbackImpl< MessageType >::StaticCallbackImpl ( )

◆ ~StaticCallbackImpl()

template<class MessageType >
openjaus::model::StaticCallbackImpl< MessageType >::~StaticCallbackImpl ( )
virtual

◆ StaticCallbackImpl() [2/2]

template<class MessageType >
openjaus::model::StaticCallbackImpl< MessageType >::StaticCallbackImpl ( bool(*)(MessageType &messageRef)  callback)

Member Function Documentation

◆ processTrigger()

template<class MessageType >
bool openjaus::model::StaticCallbackImpl< MessageType >::processTrigger ( Trigger trigger)
virtual
Parameters
trigger

Reimplemented from openjaus::model::MessageCallback.

◆ toString()

template<class MessageType >
std::string openjaus::model::StaticCallbackImpl< MessageType >::toString ( ) const
virtual

Reimplemented from openjaus::model::MessageCallback.

Member Data Documentation

◆ callback

template<class MessageType >
bool(* openjaus::model::StaticCallbackImpl< MessageType >::callback) (MessageType &messageRef)
protected

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