VR-Engage  2.3
Loading...
Searching...
No Matches
debugMetaEnable.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/utilities/vreDebugManager/debugManager.lua
11*/
12#pragma once
13
17#include <vlpi/simulationAddress.h>
18#include <string>
19#include <vector>
20
21namespace makVre
22{
23//! \brief Message type identifier for DebugMetaEnableMessage.
24constexpr const char* DebugMetaEnableMessageType = "debug.meta.enable";
25
26/**
27 * \class DebugMetaEnableMessage
28 * \brief Enables or disables features in the VR-Engage debug message.
29 *
30 * Message type: "debug.meta.enable"
31 *
32 * \note This is an auto-generated class. Do not modify directly.
33 */
34class VREDEBUGMANAGER_DLL DebugMetaEnableMessage : public makVre::DtVreMessage
35{
36public:
37
38 //! \brief Nested data structure.
39 struct VREDEBUGMANAGER_DLL KeyValuePair
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 KeyValuePair& rhs) const;
52 //! \brief Inequality comparison operator.
53 bool operator!=(const KeyValuePair& rhs) const;
54
55 std::string myKey;
56 std::string myType;
57 std::string myValue;
58
59 };
60
61 //! \brief Data payload for DebugMetaEnableMessage.
62 struct VREDEBUGMANAGER_DLL DebugMetaEnableData
63 {
64 //! \brief Default constructor.
66
67 //! \name Data Members
68 //! \{
69
70 DtSimulationAddress mySimulationAddress;
71 std::string myDebugType;
73 std::vector<KeyValuePair> myExtraData;
74 //! \}
75
76 //! \name Operators
77 //! \{
78 bool operator==(const DebugMetaEnableData& rhs) const;
79 bool operator!=(const DebugMetaEnableData& rhs) const;
80 //! \}
81 };
82
83 //! \brief Destructor.
84 virtual ~DebugMetaEnableMessage() override;
85
86 //! \name Static Creators
87 //! \{
88 //! \brief Create a new default instance.
89 //! \return A dynamically allocated default message. Caller takes ownership.
91
92 //! \brief Create a copy of the given message.
93 //! \param origMsg The message to copy. Must not be null.
94 //! \return A dynamically allocated copy. Caller takes ownership.
96
97 //! \brief Create a new message initialized with the given data.
98 //! \param data The data payload to initialize the message with.
99 //! \return A dynamically allocated message. Caller takes ownership.
101 //! \}
102
103 //! \name Type Identity
104 //! \{
105 //! \brief Get the message type string for this message class.
106 static const std::string& theType();
107
108 //! \brief Get the message identifier for this message class.
110
111 //! \brief Get the version number for this message class.
113
114 //! \brief Get the message type string for this instance.
115 virtual const std::string& type() const override;
116
117 //! \brief Get the message identifier for this instance.
118 virtual const makVre::DtVreMessageId& messageId() const override;
119 //! \}
120
121 //! \name Accessors
122 //! \{
123 virtual const DtSimulationAddress& getSimulationAddress() const;
124 virtual void setSimulationAddress(const DtSimulationAddress& val);
125
126 virtual const std::string& getDebugType() const;
127 virtual void setDebugType(const std::string& val);
128
129 virtual bool getEnabled() const;
130 virtual void setEnabled(bool val);
131
132 virtual const std::vector<KeyValuePair>& getExtraData() const;
133 virtual void setExtraData(const std::vector<KeyValuePair>& val);
134 //! \}
135
136 //! \name Serialization
137 //! \{
138 //! \copydoc makVre::DtVreMessage::messageSize()
139 virtual int messageSize() const override;
140
141 //! \brief Decode a message from a byte buffer.
142 //! \param buffer The raw byte buffer to decode from.
143 //! \param length The length of the buffer in bytes.
144 //! \return A dynamically allocated decoded message. Caller takes ownership.
145 static makVre::DtVreMessage* decode(char* buffer, int length);
146
147 //! \brief Get a copy of the message data.
149
150 //! \brief Get a copy of the message data (const).
152 //! \}
153
154 //! \name Operators
155 //! \{
156 bool operator==(const DebugMetaEnableMessage& rhs) const;
157 bool operator!=(const DebugMetaEnableMessage& rhs) const;
158 //! \}
159
160protected:
162
163 //! \copydoc makVre::DtVreMessage::serialize()
164 virtual void serialize(DtStreamWriter& writer) const override;
165
166 //! \copydoc makVre::DtVreMessage::deserialize()
167 virtual void deserialize(DtStreamReader& reader) override;
168
169protected:
172
174};
175} // namespace makVre
176
virtual const std::string & getDebugType() const
virtual const std::vector< KeyValuePair > & getExtraData() const
virtual void deserialize(DtStreamReader &reader) override
Deserializes the message from a stream reader.
virtual void setDebugType(const std::string &val)
virtual bool getEnabled() const
static DebugMetaEnableMessage * createFromData(const DebugMetaEnableData data)
Create a new message initialized with the given data.
static const makVre::DtVreMessageId & theId()
Get the message identifier for this message class.
virtual const std::string & type() const override
Get the message type string for this instance.
virtual const makVre::DtVreMessageId & messageId() const override
Get the message identifier for this instance.
DebugMetaEnableData getData() const
Get a copy of the message data (const).
static UInt64 theVersionNumber()
Get the version number for this message class.
static UInt64 theVersion
Definition debugMetaEnable.h:171
DebugMetaEnableData getData()
Get a copy of the message data.
virtual ~DebugMetaEnableMessage() override
Destructor.
bool operator!=(const DebugMetaEnableMessage &rhs) const
static const std::string & theType()
Get the message type string for this instance.
virtual void setExtraData(const std::vector< KeyValuePair > &val)
virtual void setSimulationAddress(const DtSimulationAddress &val)
static makVre::DtVreMessage * decode(char *buffer, int length)
Decode a message from a byte buffer.
virtual int messageSize() const override
Get a copy of the message data.
bool operator==(const DebugMetaEnableMessage &rhs) const
static makVre::DtVreMessageId theMessageId
Definition debugMetaEnable.h:170
virtual void setEnabled(bool val)
DebugMetaEnableData myData
Definition debugMetaEnable.h:173
virtual const DtSimulationAddress & getSimulationAddress() const
virtual void serialize(DtStreamWriter &writer) const override
Serializes the message to a stream writer.
static DebugMetaEnableMessage * createFrom(DebugMetaEnableMessage *origMsg)
Create a copy of the given message.
static DebugMetaEnableMessage * create()
Create a copy of the given message.
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
Defines export macros for the VREngage Debug Manager library.
!
Definition glsVreMessageUtil.h:50
unsigned long long UInt64
Unsigned 64-bit integer type.
Definition utilFunctions.h:42
constexpr const char * DebugMetaEnableMessageType
Message type identifier for DebugMetaEnableMessage.
Definition debugMetaEnable.h:24
Data payload for DebugMetaEnableMessage.
Definition debugMetaEnable.h:63
DtSimulationAddress mySimulationAddress
Definition debugMetaEnable.h:70
std::vector< KeyValuePair > myExtraData
Definition debugMetaEnable.h:73
bool operator==(const DebugMetaEnableData &rhs) const
bool operator!=(const DebugMetaEnableData &rhs) const
bool myEnabled
Definition debugMetaEnable.h:72
std::string myDebugType
Definition debugMetaEnable.h:71
std::string myValue
Definition debugMetaEnable.h:57
void deserialize(DtStreamReader &reader)
Deserialize from a stream reader.
int size() const
Get the serialized size in bytes.
void serialize(DtStreamWriter &writer) const
Serialize to a stream writer.
std::string myKey
Definition debugMetaEnable.h:55
std::string myType
Definition debugMetaEnable.h:56
bool operator!=(const KeyValuePair &rhs) const
Inequality comparison operator.
bool operator==(const KeyValuePair &rhs) const
Equality comparison operator.
Defines the base class for all VREngage messages.
Defines message identifier class for the VREngage messaging system.