VR-Engage  2.3
Loading...
Searching...
No Matches
smsLoadComplete.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/playerStation.lua
11*/
12#pragma once
13
16#include <vreMessages/export.h>
17
18namespace makVre
19{
20//! \brief Message type identifier for SmsLoadCompleteMessage.
21constexpr const char* SmsLoadCompleteMessageType = "PlayerStation.smsLoadComplete";
22
23/**
24 * \class SmsLoadCompleteMessage
25 * \brief Sent when a component is done responding to a Simulation Model Set change.
26 *
27 * Message type: "PlayerStation.smsLoadComplete"
28 *
29 * \note This is an auto-generated class. Do not modify directly.
30 */
32{
33public:
34 //! \brief SmsComp enumeration.
43
44 //! \brief Data payload for SmsLoadCompleteMessage.
46 {
47 //! \brief Default constructor.
49
50 //! \name Data Members
51 //! \{
52
55 //! \}
56
57 //! \name Operators
58 //! \{
59 bool operator==(const SmsLoadCompleteData& rhs) const;
60 bool operator!=(const SmsLoadCompleteData& rhs) const;
61 //! \}
62 };
63
64 //! \brief Destructor.
65 virtual ~SmsLoadCompleteMessage() override;
66
67 //! \name Static Creators
68 //! \{
69 //! \brief Create a new default instance.
70 //! \return A dynamically allocated default message. Caller takes ownership.
72
73 //! \brief Create a copy of the given message.
74 //! \param origMsg The message to copy. Must not be null.
75 //! \return A dynamically allocated copy. Caller takes ownership.
77
78 //! \brief Create a new message initialized with the given data.
79 //! \param data The data payload to initialize the message with.
80 //! \return A dynamically allocated message. Caller takes ownership.
82 //! \}
83
84 //! \name Type Identity
85 //! \{
86 //! \brief Get the message type string for this message class.
87 static const std::string& theType();
88
89 //! \brief Get the message identifier for this message class.
91
92 //! \brief Get the version number for this message class.
94
95 //! \brief Get the message type string for this instance.
96 virtual const std::string& type() const override;
97
98 //! \brief Get the message identifier for this instance.
99 virtual const makVre::DtVreMessageId& messageId() const override;
100 //! \}
101
102 //! \name Accessors
103 //! \{
105 virtual void setComponentFinished(SmsComp val);
106
107 virtual bool getChanged() const;
108 virtual void setChanged(bool val);
109 //! \}
110
111 //! \name Serialization
112 //! \{
113 //! \copydoc makVre::DtVreMessage::messageSize()
114 virtual int messageSize() const override;
115
116 //! \brief Decode a message from a byte buffer.
117 //! \param buffer The raw byte buffer to decode from.
118 //! \param length The length of the buffer in bytes.
119 //! \return A dynamically allocated decoded message. Caller takes ownership.
120 static makVre::DtVreMessage* decode(char* buffer, int length);
121
122 //! \brief Get a copy of the message data.
124
125 //! \brief Get a copy of the message data (const).
127 //! \}
128
129 //! \name Operators
130 //! \{
131 bool operator==(const SmsLoadCompleteMessage& rhs) const;
132 bool operator!=(const SmsLoadCompleteMessage& rhs) const;
133 //! \}
134
135protected:
137
138 //! \copydoc makVre::DtVreMessage::serialize()
139 virtual void serialize(DtStreamWriter& writer) const override;
140
141 //! \copydoc makVre::DtVreMessage::deserialize()
142 virtual void deserialize(DtStreamReader& reader) override;
143
144protected:
147
149};
150} // namespace makVre
151
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 ~SmsLoadCompleteMessage() override
Destructor.
SmsLoadCompleteData getData()
Get a copy of the message data.
virtual void serialize(DtStreamWriter &writer) const override
Serializes the message to a stream writer.
virtual void setChanged(bool val)
static makVre::DtVreMessageId theMessageId
Definition smsLoadComplete.h:145
static UInt64 theVersionNumber()
Get the version number for this message class.
virtual SmsComp getComponentFinished() const
static SmsLoadCompleteMessage * create()
Create a copy of the given message.
SmsComp
SmsComp enumeration.
Definition smsLoadComplete.h:36
@ SmsComp_CommunicationManager
Definition smsLoadComplete.h:38
@ SmsComp_All
Definition smsLoadComplete.h:41
@ SmsComp_ReflectedEntityList
Definition smsLoadComplete.h:39
@ SmsComp_VisualsManager
Definition smsLoadComplete.h:40
@ SmsComp_PlayerCreationPalette
Definition smsLoadComplete.h:37
bool operator!=(const SmsLoadCompleteMessage &rhs) const
virtual int messageSize() const override
Get a copy of the message data.
static SmsLoadCompleteMessage * createFromData(const SmsLoadCompleteData data)
Create a new message initialized with the given data.
virtual const std::string & type() const override
Get the message type string for this instance.
static makVre::DtVreMessage * decode(char *buffer, int length)
Decode a message from a byte buffer.
virtual bool getChanged() const
virtual void setComponentFinished(SmsComp val)
virtual void deserialize(DtStreamReader &reader) override
Deserializes the message from a stream reader.
bool operator==(const SmsLoadCompleteMessage &rhs) const
static const makVre::DtVreMessageId & theId()
Get the message identifier for this message class.
SmsLoadCompleteData getData() const
Get a copy of the message data (const).
static const std::string & theType()
Get the message type string for this instance.
static SmsLoadCompleteMessage * createFrom(SmsLoadCompleteMessage *origMsg)
Create a copy of the given message.
virtual const makVre::DtVreMessageId & messageId() const override
Get the message identifier for this instance.
SmsLoadCompleteData myData
Definition smsLoadComplete.h:148
static UInt64 theVersion
Definition smsLoadComplete.h:146
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 * SmsLoadCompleteMessageType
Message type identifier for SmsLoadCompleteMessage.
Definition smsLoadComplete.h:21
Data payload for SmsLoadCompleteMessage.
Definition smsLoadComplete.h:46
SmsComp myComponentFinished
Definition smsLoadComplete.h:53
bool myChanged
Definition smsLoadComplete.h:54
bool operator!=(const SmsLoadCompleteData &rhs) const
bool operator==(const SmsLoadCompleteData &rhs) const
Defines the base class for all VREngage messages.
Defines message identifier class for the VREngage messaging system.