VR-Engage  2.3
Loading...
Searching...
No Matches
renderTextureInitialized.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/windowOperations.lua
11*/
12#pragma once
13
16#include <vreMessages/export.h>
17#include <vlpi/entityIdentifier.h>
18#include <string>
19
20namespace makVre
21{
22//! \brief Message type identifier for RenderTextureInitializedMessage.
23constexpr const char* RenderTextureInitializedMessageType = "ownship.renderTextureInitialized";
24
25/**
26 * \class RenderTextureInitializedMessage
27 * \brief Sent when a render to texture setup has been initialized.
28 *
29 * Message type: "ownship.renderTextureInitialized"
30 *
31 * \note This is an auto-generated class. Do not modify directly.
32 */
34{
35public:
36 //! \brief WindowType enumeration.
44
45 //! \brief Data payload for RenderTextureInitializedMessage.
47 {
48 //! \brief Default constructor.
50
51 //! \name Data Members
52 //! \{
53
56 DtEntityIdentifier myHostId;
57 std::string myCameraStructName;
58 std::string myChannelName;
59 std::string myWindowName;
60 //! \}
61
62 //! \name Operators
63 //! \{
66 //! \}
67 };
68
69 //! \brief Destructor.
71
72 //! \name Static Creators
73 //! \{
74 //! \brief Create a new default instance.
75 //! \return A dynamically allocated default message. Caller takes ownership.
77
78 //! \brief Create a copy of the given message.
79 //! \param origMsg The message to copy. Must not be null.
80 //! \return A dynamically allocated copy. Caller takes ownership.
82
83 //! \brief Create a new message initialized with the given data.
84 //! \param data The data payload to initialize the message with.
85 //! \return A dynamically allocated message. Caller takes ownership.
87 //! \}
88
89 //! \name Type Identity
90 //! \{
91 //! \brief Get the message type string for this message class.
92 static const std::string& theType();
93
94 //! \brief Get the message identifier for this message class.
96
97 //! \brief Get the version number for this message class.
99
100 //! \brief Get the message type string for this instance.
101 virtual const std::string& type() const override;
102
103 //! \brief Get the message identifier for this instance.
104 virtual const makVre::DtVreMessageId& messageId() const override;
105 //! \}
106
107 //! \name Accessors
108 //! \{
109 virtual WindowType getWindowType() const;
110 virtual void setWindowType(WindowType val);
111
112 virtual int getTextureIndex() const;
113 virtual void setTextureIndex(int val);
114
115 virtual const DtEntityIdentifier& getHostId() const;
116 virtual void setHostId(const DtEntityIdentifier& val);
117
118 virtual const std::string& getCameraStructName() const;
119 virtual void setCameraStructName(const std::string& val);
120
121 virtual const std::string& getChannelName() const;
122 virtual void setChannelName(const std::string& val);
123
124 virtual const std::string& getWindowName() const;
125 virtual void setWindowName(const std::string& val);
126 //! \}
127
128 //! \name Serialization
129 //! \{
130 //! \copydoc makVre::DtVreMessage::messageSize()
131 virtual int messageSize() const override;
132
133 //! \brief Decode a message from a byte buffer.
134 //! \param buffer The raw byte buffer to decode from.
135 //! \param length The length of the buffer in bytes.
136 //! \return A dynamically allocated decoded message. Caller takes ownership.
137 static makVre::DtVreMessage* decode(char* buffer, int length);
138
139 //! \brief Get a copy of the message data.
141
142 //! \brief Get a copy of the message data (const).
144 //! \}
145
146 //! \name Operators
147 //! \{
150 //! \}
151
152protected:
154
155 //! \copydoc makVre::DtVreMessage::serialize()
156 virtual void serialize(DtStreamWriter& writer) const override;
157
158 //! \copydoc makVre::DtVreMessage::deserialize()
159 virtual void deserialize(DtStreamReader& reader) override;
160
161protected:
164
166};
167} // namespace makVre
168
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 const std::string & getCameraStructName() const
static RenderTextureInitializedMessage * createFrom(RenderTextureInitializedMessage *origMsg)
Create a copy of the given message.
virtual const std::string & getWindowName() const
virtual void serialize(DtStreamWriter &writer) const override
Serializes the message to a stream writer.
virtual void setChannelName(const std::string &val)
RenderTextureInitializedData getData()
Get a copy of the message data.
WindowType
WindowType enumeration.
Definition renderTextureInitialized.h:38
@ WindowType_PVD
Definition renderTextureInitialized.h:40
@ WindowType_Stealth
Definition renderTextureInitialized.h:41
@ WindowType_InstrumentPanel
Definition renderTextureInitialized.h:42
@ WindowType_Gimbal
Definition renderTextureInitialized.h:39
RenderTextureInitializedData myData
Definition renderTextureInitialized.h:165
virtual void setWindowName(const std::string &val)
virtual void setWindowType(WindowType val)
bool operator!=(const RenderTextureInitializedMessage &rhs) const
virtual const std::string & type() const override
Get the message type string for this instance.
static UInt64 theVersionNumber()
Get the version number for this message class.
static UInt64 theVersion
Definition renderTextureInitialized.h:163
static const makVre::DtVreMessageId & theId()
Get the message identifier for this message class.
virtual const std::string & getChannelName() const
RenderTextureInitializedData getData() const
Get a copy of the message data (const).
static makVre::DtVreMessage * decode(char *buffer, int length)
Decode a message from a byte buffer.
static const std::string & theType()
Get the message type string for this instance.
virtual void setCameraStructName(const std::string &val)
virtual const DtEntityIdentifier & getHostId() const
virtual void deserialize(DtStreamReader &reader) override
Deserializes the message from a stream reader.
virtual WindowType getWindowType() const
static RenderTextureInitializedMessage * createFromData(const RenderTextureInitializedData data)
Create a new message initialized with the given data.
static RenderTextureInitializedMessage * create()
Create a copy of the given message.
bool operator==(const RenderTextureInitializedMessage &rhs) const
virtual int messageSize() const override
Get a copy of the message data.
virtual void setHostId(const DtEntityIdentifier &val)
virtual ~RenderTextureInitializedMessage() override
Destructor.
virtual const makVre::DtVreMessageId & messageId() const override
Get the message identifier for this instance.
static makVre::DtVreMessageId theMessageId
Definition renderTextureInitialized.h:162
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 * RenderTextureInitializedMessageType
Message type identifier for RenderTextureInitializedMessage.
Definition renderTextureInitialized.h:23
Data payload for RenderTextureInitializedMessage.
Definition renderTextureInitialized.h:47
bool operator==(const RenderTextureInitializedData &rhs) const
std::string myCameraStructName
Definition renderTextureInitialized.h:57
DtEntityIdentifier myHostId
Definition renderTextureInitialized.h:56
WindowType myWindowType
Definition renderTextureInitialized.h:54
int myTextureIndex
Definition renderTextureInitialized.h:55
std::string myWindowName
Definition renderTextureInitialized.h:59
std::string myChannelName
Definition renderTextureInitialized.h:58
bool operator!=(const RenderTextureInitializedData &rhs) const
Defines the base class for all VREngage messages.
Defines message identifier class for the VREngage messaging system.