VR-Engage  2.3
Loading...
Searching...
No Matches
EntityEmbarkationInformation.h
Go to the documentation of this file.
1/*********************************************************************************
2** Copyright (c) 2026 MAK Technologies, Inc.
3** All rights reserved.
4*********************************************************************************/
5
6/**
7* !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
8* !!!!!!!!!This is an auto-generated file. Any changes will be destroyed!!!!!!!!!!!
9* !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
10* Generated from: /home/data/exports/DEV-CAM-BML-305/nightly/3375/libsrc/framework/vreMessages/entity.lua
11*/
12#pragma once
13
16#include <vreMessages/export.h>
17#include <vlpi/entityIdentifier.h>
18#include <vlpi/entityType.h>
19#include <vector>
20
21namespace makVre
22{
23//! \brief Message type identifier for EntityEmbarkationInformationMessage.
24constexpr const char* EntityEmbarkationInformationMessageType = "entity.query.embarkInfo";
25
26/**
27 * \class EntityEmbarkationInformationMessage
28 * \brief Contains embarkation information for an entity. Request using EntityEmbarkationInformationRequestMessage.
29 *
30 * Message type: "entity.query.embarkInfo"
31 *
32 * \note This is an auto-generated class. Do not modify directly.
33 */
35{
36public:
37
38 //! \brief Nested data structure.
40 {
41 //! \brief Default constructor.
43
44 //! \brief Get the serialized size in bytes.
45 int size() const;
46 //! \brief Serialize to a stream writer.
47 void serialize(DtStreamWriter& writer) const;
48 //! \brief Deserialize from a stream reader.
50 //! \brief Equality comparison operator.
51 bool operator==(const ActionPoint& rhs) const;
52 //! \brief Inequality comparison operator.
53 bool operator!=(const ActionPoint& rhs) const;
54
55 DtVector myPosition;
56 int mySlot;
57 std::string myName;
58 std::string myType;
59 std::string myDoor;
60
61 };
62
63 //! \brief Data payload for EntityEmbarkationInformationMessage.
65 {
66 //! \brief Default constructor.
68
69 //! \name Data Members
70 //! \{
71
72 DtEntityIdentifier myEntityId;
73 DtEntityType myEmbarkerType;
76 std::vector<ActionPoint> myActionPoints;
77 //! \}
78
79 //! \name Operators
80 //! \{
83 //! \}
84 };
85
86 //! \brief Destructor.
88
89 //! \name Static Creators
90 //! \{
91 //! \brief Create a new default instance.
92 //! \return A dynamically allocated default message. Caller takes ownership.
94
95 //! \brief Create a copy of the given message.
96 //! \param origMsg The message to copy. Must not be null.
97 //! \return A dynamically allocated copy. Caller takes ownership.
99
100 //! \brief Create a new message initialized with the given data.
101 //! \param data The data payload to initialize the message with.
102 //! \return A dynamically allocated message. Caller takes ownership.
104 //! \}
105
106 //! \name Type Identity
107 //! \{
108 //! \brief Get the message type string for this message class.
109 static const std::string& theType();
110
111 //! \brief Get the message identifier for this message class.
113
114 //! \brief Get the version number for this message class.
116
117 //! \brief Get the message type string for this instance.
118 virtual const std::string& type() const override;
119
120 //! \brief Get the message identifier for this instance.
121 virtual const makVre::DtVreMessageId& messageId() const override;
122 //! \}
123
124 //! \name Accessors
125 //! \{
126 virtual const DtEntityIdentifier& getEntityId() const;
127 virtual void setEntityId(const DtEntityIdentifier& val);
128
129 virtual const DtEntityType& getEmbarkerType() const;
130 virtual void setEmbarkerType(const DtEntityType& val);
131
132 virtual bool getIsEmbarked() const;
133 virtual void setIsEmbarked(bool val);
134
135 virtual bool getSlotsExist() const;
136 virtual void setSlotsExist(bool val);
137
138 virtual const std::vector<ActionPoint>& getActionPoints() const;
139 virtual void setActionPoints(const std::vector<ActionPoint>& val);
140 //! \}
141
142 //! \name Serialization
143 //! \{
144 //! \copydoc makVre::DtVreMessage::messageSize()
145 virtual int messageSize() const override;
146
147 //! \brief Decode a message from a byte buffer.
148 //! \param buffer The raw byte buffer to decode from.
149 //! \param length The length of the buffer in bytes.
150 //! \return A dynamically allocated decoded message. Caller takes ownership.
151 static makVre::DtVreMessage* decode(char* buffer, int length);
152
153 //! \brief Get a copy of the message data.
155
156 //! \brief Get a copy of the message data (const).
158 //! \}
159
160 //! \name Operators
161 //! \{
164 //! \}
165
166protected:
168
169 //! \copydoc makVre::DtVreMessage::serialize()
170 virtual void serialize(DtStreamWriter& writer) const override;
171
172 //! \copydoc makVre::DtVreMessage::deserialize()
173 virtual void deserialize(DtStreamReader& reader) override;
174
175protected:
178
180};
181} // namespace makVre
182
Reader class for decoding values from a byte array.
Definition byteStream.h:43
Writer class for encoding values into a byte array.
Definition byteStream.h:166
Abstract base class for all VREngage messages.
Definition vreMessage.h:50
Message identifier class for the VREngage messaging system.
Definition vreMessageId.h:35
EntityEmbarkationInformationData getData() const
Get a copy of the message data (const).
static const std::string & theType()
Get the message type string for this instance.
virtual ~EntityEmbarkationInformationMessage() override
Destructor.
static UInt64 theVersion
Definition EntityEmbarkationInformation.h:177
static const makVre::DtVreMessageId & theId()
Get the message identifier for this message class.
virtual const DtEntityType & getEmbarkerType() const
virtual void setEmbarkerType(const DtEntityType &val)
bool operator!=(const EntityEmbarkationInformationMessage &rhs) const
virtual const std::vector< ActionPoint > & getActionPoints() const
virtual void setActionPoints(const std::vector< ActionPoint > &val)
static EntityEmbarkationInformationMessage * createFrom(EntityEmbarkationInformationMessage *origMsg)
Create a copy of the given message.
static makVre::DtVreMessageId theMessageId
Definition EntityEmbarkationInformation.h:176
virtual void setEntityId(const DtEntityIdentifier &val)
virtual const makVre::DtVreMessageId & messageId() const override
Get the message identifier for this instance.
EntityEmbarkationInformationData myData
Definition EntityEmbarkationInformation.h:179
static EntityEmbarkationInformationMessage * create()
Create a copy of the given message.
static UInt64 theVersionNumber()
Get the version number for this message class.
bool operator==(const EntityEmbarkationInformationMessage &rhs) const
static EntityEmbarkationInformationMessage * createFromData(const EntityEmbarkationInformationData data)
Create a new message initialized with the given data.
virtual const DtEntityIdentifier & getEntityId() const
virtual const std::string & type() const override
Get the message type string for this instance.
virtual int messageSize() const override
Get a copy of the message data.
virtual void deserialize(DtStreamReader &reader) override
Deserializes the message from a stream reader.
virtual void serialize(DtStreamWriter &writer) const override
Serializes the message to a stream writer.
EntityEmbarkationInformationData getData()
Get a copy of the message data.
static makVre::DtVreMessage * decode(char *buffer, int length)
Decode a message from a byte buffer.
Defines export macros for the VREngage Messages library.
#define VREMESSAGES_DLL
Export/import macro for non-Windows platforms.
Definition export.h:39
!
Definition glsVreMessageUtil.h:50
constexpr const char * EntityEmbarkationInformationMessageType
Message type identifier for EntityEmbarkationInformationMessage.
Definition EntityEmbarkationInformation.h:24
unsigned long long UInt64
Unsigned 64-bit integer type.
Definition utilFunctions.h:42
DtVector myPosition
Definition EntityEmbarkationInformation.h:55
void deserialize(DtStreamReader &reader)
Deserialize from a stream reader.
void serialize(DtStreamWriter &writer) const
Serialize to a stream writer.
std::string myName
Definition EntityEmbarkationInformation.h:57
bool operator!=(const ActionPoint &rhs) const
Inequality comparison operator.
int size() const
Get the serialized size in bytes.
std::string myDoor
Definition EntityEmbarkationInformation.h:59
int mySlot
Definition EntityEmbarkationInformation.h:56
bool operator==(const ActionPoint &rhs) const
Equality comparison operator.
std::string myType
Definition EntityEmbarkationInformation.h:58
Data payload for EntityEmbarkationInformationMessage.
Definition EntityEmbarkationInformation.h:65
bool operator==(const EntityEmbarkationInformationData &rhs) const
std::vector< ActionPoint > myActionPoints
Definition EntityEmbarkationInformation.h:76
DtEntityIdentifier myEntityId
Definition EntityEmbarkationInformation.h:72
DtEntityType myEmbarkerType
Definition EntityEmbarkationInformation.h:73
bool mySlotsExist
Definition EntityEmbarkationInformation.h:75
bool myIsEmbarked
Definition EntityEmbarkationInformation.h:74
bool operator!=(const EntityEmbarkationInformationData &rhs) const
Defines the base class for all VREngage messages.
Defines message identifier class for the VREngage messaging system.