#include <SystemMessageProvider.h>
Inheritance diagram for SystemMessageProvider:
Public Types | |
enum | MessageType { AD_CHANGE, TIMER_CHANGE } |
enum | Status { OK, FAILED } |
Public Member Functions | |
MessageType | getType () |
Returns the type of SystemMessageProvider. | |
char | getChannel () |
Returns the type of SystemMessageProvider. | |
virtual int | getPayloadLength ()=0 |
Returns the size of the payload in bytes. | |
virtual Status | getPayloadBytes (char *buffer)=0 |
Copies the payload into the destination buffer. | |
virtual | ~SystemMessageProvider () |
Protected Member Functions | |
SystemMessageProvider (MessageType t, char ch) | |
Constructor, requires the MessageType is passed during initialization. | |
Protected Attributes | |
const MessageType | type |
A constant to hold the messagetype. | |
const char | channel |
A constant to hold the channel. |
|
|
|
|
|
|
|
Constructor, requires the MessageType is passed during initialization.
|
|
Returns the type of SystemMessageProvider.
|
|
Copies the payload into the destination buffer.
Implemented in ADMessageProvider. |
|
Returns the size of the payload in bytes.
Implemented in ADMessageProvider. |
|
Returns the type of SystemMessageProvider.
|
|
A constant to hold the channel.
|
|
A constant to hold the messagetype.
|