VR-Engage  2.3
Loading...
Searching...
No Matches
launchSimProcess.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
18namespace makVre
19{
20//! \brief Message type identifier for LaunchSimProcessMessage.
21constexpr const char* LaunchSimProcessMessageType = "app.launchSimProcess";
22
23/**
24 * \class LaunchSimProcessMessage
25 * \brief Sent to create an individual sim engine.
26 *
27 * Message type: "app.launchSimProcess"
28 *
29 * \note This is an auto-generated class. Do not modify directly.
30 */
32{
33public:
34 //! \brief SimType enumeration.
41
42 //! \brief Data payload for LaunchSimProcessMessage.
44 {
45 //! \brief Default constructor.
47
48 //! \name Data Members
49 //! \{
50
54 //! \}
55
56 //! \name Operators
57 //! \{
58 bool operator==(const LaunchSimProcessData& rhs) const;
59 bool operator!=(const LaunchSimProcessData& rhs) const;
60 //! \}
61 };
62
63 //! \brief Destructor.
64 virtual ~LaunchSimProcessMessage() override;
65
66 //! \name Static Creators
67 //! \{
68 //! \brief Create a new default instance.
69 //! \return A dynamically allocated default message. Caller takes ownership.
71
72 //! \brief Create a copy of the given message.
73 //! \param origMsg The message to copy. Must not be null.
74 //! \return A dynamically allocated copy. Caller takes ownership.
76
77 //! \brief Create a new message initialized with the given data.
78 //! \param data The data payload to initialize the message with.
79 //! \return A dynamically allocated message. Caller takes ownership.
81 //! \}
82
83 //! \name Type Identity
84 //! \{
85 //! \brief Get the message type string for this message class.
86 static const std::string& theType();
87
88 //! \brief Get the message identifier for this message class.
90
91 //! \brief Get the version number for this message class.
93
94 //! \brief Get the message type string for this instance.
95 virtual const std::string& type() const override;
96
97 //! \brief Get the message identifier for this instance.
98 virtual const makVre::DtVreMessageId& messageId() const override;
99 //! \}
100
101 //! \name Accessors
102 //! \{
103 virtual int getSiteId() const;
104 virtual void setSiteId(int val);
105
106 virtual int getApplicationId() const;
107 virtual void setApplicationId(int val);
108
109 virtual SimType getSimType() const;
110 virtual void setSimType(SimType val);
111 //! \}
112
113 //! \name Serialization
114 //! \{
115 //! \copydoc makVre::DtVreMessage::messageSize()
116 virtual int messageSize() const override;
117
118 //! \brief Decode a message from a byte buffer.
119 //! \param buffer The raw byte buffer to decode from.
120 //! \param length The length of the buffer in bytes.
121 //! \return A dynamically allocated decoded message. Caller takes ownership.
122 static makVre::DtVreMessage* decode(char* buffer, int length);
123
124 //! \brief Get a copy of the message data.
126
127 //! \brief Get a copy of the message data (const).
129 //! \}
130
131 //! \name Operators
132 //! \{
133 bool operator==(const LaunchSimProcessMessage& rhs) const;
134 bool operator!=(const LaunchSimProcessMessage& rhs) const;
135 //! \}
136
137protected:
139
140 //! \copydoc makVre::DtVreMessage::serialize()
141 virtual void serialize(DtStreamWriter& writer) const override;
142
143 //! \copydoc makVre::DtVreMessage::deserialize()
144 virtual void deserialize(DtStreamReader& reader) override;
145
146protected:
149
151};
152} // namespace makVre
153
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 makVre::DtVreMessage * decode(char *buffer, int length)
Decode a message from a byte buffer.
bool operator!=(const LaunchSimProcessMessage &rhs) const
static LaunchSimProcessMessage * createFromData(const LaunchSimProcessData data)
Create a new message initialized with the given data.
virtual int getApplicationId() const
static makVre::DtVreMessageId theMessageId
Definition launchSimProcess.h:147
virtual void setSiteId(int val)
virtual void setApplicationId(int val)
static LaunchSimProcessMessage * createFrom(LaunchSimProcessMessage *origMsg)
Create a copy of the given message.
SimType
SimType enumeration.
Definition launchSimProcess.h:36
@ SimType_FULL
Definition launchSimProcess.h:37
@ SimType_LIMITED
Definition launchSimProcess.h:39
@ SimType_OWNSHIP
Definition launchSimProcess.h:38
bool operator==(const LaunchSimProcessMessage &rhs) const
virtual void deserialize(DtStreamReader &reader) override
Deserializes the message from a stream reader.
LaunchSimProcessData myData
Definition launchSimProcess.h:150
static const makVre::DtVreMessageId & theId()
Get the message identifier for this message class.
virtual ~LaunchSimProcessMessage() override
Destructor.
LaunchSimProcessData getData() const
Get a copy of the message data (const).
virtual int messageSize() const override
Get a copy of the message data.
virtual void serialize(DtStreamWriter &writer) const override
Serializes the message to a stream writer.
static UInt64 theVersionNumber()
Get the version number for this message class.
static UInt64 theVersion
Definition launchSimProcess.h:148
virtual const std::string & type() const override
Get the message type string for this instance.
virtual int getSiteId() const
static LaunchSimProcessMessage * create()
Create a copy of the given message.
virtual const makVre::DtVreMessageId & messageId() const override
Get the message identifier for this instance.
virtual SimType getSimType() const
static const std::string & theType()
Get the message type string for this instance.
LaunchSimProcessData getData()
Get a copy of the message data.
virtual void setSimType(SimType 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 * LaunchSimProcessMessageType
Message type identifier for LaunchSimProcessMessage.
Definition launchSimProcess.h:21
Data payload for LaunchSimProcessMessage.
Definition launchSimProcess.h:44
int myApplicationId
Definition launchSimProcess.h:52
int mySiteId
Definition launchSimProcess.h:51
SimType mySimType
Definition launchSimProcess.h:53
bool operator!=(const LaunchSimProcessData &rhs) const
bool operator==(const LaunchSimProcessData &rhs) const
Defines the base class for all VREngage messages.
Defines message identifier class for the VREngage messaging system.