VR-Engage  2.2
Loading...
Searching...
No Matches
setBackendConfig.h
Go to the documentation of this file.
1/*********************************************************************************
2** Copyright (c) 2025 MAK Technologies, Inc.
3** All rights reserved.
4*********************************************************************************/
5
6/*!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
7!!!!!!!!!This is an auto-generated file. Any changes will be destroyed!!!!!!!!!!!
8!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
9Generated from: /data/exports/DEV-CAM-BML-043/nightly/3085/libsrc/framework/vreMessages/backend.lua
10*/
11/*-----------------COMMENT----------------------
12Used by the DtNetworkConnectedState to set the backend configuration in the DtVrfLaunchConnector. Also handled by the DtVrfRemoteControlConnector to get site and app id.
13-------------------COMMENT----------------------*/
14#pragma once
15
18#include <vreMessages/export.h>
19#include <vector>
20#include <string>
21
22
23namespace makVre
24{
25
26
27constexpr const char* SetBackendConfigMessageType = "app.backend.config";
28
30{
31public:
32
33
34 // Struct for defining data
48
49 // Default static creators to promote the usage of not using new.
53
54 //! \brief static message identity functions
55 static const std::string& theType();
58
59 //! \brief Get the name of the message type
60 virtual const std::string& type() const override;
61 virtual const makVre::DtVreMessageId& messageId() const override;
62
63 // default destructor
64 virtual ~SetBackendConfigMessage() override;
65
66 virtual int getSiteId() const;
67 virtual void setSiteId(int val);
68
69 virtual int getApplicationId() const;
70 virtual void setApplicationId(int val);
71
72 virtual int getSessionId() const;
73 virtual void setSessionId(int val);
74
75 virtual const std::vector<std::string>& getPlugins() const;
76 virtual void setPlugins(const std::vector<std::string>& val);
77
78 virtual bool getShowConsole() const;
79 virtual void setShowConsole(bool val);
80
81 virtual const std::string& getAdditionalCommandLineArguments() const;
82 virtual void setAdditionalCommandLineArguments(const std::string& val);
83
84
85 // Accessors
86 virtual int messageSize() const override;
87 static makVre::DtVreMessage* decode(char* buffer, int length);
90
91 // Operators
92 bool operator==(const SetBackendConfigMessage& rhs) const;
93
94protected:
95 // Inaccessible default constructor to promote the usage of the static creator functions
97
98 virtual void serialize(DtStreamWriter& writer) const override;
99 virtual void deserialize(DtStreamReader& reader) override;
100
101protected:
104
105 // Store the data for future use
107};
108
109} // ::makVre
110
111
112
Reader class for decoding values from a byte array.
Definition byteStream.h:42
Writer class for encoding values into a byte array.
Definition byteStream.h:161
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()
virtual bool getShowConsole() const
virtual ~SetBackendConfigMessage() override
static const std::string & theType()
static message identity functions
virtual int getSiteId() const
static SetBackendConfigMessage * createFrom(SetBackendConfigMessage *)
static makVre::DtVreMessageId theMessageId
Definition setBackendConfig.h:102
SetBackendConfigData myData
Definition setBackendConfig.h:106
virtual void deserialize(DtStreamReader &reader) override
Deserializes the message from a stream reader.
static makVre::DtVreMessage * decode(char *buffer, int length)
virtual const std::vector< std::string > & getPlugins() const
static UInt64 theVersion
Definition setBackendConfig.h:103
SetBackendConfigData getData() const
virtual int getApplicationId() const
virtual void setPlugins(const std::vector< std::string > &val)
virtual const std::string & type() const override
Get the name of the message type.
virtual int getSessionId() const
virtual const makVre::DtVreMessageId & messageId() const override
Gets the message ID object.
virtual const std::string & getAdditionalCommandLineArguments() const
static const makVre::DtVreMessageId & theId()
SetBackendConfigData getData()
static SetBackendConfigMessage * createFromData(const SetBackendConfigData)
virtual void setSiteId(int val)
virtual int messageSize() const override
Static decode function pattern for derived classes.
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
Include export definitions for this library.
Definition glsVreMessageUtil.h:49
unsigned long long UInt64
Unsigned 64-bit integer type.
Definition utilFunctions.h:42
constexpr const char * SetBackendConfigMessageType
Definition setBackendConfig.h:27
bool operator==(const SetBackendConfigData &rhs) const
std::vector< std::string > myPlugins
Definition setBackendConfig.h:42
int mySessionId
Definition setBackendConfig.h:41
int myApplicationId
Definition setBackendConfig.h:40
std::string myAdditionalCommandLineArguments
Definition setBackendConfig.h:44
int mySiteId
Definition setBackendConfig.h:39
bool myShowConsole
Definition setBackendConfig.h:43
Defines the base class for all VREngage messages.
Defines message identifier class for the VREngage messaging system.