VR-Engage  2.3
Loading...
Searching...
No Matches
updateConnectionDriver.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/connectionsInfo.lua
11*/
12#pragma once
13
16#include <vreMessages/export.h>
17#include <string>
18
19namespace makVre
20{
21//! \brief Message type identifier for UpdateConnectionDriverMessage.
22constexpr const char* UpdateConnectionDriverMessageType = "conn.info.update";
23
24/**
25 * \class UpdateConnectionDriverMessage
26 * \brief Sent from the connection page to the connection driver to update connection settings.
27 *
28 * Message type: "conn.info.update"
29 *
30 * \note This is an auto-generated class. Do not modify directly.
31 */
33{
34public:
35 //! \brief Type enumeration.
42
43 //! \brief Data payload for UpdateConnectionDriverMessage.
45 {
46 //! \brief Default constructor.
48
49 //! \name Data Members
50 //! \{
51
52 std::string myName;
53 std::string myDriverType;
55 bool myValue;
56 //! \}
57
58 //! \name Operators
59 //! \{
60 bool operator==(const UpdateConnectionDriverData& rhs) const;
61 bool operator!=(const UpdateConnectionDriverData& rhs) const;
62 //! \}
63 };
64
65 //! \brief Destructor.
67
68 //! \name Static Creators
69 //! \{
70 //! \brief Create a new default instance.
71 //! \return A dynamically allocated default message. Caller takes ownership.
73
74 //! \brief Create a copy of the given message.
75 //! \param origMsg The message to copy. Must not be null.
76 //! \return A dynamically allocated copy. Caller takes ownership.
78
79 //! \brief Create a new message initialized with the given data.
80 //! \param data The data payload to initialize the message with.
81 //! \return A dynamically allocated message. Caller takes ownership.
83 //! \}
84
85 //! \name Type Identity
86 //! \{
87 //! \brief Get the message type string for this message class.
88 static const std::string& theType();
89
90 //! \brief Get the message identifier for this message class.
92
93 //! \brief Get the version number for this message class.
95
96 //! \brief Get the message type string for this instance.
97 virtual const std::string& type() const override;
98
99 //! \brief Get the message identifier for this instance.
100 virtual const makVre::DtVreMessageId& messageId() const override;
101 //! \}
102
103 //! \name Accessors
104 //! \{
105 virtual const std::string& getName() const;
106 virtual void setName(const std::string& val);
107
108 virtual const std::string& getDriverType() const;
109 virtual void setDriverType(const std::string& val);
110
111 virtual Type getType() const;
112 virtual void setType(Type val);
113
114 virtual bool getValue() const;
115 virtual void setValue(bool val);
116 //! \}
117
118 //! \name Serialization
119 //! \{
120 //! \copydoc makVre::DtVreMessage::messageSize()
121 virtual int messageSize() const override;
122
123 //! \brief Decode a message from a byte buffer.
124 //! \param buffer The raw byte buffer to decode from.
125 //! \param length The length of the buffer in bytes.
126 //! \return A dynamically allocated decoded message. Caller takes ownership.
127 static makVre::DtVreMessage* decode(char* buffer, int length);
128
129 //! \brief Get a copy of the message data.
131
132 //! \brief Get a copy of the message data (const).
134 //! \}
135
136 //! \name Operators
137 //! \{
140 //! \}
141
142protected:
144
145 //! \copydoc makVre::DtVreMessage::serialize()
146 virtual void serialize(DtStreamWriter& writer) const override;
147
148 //! \copydoc makVre::DtVreMessage::deserialize()
149 virtual void deserialize(DtStreamReader& reader) override;
150
151protected:
154
156};
157} // namespace makVre
158
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 void deserialize(DtStreamReader &reader) override
Deserializes the message from a stream reader.
virtual int messageSize() const override
Get a copy of the message data.
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 void setDriverType(const std::string &val)
virtual void serialize(DtStreamWriter &writer) const override
Serializes the message to a stream writer.
bool operator!=(const UpdateConnectionDriverMessage &rhs) const
UpdateConnectionDriverData getData()
Get a copy of the message data.
bool operator==(const UpdateConnectionDriverMessage &rhs) const
static const makVre::DtVreMessageId & theId()
Get the message identifier for this message class.
UpdateConnectionDriverData getData() const
Get a copy of the message data (const).
static UpdateConnectionDriverMessage * create()
Create a copy of the given message.
UpdateConnectionDriverData myData
Definition updateConnectionDriver.h:155
virtual const std::string & getDriverType() const
virtual void setName(const std::string &val)
static UpdateConnectionDriverMessage * createFrom(UpdateConnectionDriverMessage *origMsg)
Create a copy of the given message.
static const std::string & theType()
Get the message type string for this instance.
static makVre::DtVreMessage * decode(char *buffer, int length)
Decode a message from a byte buffer.
Type
Type enumeration.
Definition updateConnectionDriver.h:37
@ Type_CONNECTION
Definition updateConnectionDriver.h:38
@ Type_UNKNOWN
Definition updateConnectionDriver.h:40
@ Type_AUTOSTART
Definition updateConnectionDriver.h:39
virtual ~UpdateConnectionDriverMessage() override
Destructor.
static UInt64 theVersion
Definition updateConnectionDriver.h:153
static UpdateConnectionDriverMessage * createFromData(const UpdateConnectionDriverData data)
Create a new message initialized with the given data.
virtual const std::string & getName() const
virtual const makVre::DtVreMessageId & messageId() const override
Get the message identifier for this instance.
static makVre::DtVreMessageId theMessageId
Definition updateConnectionDriver.h:152
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 * UpdateConnectionDriverMessageType
Message type identifier for UpdateConnectionDriverMessage.
Definition updateConnectionDriver.h:22
Data payload for UpdateConnectionDriverMessage.
Definition updateConnectionDriver.h:45
bool operator==(const UpdateConnectionDriverData &rhs) const
std::string myDriverType
Definition updateConnectionDriver.h:53
bool myValue
Definition updateConnectionDriver.h:55
std::string myName
Definition updateConnectionDriver.h:52
Type myType
Definition updateConnectionDriver.h:54
bool operator!=(const UpdateConnectionDriverData &rhs) const
Defines the base class for all VREngage messages.
Defines message identifier class for the VREngage messaging system.