|
virtual void | OnAttributeChanged (DDD_AttributeBase *attribute) |
|
void | ReadBitfield (ChunkAttribute *attr, unsigned char *msgBuf) |
|
void | ReadInt (ChunkAttribute *attr, unsigned char *msgBuf) |
|
void | ReadUInt (ChunkAttribute *attr, unsigned char *msgBuf) |
|
void | ReadDouble (ChunkAttribute *attr, unsigned char *msgBuf) |
|
void | ReadBoolean (ChunkAttribute *attr, unsigned char *msgBuf) |
|
void | ReadString (ChunkAttribute *attr, unsigned char *msgBuf) |
|
void | ReadChunk (ChunkDescription *chunk, unsigned char *msgBuf, unsigned int receivedLen) |
|
int | WriteBitfield (ChunkAttribute *attr, unsigned char *msgBuf) |
|
int | WriteInt (ChunkAttribute *attr, unsigned char *msgBuf) |
|
int | WriteUInt (ChunkAttribute *attr, unsigned char *msgBuf) |
|
int | WriteDouble (ChunkAttribute *attr, unsigned char *msgBuf) |
|
int | WriteBoolean (ChunkAttribute *attr, unsigned char *msgBuf) |
|
int | WriteString (ChunkAttribute *attr, unsigned char *msgBuf) |
|
int | WriteChunk (ChunkDescription *chunk, unsigned char *msgBuf, unsigned int maxLen) |
|
void | PrintDebugInfo (unsigned char *msgBuf, unsigned int receivedLength) |
|
virtual int BuildMessage |
( |
unsigned char * |
msgBuf, |
|
|
unsigned int |
maxMessageLength, |
|
|
unsigned int |
chunkNumber |
|
) |
| |
|
virtual |
Builds an outbound message buffer. Only implemented by ChunkProducers that send data.
- Parameters
-
msgBuf | A buffer to contain the message |
maxMessageLength | The max length of the message to build |
- Returns
- The length of the message built or -1 if no message built
Reimplemented from ChunkProducer.
A callback method that will be called when the attribute being observed changes if this observer has registered to be notified on attribute change
- Parameters
-
attribute | A pointer to the attribute that changed |
Reimplemented from ChunkProducer.
virtual void ProcessMessage |
( |
unsigned char * |
msgBuf, |
|
|
unsigned int |
receivedLength |
|
) |
| |
|
virtual |
Processes an inbound message, classifying it into chunks and then updating their associated attributes.
- Parameters
-
msgBuf | A buffer containing a message |
receivedLength | The length of the received message |
Reimplemented from ChunkProducer.
The documentation for this class was generated from the following file: