VR-Engage  2.3
Loading...
Searching...
No Matches
vrfSetAppearance.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/vrfEntitySetDataRequests.lua
11*/
12#pragma once
13
16#include <vreMessages/export.h>
17#include <vlpi/entityIdentifier.h>
18#include <vlpi/entityType.h>
19
20namespace makVre
21{
22//! \brief Message type identifier for VrfSetAppearanceMessage.
23constexpr const char* VrfSetAppearanceMessageType = "vrf.set.entity.appearance";
24
25/**
26 * \class VrfSetAppearanceMessage
27 * \brief Send to the DtVrfRemoteControlConnector to generate a VRF set appearance request.
28 *
29 * Message type: "vrf.set.entity.appearance"
30 *
31 * \note This is an auto-generated class. Do not modify directly.
32 */
34{
35public:
36
37 //! \brief Data payload for VrfSetAppearanceMessage.
39 {
40 //! \brief Default constructor.
42
43 //! \name Data Members
44 //! \{
45
46 DtEntityIdentifier myEntityId;
47 DtEntityType myEntityType;
48 unsigned int myAppearanceBits;
49 //! \}
50
51 //! \name Operators
52 //! \{
53 bool operator==(const VrfSetAppearanceData& rhs) const;
54 bool operator!=(const VrfSetAppearanceData& rhs) const;
55 //! \}
56 };
57
58 //! \brief Destructor.
59 virtual ~VrfSetAppearanceMessage() override;
60
61 //! \name Static Creators
62 //! \{
63 //! \brief Create a new default instance.
64 //! \return A dynamically allocated default message. Caller takes ownership.
66
67 //! \brief Create a copy of the given message.
68 //! \param origMsg The message to copy. Must not be null.
69 //! \return A dynamically allocated copy. Caller takes ownership.
71
72 //! \brief Create a new message initialized with the given data.
73 //! \param data The data payload to initialize the message with.
74 //! \return A dynamically allocated message. Caller takes ownership.
76 //! \}
77
78 //! \name Type Identity
79 //! \{
80 //! \brief Get the message type string for this message class.
81 static const std::string& theType();
82
83 //! \brief Get the message identifier for this message class.
85
86 //! \brief Get the version number for this message class.
88
89 //! \brief Get the message type string for this instance.
90 virtual const std::string& type() const override;
91
92 //! \brief Get the message identifier for this instance.
93 virtual const makVre::DtVreMessageId& messageId() const override;
94 //! \}
95
96 //! \name Accessors
97 //! \{
98 virtual const DtEntityIdentifier& getEntityId() const;
99 virtual void setEntityId(const DtEntityIdentifier& val);
100
101 virtual const DtEntityType& getEntityType() const;
102 virtual void setEntityType(const DtEntityType& val);
103
104 virtual unsigned int getAppearanceBits() const;
105 virtual void setAppearanceBits(unsigned int val);
106 //! \}
107
108 //! \name Serialization
109 //! \{
110 //! \copydoc makVre::DtVreMessage::messageSize()
111 virtual int messageSize() const override;
112
113 //! \brief Decode a message from a byte buffer.
114 //! \param buffer The raw byte buffer to decode from.
115 //! \param length The length of the buffer in bytes.
116 //! \return A dynamically allocated decoded message. Caller takes ownership.
117 static makVre::DtVreMessage* decode(char* buffer, int length);
118
119 //! \brief Get a copy of the message data.
121
122 //! \brief Get a copy of the message data (const).
124 //! \}
125
126 //! \name Operators
127 //! \{
128 bool operator==(const VrfSetAppearanceMessage& rhs) const;
129 bool operator!=(const VrfSetAppearanceMessage& rhs) const;
130 //! \}
131
132protected:
134
135 //! \copydoc makVre::DtVreMessage::serialize()
136 virtual void serialize(DtStreamWriter& writer) const override;
137
138 //! \copydoc makVre::DtVreMessage::deserialize()
139 virtual void deserialize(DtStreamReader& reader) override;
140
141protected:
144
146};
147} // namespace makVre
148
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 VrfSetAppearanceMessage * create()
Create a copy of the given message.
bool operator!=(const VrfSetAppearanceMessage &rhs) const
VrfSetAppearanceData getData()
Get a copy of the message data.
static makVre::DtVreMessageId theMessageId
Definition vrfSetAppearance.h:142
static makVre::DtVreMessage * decode(char *buffer, int length)
Decode a message from a byte buffer.
virtual const DtEntityIdentifier & getEntityId() const
virtual void setEntityType(const DtEntityType &val)
VrfSetAppearanceData getData() const
Get a copy of the message data (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.
bool operator==(const VrfSetAppearanceMessage &rhs) const
virtual void setEntityId(const DtEntityIdentifier &val)
VrfSetAppearanceData myData
Definition vrfSetAppearance.h:145
virtual unsigned int getAppearanceBits() const
static VrfSetAppearanceMessage * createFrom(VrfSetAppearanceMessage *origMsg)
Create a copy of the given message.
static VrfSetAppearanceMessage * createFromData(const VrfSetAppearanceData data)
Create a new message initialized with the given data.
virtual const DtEntityType & getEntityType() const
virtual const makVre::DtVreMessageId & messageId() const override
Get the message identifier for this instance.
static UInt64 theVersionNumber()
Get the version number for this message class.
virtual ~VrfSetAppearanceMessage() override
Destructor.
virtual void serialize(DtStreamWriter &writer) const override
Serializes the message to a stream writer.
virtual void deserialize(DtStreamReader &reader) override
Deserializes the message from a stream reader.
static const makVre::DtVreMessageId & theId()
Get the message identifier for this message class.
virtual void setAppearanceBits(unsigned int val)
static UInt64 theVersion
Definition vrfSetAppearance.h:143
virtual const std::string & type() const override
Get the message type string for this instance.
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 * VrfSetAppearanceMessageType
Message type identifier for VrfSetAppearanceMessage.
Definition vrfSetAppearance.h:23
Data payload for VrfSetAppearanceMessage.
Definition vrfSetAppearance.h:39
unsigned int myAppearanceBits
Definition vrfSetAppearance.h:48
DtEntityIdentifier myEntityId
Definition vrfSetAppearance.h:46
bool operator!=(const VrfSetAppearanceData &rhs) const
bool operator==(const VrfSetAppearanceData &rhs) const
DtEntityType myEntityType
Definition vrfSetAppearance.h:47
Defines the base class for all VREngage messages.
Defines message identifier class for the VREngage messaging system.