![]() |
4S Device Communication Module Collection
Version 0.6-SNAPSHOT
Full documentation of the modules in the 4SDC collection (aimed at 4SDC module developers)
|
|
The MsgCallBack class is an internal class to the message system. More...
#include <msgcallback.h>
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... | |
![]() | |
Handle (void) | |
Default constructor. More... | |
Handle (Handle &ref) | |
Copy constructor for handle object. More... | |
Handle (const Handle &ref) | |
Copy constructor for handle object. More... | |
Handle & | operator= (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 Handle & | broadCastHandle (void) |
Generic broadcast handle. More... | |
static Handle & | null (void) |
The null handle. More... | |
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.
|
pure virtual |
This function is called with a shared pointer to the message that is being processed.
baseMsg | The message that should be forwarded |
Implemented in FSYS::MsgCallBackT< T >, FSYS::MsgCallBackT< DisconnectIndicationMsg >, FSYS::MsgCallBackT< TMsg >, FSYS::MsgCallBackT< MsgDestroy >, FSYS::MsgCallBackT< PHDDataTransferMsg >, FSYS::MsgCallBackT< fsdc::Core::UnRegisterDataType >, FSYS::MsgCallBackT< PHDConnectIndicationUSBMsg >, FSYS::MsgCallBackT< PHDRegisterDatatypeMsg >, FSYS::MsgCallBackT< MsgGoingDown >, FSYS::MsgCallBackT< PHDDisconnectMsg >, FSYS::MsgCallBackT< PHDUnregisterDatatypeMsg >, FSYS::MsgCallBackT< MsgSystemReady >, FSYS::MsgCallBackT< FSYS::MsgDestroy >, FSYS::MsgCallBackT< fsdc::Core::RegisterDataType >, FSYS::MsgCallBackT< ReceiveApduMsg >, FSYS::MsgCallBackT< ConnectIndicationMsg >, FSYS::MsgCallBackT< PHDConnectIndicationBluetoothMsg >, FSYS::MsgCallBackT< PHDDisconnectIndicationMsg >, FSYS::MsgCallBackT< PHDConnectIndicationMsg >, FSYS::MsgCallBackT< FSYS::MsgGroupReady >, and FSYS::MsgCallBackT< PHDConnectIndicationZigBeeMsg >.