VR-Engage  2.3
Loading...
Searching...
No Matches
setBackendConfig.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/backend.lua
11*/
12#pragma once
13
16#include <vreMessages/export.h>
17#include <vector>
18#include <string>
19
20namespace makVre
21{
22//! \brief Message type identifier for SetBackendConfigMessage.
23constexpr const char* SetBackendConfigMessageType = "app.backend.config";
24
25/**
26 * \class SetBackendConfigMessage
27 * \brief Used by the DtNetworkConnectedState to set the backend configuration in the DtVrfLaunchConnector. Also handled by the DtVrfRemoteControlConnector to get site and app id.
28 *
29 * Message type: "app.backend.config"
30 *
31 * \note This is an auto-generated class. Do not modify directly.
32 */
34{
35public:
36
37 //! \brief Data payload for SetBackendConfigMessage.
39 {
40 //! \brief Default constructor.
42
43 //! \name Data Members
44 //! \{
45
49 std::vector<std::string> myPlugins;
52 //! \}
53
54 //! \name Operators
55 //! \{
56 bool operator==(const SetBackendConfigData& rhs) const;
57 bool operator!=(const SetBackendConfigData& rhs) const;
58 //! \}
59 };
60
61 //! \brief Destructor.
62 virtual ~SetBackendConfigMessage() override;
63
64 //! \name Static Creators
65 //! \{
66 //! \brief Create a new default instance.
67 //! \return A dynamically allocated default message. Caller takes ownership.
69
70 //! \brief Create a copy of the given message.
71 //! \param origMsg The message to copy. Must not be null.
72 //! \return A dynamically allocated copy. Caller takes ownership.
74
75 //! \brief Create a new message initialized with the given data.
76 //! \param data The data payload to initialize the message with.
77 //! \return A dynamically allocated message. Caller takes ownership.
79 //! \}
80
81 //! \name Type Identity
82 //! \{
83 //! \brief Get the message type string for this message class.
84 static const std::string& theType();
85
86 //! \brief Get the message identifier for this message class.
88
89 //! \brief Get the version number for this message class.
91
92 //! \brief Get the message type string for this instance.
93 virtual const std::string& type() const override;
94
95 //! \brief Get the message identifier for this instance.
96 virtual const makVre::DtVreMessageId& messageId() const override;
97 //! \}
98
99 //! \name Accessors
100 //! \{
101 virtual int getSiteId() const;
102 virtual void setSiteId(int val);
103
104 virtual int getApplicationId() const;
105 virtual void setApplicationId(int val);
106
107 virtual int getSessionId() const;
108 virtual void setSessionId(int val);
109
110 virtual const std::vector<std::string>& getPlugins() const;
111 virtual void setPlugins(const std::vector<std::string>& val);
112
113 virtual bool getShowConsole() const;
114 virtual void setShowConsole(bool val);
115
116 virtual const std::string& getAdditionalCommandLineArguments() const;
117 virtual void setAdditionalCommandLineArguments(const std::string& val);
118 //! \}
119
120 //! \name Serialization
121 //! \{
122 //! \copydoc makVre::DtVreMessage::messageSize()
123 virtual int messageSize() const override;
124
125 //! \brief Decode a message from a byte buffer.
126 //! \param buffer The raw byte buffer to decode from.
127 //! \param length The length of the buffer in bytes.
128 //! \return A dynamically allocated decoded message. Caller takes ownership.
129 static makVre::DtVreMessage* decode(char* buffer, int length);
130
131 //! \brief Get a copy of the message data.
133
134 //! \brief Get a copy of the message data (const).
136 //! \}
137
138 //! \name Operators
139 //! \{
140 bool operator==(const SetBackendConfigMessage& rhs) const;
141 bool operator!=(const SetBackendConfigMessage& rhs) const;
142 //! \}
143
144protected:
146
147 //! \copydoc makVre::DtVreMessage::serialize()
148 virtual void serialize(DtStreamWriter& writer) const override;
149
150 //! \copydoc makVre::DtVreMessage::deserialize()
151 virtual void deserialize(DtStreamReader& reader) override;
152
153protected:
156
158};
159} // namespace makVre
160
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 SetBackendConfigMessage &rhs) const
virtual void setApplicationId(int val)
virtual void serialize(DtStreamWriter &writer) const override
Serializes the message to a stream writer.
virtual void setAdditionalCommandLineArguments(const std::string &val)
virtual void setShowConsole(bool val)
static SetBackendConfigMessage * create()
Create a copy of the given message.
virtual bool getShowConsole() const
virtual ~SetBackendConfigMessage() override
Destructor.
static const std::string & theType()
Get the message type string for this instance.
virtual int getSiteId() const
static makVre::DtVreMessageId theMessageId
Definition setBackendConfig.h:154
SetBackendConfigData myData
Definition setBackendConfig.h:157
virtual void deserialize(DtStreamReader &reader) override
Deserializes the message from a stream reader.
static makVre::DtVreMessage * decode(char *buffer, int length)
Decode a message from a byte buffer.
virtual const std::vector< std::string > & getPlugins() const
static SetBackendConfigMessage * createFromData(const SetBackendConfigData data)
Create a new message initialized with the given data.
static UInt64 theVersion
Definition setBackendConfig.h:155
SetBackendConfigData getData() const
Get a copy of the message data (const).
virtual int getApplicationId() const
virtual void setPlugins(const std::vector< std::string > &val)
bool operator!=(const SetBackendConfigMessage &rhs) const
static UInt64 theVersionNumber()
Get the version number for this message class.
virtual const std::string & type() const override
Get the message type string for this instance.
virtual int getSessionId() const
virtual const makVre::DtVreMessageId & messageId() const override
Get the message identifier for this instance.
virtual const std::string & getAdditionalCommandLineArguments() const
static const makVre::DtVreMessageId & theId()
Get the message identifier for this message class.
SetBackendConfigData getData()
Get a copy of the message data.
static SetBackendConfigMessage * createFrom(SetBackendConfigMessage *origMsg)
Create a copy of the given message.
virtual void setSiteId(int val)
virtual int messageSize() const override
Get a copy of the message data.
virtual void setSessionId(int val)
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 * SetBackendConfigMessageType
Message type identifier for SetBackendConfigMessage.
Definition setBackendConfig.h:23
Data payload for SetBackendConfigMessage.
Definition setBackendConfig.h:39
bool operator==(const SetBackendConfigData &rhs) const
std::vector< std::string > myPlugins
Definition setBackendConfig.h:49
int mySessionId
Definition setBackendConfig.h:48
int myApplicationId
Definition setBackendConfig.h:47
std::string myAdditionalCommandLineArguments
Definition setBackendConfig.h:51
int mySiteId
Definition setBackendConfig.h:46
bool operator!=(const SetBackendConfigData &rhs) const
bool myShowConsole
Definition setBackendConfig.h:50
Defines the base class for all VREngage messages.
Defines message identifier class for the VREngage messaging system.