Go to the source code of this file.
◆ XIO_DEFINE_PACKET
| #define XIO_DEFINE_PACKET |
( |
| PACKET_NAME__, |
|
|
| BASE_TYPE__, |
|
|
| PACKET_ID__ ) |
Value:
XIO_DEFINE_PACKET_SERIALIZE()
#define XIO_DEFINE_PACKET_CTOR(PACKET_NAME__, BASE_TYPE__, PACKET_ID__)
Definition WsfXIO_Packet.hpp:86
◆ XIO_DEFINE_PACKET_CTOR
| #define XIO_DEFINE_PACKET_CTOR |
( |
| PACKET_NAME__, |
|
|
| BASE_TYPE__, |
|
|
| PACKET_ID__ ) |
Value:typedef BASE_TYPE__ BaseType; \
static const int cPACKET_ID = PACKET_ID__; \
PACKET_NAME__(int aPacketId = cPACKET_ID) \
: BASE_TYPE__(aPacketId)
◆ XIO_DEFINE_PACKET_SERIALIZE
| #define XIO_DEFINE_PACKET_SERIALIZE |
( |
| ) |
|
Value:template<typename T> \
{ \
BaseType::Serialize(aBuff); \
DoSerialize(aBuff); \
} \
template<typename T> \
void DoSerialize(T& aBuff)
void Serialize(BUFF &aBuff, UtVec3d &aVec3)
Definition WsfXIO_SerializeTypes.hpp:217