16 class PositionOnLivePathBlob
18 KY_ROOT_BLOB_CLASS(Runtime, PositionOnLivePathBlob, 1)
23 PositionOnPathStatus GetPositionStatus()
const {
return m_positionOnPathBlob.GetPositionStatus(); }
26 PositionOnPathBlob m_positionOnPathBlob;
32 SwapEndianness(e,
self.m_positionOnPathBlob);
33 SwapEndianness(e,
self.m_onEventListIndex);
34 SwapEndianness(e,
self.m_onEventListStatus);
38 class PositionOnLivePathBlobBuilder:
public BaseBlobBuilder<PositionOnLivePathBlob>
43 PositionOnLivePathBlobBuilder(const PositionOnLivePath* positionOnLivePath)
44 : m_positionOnLivePath(positionOnLivePath)
46 ~PositionOnLivePathBlobBuilder() {}
49 virtual void DoBuild()
53 PositionOnPathBlobBuilder builder(&m_positionOnLivePath->GetPositionOnPath());
55 BLOB_SET(
m_blob->m_onEventListIndex, m_positionOnLivePath->GetOnEventListIndex());
61 const PositionOnLivePath* m_positionOnLivePath;
OnEventListStatus
Enumerates the admissible values for PositionOnLivePath status accordingly to its position relatively...
Definition: positiononlivepath.h:24
#define BLOB_SET(blob, value)
Use this macro only in implementations of BaseBlobBuilder::DoBuild().
Definition: baseblobbuilder.h:130
std::uint32_t KyUInt32
uint32_t
Definition: types.h:29
PositionOnPathStatus
< enumerates="" the="" different="" status="" an="" objectpositiononpath="" can="" have="" on="" its="" path.="" />
Definition: positiononpath.h:17
#define BLOB_BUILD(blob, builder)
Use this macro only in implementations of BaseBlobBuilder::DoBuild().
Definition: baseblobbuilder.h:175
#define KY_CLASS_WITHOUT_COPY(ClassName)
Define to forbid copy constructor and copy assignment.
Definition: types.h:196
The PositionOnLivePath relative position in PathEventList is not yet defined.
Definition: positiononlivepath.h:26
The PositionOnPath is not yet defined.
Definition: positiononpath.h:19
Target
Enumerates the possible endianness types relative to the current platform.
Definition: endianness.h:27
PositionOnLivePathBlob * m_blob
The blob maintained by this builder. Only modify using the macros listed under DoBuild().
Definition: baseblobbuilder.h:113
The Autodesk Navigation namespace.
Definition: gamekitcrowddispersion.cpp:17
#define KyUInt32MAXVAL
KyUInt32 max value
Definition: types.h:68