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