VR-Engage  2.3
Loading...
Searching...
No Matches
visualModelDefinitionsLoaded.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/visualModelDefinitionsLoaded.lua
11*/
12#pragma once
13
16#include <vreMessages/export.h>
17
18namespace makVre
19{
20//! \brief Message type identifier for VisualModelDefinitionsLoadedMessage.
21constexpr const char* VisualModelDefinitionsLoadedMessageType = "vrf.visualModelDefinitionsLoaded";
22
23/**
24 * \class VisualModelDefinitionsLoadedMessage
25 * \brief Sent when visual model definitions are loaded.
26 *
27 * Message type: "vrf.visualModelDefinitionsLoaded"
28 *
29 * \note This is an auto-generated class. Do not modify directly.
30 */
32{
33public:
34
35 //! \brief Data payload for VisualModelDefinitionsLoadedMessage.
37 {
38 //! \brief Default constructor.
40
41 //! \name Data Members
42 //! \{
43
44 //! \}
45
46 //! \name Operators
47 //! \{
50 //! \}
51 };
52
53 //! \brief Destructor.
55
56 //! \name Static Creators
57 //! \{
58 //! \brief Create a new default instance.
59 //! \return A dynamically allocated default message. Caller takes ownership.
61
62 //! \brief Create a copy of the given message.
63 //! \param origMsg The message to copy. Must not be null.
64 //! \return A dynamically allocated copy. Caller takes ownership.
66
67 //! \brief Create a new message initialized with the given data.
68 //! \param data The data payload to initialize the message with.
69 //! \return A dynamically allocated message. Caller takes ownership.
71 //! \}
72
73 //! \name Type Identity
74 //! \{
75 //! \brief Get the message type string for this message class.
76 static const std::string& theType();
77
78 //! \brief Get the message identifier for this message class.
80
81 //! \brief Get the version number for this message class.
83
84 //! \brief Get the message type string for this instance.
85 virtual const std::string& type() const override;
86
87 //! \brief Get the message identifier for this instance.
88 virtual const makVre::DtVreMessageId& messageId() const override;
89 //! \}
90
91 //! \name Accessors
92 //! \{
93
94 //! \}
95
96 //! \name Serialization
97 //! \{
98 //! \copydoc makVre::DtVreMessage::messageSize()
99 virtual int messageSize() const override;
100
101 //! \brief Decode a message from a byte buffer.
102 //! \param buffer The raw byte buffer to decode from.
103 //! \param length The length of the buffer in bytes.
104 //! \return A dynamically allocated decoded message. Caller takes ownership.
105 static makVre::DtVreMessage* decode(char* buffer, int length);
106
107 //! \brief Get a copy of the message data.
109
110 //! \brief Get a copy of the message data (const).
112 //! \}
113
114 //! \name Operators
115 //! \{
118 //! \}
119
120protected:
122
123 //! \copydoc makVre::DtVreMessage::serialize()
124 virtual void serialize(DtStreamWriter& writer) const override;
125
126 //! \copydoc makVre::DtVreMessage::deserialize()
127 virtual void deserialize(DtStreamReader& reader) override;
128
129protected:
132
134};
135} // namespace makVre
136
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
bool operator!=(const VisualModelDefinitionsLoadedMessage &rhs) const
VisualModelDefinitionsLoadedData myData
Definition visualModelDefinitionsLoaded.h:133
static const std::string & theType()
Get the message type string for this instance.
virtual int messageSize() const override
Get a copy of the message data.
static const makVre::DtVreMessageId & theId()
Get the message identifier for this message class.
static makVre::DtVreMessage * decode(char *buffer, int length)
Decode a message from a byte buffer.
static VisualModelDefinitionsLoadedMessage * createFromData(const VisualModelDefinitionsLoadedData data)
Create a new message initialized with the given data.
static UInt64 theVersion
Definition visualModelDefinitionsLoaded.h:131
virtual void serialize(DtStreamWriter &writer) const override
Serializes the message to a stream writer.
static VisualModelDefinitionsLoadedMessage * create()
Create a copy of the given message.
bool operator==(const VisualModelDefinitionsLoadedMessage &rhs) const
VisualModelDefinitionsLoadedData getData() const
Get a copy of the message data (const).
VisualModelDefinitionsLoadedData getData()
Get a copy of the message data.
virtual void deserialize(DtStreamReader &reader) override
Deserializes the message from a stream reader.
virtual ~VisualModelDefinitionsLoadedMessage() override
Destructor.
static makVre::DtVreMessageId theMessageId
Definition visualModelDefinitionsLoaded.h:130
static UInt64 theVersionNumber()
Get the version number for this message class.
static VisualModelDefinitionsLoadedMessage * createFrom(VisualModelDefinitionsLoadedMessage *origMsg)
Create a copy of the given message.
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.
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 * VisualModelDefinitionsLoadedMessageType
Message type identifier for VisualModelDefinitionsLoadedMessage.
Definition visualModelDefinitionsLoaded.h:21
Data payload for VisualModelDefinitionsLoadedMessage.
Definition visualModelDefinitionsLoaded.h:37
bool operator==(const VisualModelDefinitionsLoadedData &rhs) const
bool operator!=(const VisualModelDefinitionsLoadedData &rhs) const
Defines the base class for all VREngage messages.
Defines message identifier class for the VREngage messaging system.