gwnavruntime/channel/channelarrayblob.h Source File
Go to the documentation of this file.
10 #ifndef Navigation_ChannelArray_Blob_H
11 #define Navigation_ChannelArray_Blob_H
39 SwapEndianness(e,
self.m_type);
40 SwapEndianness(e,
self.m_leftPos);
41 SwapEndianness(e,
self.m_pathPos);
42 SwapEndianness(e,
self.m_rightPos);
43 SwapEndianness(e,
self.m_leftWidth);
44 SwapEndianness(e,
self.m_rightWidth);
47 class GateBlobBuilder :
public BaseBlobBuilder<GateBlob>
52 GateBlobBuilder(const Gate* gate) : m_gate(gate) {}
54 virtual void DoBuild();
64 KY_ROOT_BLOB_CLASS(Runtime, ChannelBlob, 0)
70 BlobArray<GateBlob> m_gates;
71 BlobArray<Vec2f> m_preChannelPolyline;
72 BlobArray<Vec2f> m_postChannelPolyline;
77 SwapEndianness(e,
self.m_gates);
78 SwapEndianness(e,
self.m_preChannelPolyline);
79 SwapEndianness(e,
self.m_postChannelPolyline);
82 class ChannelBlobBuilder :
public BaseBlobBuilder<ChannelBlob>
87 ChannelBlobBuilder(const Channel* channel) : m_channel(channel) {}
89 virtual void DoBuild();
92 const Channel* m_channel;
98 class ChannelArrayBlob
100 KY_ROOT_BLOB_CLASS(Runtime, ChannelArrayBlob, 0)
103 ChannelArrayBlob() {}
107 BlobArray<ChannelBlob> m_channelArray;
112 SwapEndianness(e,
self.m_visualDebugId);
113 SwapEndianness(e,
self.m_channelArray);
116 class ChannelArrayBlobBuilder :
public BaseBlobBuilder<ChannelArrayBlob>
121 ChannelArrayBlobBuilder(const ChannelArray* channelArray,
KyUInt32 visualDebugId) : m_channelArray(channelArray), m_visualDebugId(visualDebugId) {}
123 virtual void DoBuild();
126 const ChannelArray* m_channelArray;
#define KY_CLASS_WITHOUT_COPY(ClassName)
Define to forbid copy constructor and copy assignment.
Definition: types.h:387
Target
Enumerates the possible endianness types relative to the current platform.
Definition: endianness.h:35
Definition: gamekitcrowddispersion.h:20
unsigned int KyUInt32
Type used internally to represent an unsigned 32-bit integer.
Definition: types.h:36
float KyFloat32
Type used internally to represent a 32-bit floating-point number.
Definition: types.h:43