VR-Engage  2.3
Loading...
Searching...
No Matches
stopForwardMessage.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/vreMessageManager/networkForwarderMessages.lua
11*/
12#pragma once
13
17#include <string>
18
19namespace makVre
20{
21//! \brief Message type identifier for StopForwardMessageMessage.
22constexpr const char* StopForwardMessageMessageType = "system.network.forward.stop";
23
24/**
25 * \class StopForwardMessageMessage
26 * \brief Send to stop forwarding the specified event manager message type to the network.
27 *
28 * Message type: "system.network.forward.stop"
29 *
30 * \note This is an auto-generated class. Do not modify directly.
31 */
32class VREMESSAGEMANAGER_DLL StopForwardMessageMessage : public makVre::DtVreMessage
33{
34public:
35
36 //! \brief Data payload for StopForwardMessageMessage.
37 struct VREMESSAGEMANAGER_DLL StopForwardMessageData
38 {
39 //! \brief Default constructor.
41
42 //! \name Data Members
43 //! \{
44
45 std::string myMessageName;
46 //! \}
47
48 //! \name Operators
49 //! \{
50 bool operator==(const StopForwardMessageData& rhs) const;
51 bool operator!=(const StopForwardMessageData& rhs) const;
52 //! \}
53 };
54
55 //! \brief Destructor.
56 virtual ~StopForwardMessageMessage() override;
57
58 //! \name Static Creators
59 //! \{
60 //! \brief Create a new default instance.
61 //! \return A dynamically allocated default message. Caller takes ownership.
63
64 //! \brief Create a copy of the given message.
65 //! \param origMsg The message to copy. Must not be null.
66 //! \return A dynamically allocated copy. Caller takes ownership.
68
69 //! \brief Create a new message initialized with the given data.
70 //! \param data The data payload to initialize the message with.
71 //! \return A dynamically allocated message. Caller takes ownership.
73 //! \}
74
75 //! \name Type Identity
76 //! \{
77 //! \brief Get the message type string for this message class.
78 static const std::string& theType();
79
80 //! \brief Get the message identifier for this message class.
82
83 //! \brief Get the version number for this message class.
85
86 //! \brief Get the message type string for this instance.
87 virtual const std::string& type() const override;
88
89 //! \brief Get the message identifier for this instance.
90 virtual const makVre::DtVreMessageId& messageId() const override;
91 //! \}
92
93 //! \name Accessors
94 //! \{
95 virtual const std::string& getMessageName() const;
96 virtual void setMessageName(const std::string& val);
97 //! \}
98
99 //! \name Serialization
100 //! \{
101 //! \copydoc makVre::DtVreMessage::messageSize()
102 virtual int messageSize() const override;
103
104 //! \brief Decode a message from a byte buffer.
105 //! \param buffer The raw byte buffer to decode from.
106 //! \param length The length of the buffer in bytes.
107 //! \return A dynamically allocated decoded message. Caller takes ownership.
108 static makVre::DtVreMessage* decode(char* buffer, int length);
109
110 //! \brief Get a copy of the message data.
112
113 //! \brief Get a copy of the message data (const).
115 //! \}
116
117 //! \name Operators
118 //! \{
119 bool operator==(const StopForwardMessageMessage& rhs) const;
120 bool operator!=(const StopForwardMessageMessage& rhs) const;
121 //! \}
122
123protected:
125
126 //! \copydoc makVre::DtVreMessage::serialize()
127 virtual void serialize(DtStreamWriter& writer) const override;
128
129 //! \copydoc makVre::DtVreMessage::deserialize()
130 virtual void deserialize(DtStreamReader& reader) override;
131
132protected:
135
137};
138} // namespace makVre
139
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
static const makVre::DtVreMessageId & theId()
Get the message identifier for this message class.
StopForwardMessageData getData()
Get a copy of the message data.
bool operator==(const StopForwardMessageMessage &rhs) const
StopForwardMessageData myData
Definition stopForwardMessage.h:136
static const std::string & theType()
Get the message type string for this instance.
static UInt64 theVersionNumber()
Get the version number for this message class.
virtual const makVre::DtVreMessageId & messageId() const override
Get the message identifier for this instance.
bool operator!=(const StopForwardMessageMessage &rhs) const
StopForwardMessageData getData() const
Get a copy of the message data (const).
static StopForwardMessageMessage * create()
Create a copy of the given message.
virtual ~StopForwardMessageMessage() override
Destructor.
static StopForwardMessageMessage * createFrom(StopForwardMessageMessage *origMsg)
Create a copy of the given message.
virtual const std::string & getMessageName() const
virtual int messageSize() const override
Get a copy of the message data.
static makVre::DtVreMessage * decode(char *buffer, int length)
Decode a message from a byte buffer.
static UInt64 theVersion
Definition stopForwardMessage.h:134
virtual void serialize(DtStreamWriter &writer) const override
Serializes the message to a stream writer.
static StopForwardMessageMessage * createFromData(const StopForwardMessageData data)
Create a new message initialized with the given data.
virtual void deserialize(DtStreamReader &reader) override
Deserializes the message from a stream reader.
virtual void setMessageName(const std::string &val)
static makVre::DtVreMessageId theMessageId
Definition stopForwardMessage.h:133
virtual const std::string & type() const override
Get the message type string for this instance.
Defines export macros for the VREngage Message Manager library.
!
Definition glsVreMessageUtil.h:50
unsigned long long UInt64
Unsigned 64-bit integer type.
Definition utilFunctions.h:42
constexpr const char * StopForwardMessageMessageType
Message type identifier for StopForwardMessageMessage.
Definition stopForwardMessage.h:22
Data payload for StopForwardMessageMessage.
Definition stopForwardMessage.h:38
bool operator!=(const StopForwardMessageData &rhs) const
bool operator==(const StopForwardMessageData &rhs) const
std::string myMessageName
Definition stopForwardMessage.h:45
Defines the base class for all VREngage messages.
Defines message identifier class for the VREngage messaging system.