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