VR-Engage  2.3
Loading...
Searching...
No Matches
vrfSetEmbark.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/vrfEntitySetDataRequests.lua
11*/
12#pragma once
13
16#include <vreMessages/export.h>
17#include <vlpi/entityIdentifier.h>
18#include <string>
19#include <matrix/vlVector.h>
20
21namespace makVre
22{
23//! \brief Message type identifier for VrfSetEmbarkMessage.
24constexpr const char* VrfSetEmbarkMessageType = "vrf.set.entity.embarked";
25
26/**
27 * \class VrfSetEmbarkMessage
28 * \brief Send to the DtVrfRemoteControlConnector to generate a VRF set embarked request.
29 *
30 * Message type: "vrf.set.entity.embarked"
31 *
32 * \note This is an auto-generated class. Do not modify directly.
33 */
35{
36public:
37
38 //! \brief Data payload for VrfSetEmbarkMessage.
40 {
41 //! \brief Default constructor.
43
44 //! \name Data Members
45 //! \{
46
47 DtEntityIdentifier myEntityId;
48 DtEntityIdentifier myParentEntityId;
49 int mySlot;
50 std::string mySlotName;
51 std::string mySlotType;
54 //! \}
55
56 //! \name Operators
57 //! \{
58 bool operator==(const VrfSetEmbarkData& rhs) const;
59 bool operator!=(const VrfSetEmbarkData& rhs) const;
60 //! \}
61 };
62
63 //! \brief Destructor.
64 virtual ~VrfSetEmbarkMessage() override;
65
66 //! \name Static Creators
67 //! \{
68 //! \brief Create a new default instance.
69 //! \return A dynamically allocated default message. Caller takes ownership.
71
72 //! \brief Create a copy of the given message.
73 //! \param origMsg The message to copy. Must not be null.
74 //! \return A dynamically allocated copy. Caller takes ownership.
76
77 //! \brief Create a new message initialized with the given data.
78 //! \param data The data payload to initialize the message with.
79 //! \return A dynamically allocated message. Caller takes ownership.
81 //! \}
82
83 //! \name Type Identity
84 //! \{
85 //! \brief Get the message type string for this message class.
86 static const std::string& theType();
87
88 //! \brief Get the message identifier for this message class.
90
91 //! \brief Get the version number for this message class.
93
94 //! \brief Get the message type string for this instance.
95 virtual const std::string& type() const override;
96
97 //! \brief Get the message identifier for this instance.
98 virtual const makVre::DtVreMessageId& messageId() const override;
99 //! \}
100
101 //! \name Accessors
102 //! \{
103 virtual const DtEntityIdentifier& getEntityId() const;
104 virtual void setEntityId(const DtEntityIdentifier& val);
105
106 virtual const DtEntityIdentifier& getParentEntityId() const;
107 virtual void setParentEntityId(const DtEntityIdentifier& val);
108
109 virtual int getSlot() const;
110 virtual void setSlot(int val);
111
112 virtual const std::string& getSlotName() const;
113 virtual void setSlotName(const std::string& val);
114
115 virtual const std::string& getSlotType() const;
116 virtual void setSlotType(const std::string& val);
117
118 virtual bool getLoadOverride() const;
119 virtual void setLoadOverride(bool val);
120
121 virtual const DtVector& getLoadOverridePosition() const;
122 virtual void setLoadOverridePosition(const DtVector& val);
123 //! \}
124
125 //! \name Serialization
126 //! \{
127 //! \copydoc makVre::DtVreMessage::messageSize()
128 virtual int messageSize() const override;
129
130 //! \brief Decode a message from a byte buffer.
131 //! \param buffer The raw byte buffer to decode from.
132 //! \param length The length of the buffer in bytes.
133 //! \return A dynamically allocated decoded message. Caller takes ownership.
134 static makVre::DtVreMessage* decode(char* buffer, int length);
135
136 //! \brief Get a copy of the message data.
138
139 //! \brief Get a copy of the message data (const).
141 //! \}
142
143 //! \name Operators
144 //! \{
145 bool operator==(const VrfSetEmbarkMessage& rhs) const;
146 bool operator!=(const VrfSetEmbarkMessage& rhs) const;
147 //! \}
148
149protected:
151
152 //! \copydoc makVre::DtVreMessage::serialize()
153 virtual void serialize(DtStreamWriter& writer) const override;
154
155 //! \copydoc makVre::DtVreMessage::deserialize()
156 virtual void deserialize(DtStreamReader& reader) override;
157
158protected:
161
163};
164} // namespace makVre
165
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
virtual void setSlotName(const std::string &val)
static VrfSetEmbarkMessage * create()
Create a copy of the given message.
virtual const DtEntityIdentifier & getParentEntityId() const
virtual const DtEntityIdentifier & getEntityId() const
static UInt64 theVersionNumber()
Get the version number for this message class.
virtual void setSlotType(const std::string &val)
static makVre::DtVreMessage * decode(char *buffer, int length)
Decode a message from a byte buffer.
VrfSetEmbarkData getData()
Get a copy of the message data.
virtual const std::string & getSlotName() const
static UInt64 theVersion
Definition vrfSetEmbark.h:160
virtual void serialize(DtStreamWriter &writer) const override
Serializes the message to a stream writer.
virtual void setLoadOverride(bool val)
virtual void setLoadOverridePosition(const DtVector &val)
VrfSetEmbarkData getData() const
Get a copy of the message data (const).
static const std::string & theType()
Get the message type string for this instance.
bool operator!=(const VrfSetEmbarkMessage &rhs) const
virtual bool getLoadOverride() const
virtual void deserialize(DtStreamReader &reader) override
Deserializes the message from a stream reader.
static VrfSetEmbarkMessage * createFromData(const VrfSetEmbarkData data)
Create a new message initialized with the given data.
VrfSetEmbarkData myData
Definition vrfSetEmbark.h:162
virtual const std::string & getSlotType() const
virtual void setEntityId(const DtEntityIdentifier &val)
virtual void setParentEntityId(const DtEntityIdentifier &val)
static const makVre::DtVreMessageId & theId()
Get the message identifier for this message class.
virtual int getSlot() const
virtual const std::string & type() const override
Get the message type string for this instance.
virtual ~VrfSetEmbarkMessage() override
Destructor.
virtual int messageSize() const override
Get a copy of the message data.
virtual const DtVector & getLoadOverridePosition() const
static makVre::DtVreMessageId theMessageId
Definition vrfSetEmbark.h:159
virtual const makVre::DtVreMessageId & messageId() const override
Get the message identifier for this instance.
virtual void setSlot(int val)
bool operator==(const VrfSetEmbarkMessage &rhs) const
static VrfSetEmbarkMessage * createFrom(VrfSetEmbarkMessage *origMsg)
Create a copy of the given message.
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
unsigned long long UInt64
Unsigned 64-bit integer type.
Definition utilFunctions.h:42
constexpr const char * VrfSetEmbarkMessageType
Message type identifier for VrfSetEmbarkMessage.
Definition vrfSetEmbark.h:24
Data payload for VrfSetEmbarkMessage.
Definition vrfSetEmbark.h:40
DtEntityIdentifier myParentEntityId
Definition vrfSetEmbark.h:48
bool operator!=(const VrfSetEmbarkData &rhs) const
bool operator==(const VrfSetEmbarkData &rhs) const
bool myLoadOverride
Definition vrfSetEmbark.h:52
int mySlot
Definition vrfSetEmbark.h:49
std::string mySlotName
Definition vrfSetEmbark.h:50
std::string mySlotType
Definition vrfSetEmbark.h:51
DtEntityIdentifier myEntityId
Definition vrfSetEmbark.h:47
DtVector myLoadOverridePosition
Definition vrfSetEmbark.h:53
Defines the base class for all VREngage messages.
Defines message identifier class for the VREngage messaging system.