4S Device Communication Module Collection  Version 0.6-SNAPSHOT
Full documentation of the modules in the 4SDC collection (aimed at 4SDC module developers)
FSYS::MsgCallBack Class Referenceabstract

The MsgCallBack class is an internal class to the message system. More...

#include <msgcallback.h>

+ Inheritance diagram for FSYS::MsgCallBack:
+ Collaboration diagram for FSYS::MsgCallBack:

Public Member Functions

 MsgCallBack (void)
 Default constructor.
 
virtual void callBack (std::shared_ptr< BaseMsg > &baseMsg)=0
 Call back function that evantually maps to receive(T) More...
 
- Public Member Functions inherited from FSYS::Handle
 Handle (void)
 Default constructor. More...
 
 Handle (Handle &ref)
 Copy constructor for handle object. More...
 
 Handle (const Handle &ref)
 Copy constructor for handle object. More...
 
Handleoperator= (Handle const &theOtherOne)
 
bool operator== (Handle const &compareTo) const
 Equality comparator. More...
 
bool operator!= (Handle const &compareTo) const
 Not equalify operator. More...
 
bool operator> (Handle const &compareTo) const
 Greater than operator ('>') More...
 
bool operator< (Handle const &compareTo) const
 Less than operator ('<') More...
 

Additional Inherited Members

- Static Public Member Functions inherited from FSYS::Handle
static HandlebroadCastHandle (void)
 Generic broadcast handle. More...
 
static Handlenull (void)
 The null handle. More...
 

Detailed Description

Warning
Do NOT use this class unless you are coding the message system it self. Use the MsgReceiver class instead
See also
MsgReceiver

The MsgCallBack class is the base class that gets registered as listening on a specific message type, it contains a single virtual function which is the one that is called from the queue when the message is taken of the queue.

Member Function Documentation


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