VR-Engage  2.3
Loading...
Searching...
No Matches
startMenuActionUnhostedSession.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/playerStationState.lua
11*/
12#pragma once
13
16#include <vreMessages/export.h>
17#include <string>
18
19namespace makVre
20{
21//! \brief Message type identifier for StartMenuActionUnhostedSessionMessage.
22constexpr const char* StartMenuActionUnhostedSessionMessageType = "state.startMenu.unhostedSession";
23
24/**
25 * \class StartMenuActionUnhostedSessionMessage
26 * \brief Sent when an unhosted session is started.
27 *
28 * Message type: "state.startMenu.unhostedSession"
29 *
30 * \note This is an auto-generated class. Do not modify directly.
31 */
33{
34public:
35
36 //! \brief Data payload for StartMenuActionUnhostedSessionMessage.
38 {
39 //! \brief Default constructor.
41
42 //! \name Data Members
43 //! \{
44
45 std::string mySimTerrainFile;
46 std::string myGuiTerrainFile;
47 //! \}
48
49 //! \name Operators
50 //! \{
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& getSimTerrainFile() const;
97 virtual void setSimTerrainFile(const std::string& val);
98
99 virtual const std::string& getGuiTerrainFile() const;
100 virtual void setGuiTerrainFile(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
virtual ~StartMenuActionUnhostedSessionMessage() override
Destructor.
virtual void setSimTerrainFile(const std::string &val)
bool operator==(const StartMenuActionUnhostedSessionMessage &rhs) const
virtual const std::string & getSimTerrainFile() const
virtual const std::string & getGuiTerrainFile() const
virtual void serialize(DtStreamWriter &writer) const override
Serializes the message to a stream writer.
virtual void setGuiTerrainFile(const std::string &val)
StartMenuActionUnhostedSessionData myData
Definition startMenuActionUnhostedSession.h:140
StartMenuActionUnhostedSessionData getData()
Get a copy of the message data.
static makVre::DtVreMessage * decode(char *buffer, int length)
Decode a message from a byte buffer.
bool operator!=(const StartMenuActionUnhostedSessionMessage &rhs) const
virtual int messageSize() const override
Get a copy of the message data.
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 std::string & type() const override
Get the message type string for this instance.
static makVre::DtVreMessageId theMessageId
Definition startMenuActionUnhostedSession.h:137
static UInt64 theVersion
Definition startMenuActionUnhostedSession.h:138
virtual const makVre::DtVreMessageId & messageId() const override
Get the message identifier for this instance.
static const makVre::DtVreMessageId & theId()
Get the message identifier for this message class.
virtual void deserialize(DtStreamReader &reader) override
Deserializes the message from a stream reader.
static StartMenuActionUnhostedSessionMessage * createFromData(const StartMenuActionUnhostedSessionData data)
Create a new message initialized with the given data.
static StartMenuActionUnhostedSessionMessage * create()
Create a copy of the given message.
StartMenuActionUnhostedSessionData getData() const
Get a copy of the message data (const).
static StartMenuActionUnhostedSessionMessage * createFrom(StartMenuActionUnhostedSessionMessage *origMsg)
Create a copy of the given message.
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 * StartMenuActionUnhostedSessionMessageType
Message type identifier for StartMenuActionUnhostedSessionMessage.
Definition startMenuActionUnhostedSession.h:22
Data payload for StartMenuActionUnhostedSessionMessage.
Definition startMenuActionUnhostedSession.h:38
bool operator==(const StartMenuActionUnhostedSessionData &rhs) const
bool operator!=(const StartMenuActionUnhostedSessionData &rhs) const
std::string myGuiTerrainFile
Definition startMenuActionUnhostedSession.h:46
std::string mySimTerrainFile
Definition startMenuActionUnhostedSession.h:45
Defines the base class for all VREngage messages.
Defines message identifier class for the VREngage messaging system.