A protocol message is used for the serialization of the ai states for remote debugging.
More...
#include <IProtocolMessage.h>
|
| IProtocolMessage (const ProtocolId &id) |
|
const ProtocolId & | getId () const |
|
virtual void | serialize (streamContainer &out) const |
|
|
static void | addByte (streamContainer &out, uint8_t byte) |
|
static void | addBool (streamContainer &out, bool value) |
|
static void | addShort (streamContainer &out, int16_t word) |
|
static void | addInt (streamContainer &out, int32_t dword) |
|
static void | addLong (streamContainer &out, int64_t dword) |
|
static void | addFloat (streamContainer &out, float value) |
|
static void | addString (streamContainer &out, const std::string &string) |
|
static bool | readBool (streamContainer &in) |
|
static uint8_t | readByte (streamContainer &in) |
|
static int16_t | readShort (streamContainer &in) |
|
static int32_t | peekInt (const streamContainer &in) |
|
static int32_t | readInt (streamContainer &in) |
|
static int64_t | readLong (streamContainer &in) |
|
static float | readFloat (streamContainer &in) |
|
static std::string | readString (streamContainer &in) |
|
A protocol message is used for the serialization of the ai states for remote debugging.
- Note
- Message byte order is big endian
The documentation for this class was generated from the following file: