9 #ifndef Navigation_PositionOnLivePathBlob_H
10 #define Navigation_PositionOnLivePathBlob_H
18 class PositionOnLivePathBlob
20 KY_ROOT_BLOB_CLASS(Runtime, PositionOnLivePathBlob, 1)
25 PositionOnPathStatus GetPositionStatus()
const {
return m_positionOnPathBlob.GetPositionStatus(); }
28 PositionOnPathBlob m_positionOnPathBlob;
34 SwapEndianness(e,
self.m_positionOnPathBlob);
35 SwapEndianness(e,
self.m_onEventListIndex);
36 SwapEndianness(e,
self.m_onEventListStatus);
40 class PositionOnLivePathBlobBuilder:
public BaseBlobBuilder<PositionOnLivePathBlob>
45 PositionOnLivePathBlobBuilder(const PositionOnLivePath* positionOnLivePath)
46 : m_positionOnLivePath(positionOnLivePath)
48 ~PositionOnLivePathBlobBuilder() {}
51 virtual void DoBuild()
55 PositionOnPathBlobBuilder builder(&m_positionOnLivePath->GetPositionOnPath());
57 BLOB_SET(
m_blob->m_onEventListIndex, m_positionOnLivePath->GetOnEventListIndex());
63 const PositionOnLivePath* m_positionOnLivePath;
OnEventListStatus
Enumerates the admissible values for PositionOnLivePath status accordingly to its position relatively...
Definition: positiononlivepath.h:27
#define BLOB_SET(blob, value)
Use this macro only in implementations of BaseBlobBuilder::DoBuild().
Definition: baseblobbuilder.h:136
PositionOnPathStatus
< enumerates="" the="" different="" status="" an="" objectpositiononpath="" can="" have="" on="" its="" path.="" />
Definition: positiononpath.h:20
#define BLOB_BUILD(blob, builder)
Use this macro only in implementations of BaseBlobBuilder::DoBuild().
Definition: baseblobbuilder.h:189
#define KY_CLASS_WITHOUT_COPY(ClassName)
Define to forbid copy constructor and copy assignment.
Definition: types.h:387
The PositionOnLivePath relative position in PathEventList is not yet defined.
Definition: positiononlivepath.h:29
The PositionOnPath is not yet defined.
Definition: positiononpath.h:22
Target
Enumerates the possible endianness types relative to the current platform.
Definition: endianness.h:35
PositionOnLivePathBlob * m_blob
The blob maintained by this builder. Only modify using the macros listed under DoBuild().
Definition: baseblobbuilder.h:117
Definition: gamekitcrowddispersion.h:20
unsigned int KyUInt32
Type used internally to represent an unsigned 32-bit integer.
Definition: types.h:36
#define KyUInt32MAXVAL
The maximum value that can be stored in the KyUInt32 variable type.
Definition: types.h:226