OpenJAUS SAE SDK  6.0.0
Public Member Functions | Protected Attributes | Friends | List of all members
openjaus::model::MessageCallback Class Reference

#include <MessageCallback.h>

Inherited by openjaus::model::MessageCallbackImpl< MessageType, CallbackClass >, openjaus::model::StaticCallbackImpl< MessageType >, and openjaus::model::TriggerCallbackImpl< CallbackClass >.

Public Member Functions

 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...
 
virtual bool processTrigger (Trigger *trigger)
 
virtual std::string toString () const
 

Protected Attributes

uint16_t id
 

Friends

OPENJAUS_EXPORT friend std::ostream & operator<< (std::ostream &output, const MessageCallback &object)
 
OPENJAUS_EXPORT friend std::ostream & operator<< (std::ostream &output, const MessageCallback *object)
 

Constructor & Destructor Documentation

◆ MessageCallback()

openjaus::model::MessageCallback::MessageCallback ( )

◆ ~MessageCallback()

openjaus::model::MessageCallback::~MessageCallback ( )
virtual

Member Function Documentation

◆ getId()

uint16_t openjaus::model::MessageCallback::getId ( ) const

◆ processTrigger()

bool openjaus::model::MessageCallback::processTrigger ( Trigger trigger)
virtual

◆ setId()

bool openjaus::model::MessageCallback::setId ( uint16_t  id)
Parameters
idThe value of the new id.

◆ toString()

std::string openjaus::model::MessageCallback::toString ( ) const
virtual

Friends And Related Function Documentation

◆ operator<< [1/2]

OPENJAUS_EXPORT friend std::ostream& operator<< ( std::ostream &  output,
const MessageCallback object 
)
friend

◆ operator<< [2/2]

OPENJAUS_EXPORT friend std::ostream& operator<< ( std::ostream &  output,
const MessageCallback object 
)
friend

Member Data Documentation

◆ id

uint16_t openjaus::model::MessageCallback::id
protected

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