VR-Engage  2.3
Loading...
Searching...
No Matches
addChannelEventProcessorAssociation.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 <string>
18
19namespace makVre
20{
21//! \brief Message type identifier for AddChannelEventProcessorAssociationMessage.
22constexpr const char* AddChannelEventProcessorAssociationMessageType = "channel.addChannelEventProcessorAssociation";
23
24/**
25 * \class AddChannelEventProcessorAssociationMessage
26 * \brief Used to redirect one channel's event processor actions to another. Used on minimap creation to enable events (mouse movements, for example) that occur on one channel to be processed by another channel.
27 *
28 * Message type: "channel.addChannelEventProcessorAssociation"
29 *
30 * \note This is an auto-generated class. Do not modify directly.
31 */
33{
34public:
35
36 //! \brief Data payload for AddChannelEventProcessorAssociationMessage.
38 {
39 //! \brief Default constructor.
41
42 //! \name Data Members
43 //! \{
44
45 std::string mySourceChannel;
46 std::string mySourceWindow;
49 //! \}
50
51 //! \name Operators
52 //! \{
55 //! \}
56 };
57
58 //! \brief Destructor.
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 std::string& getSourceChannel() const;
99 virtual void setSourceChannel(const std::string& val);
100
101 virtual const std::string& getSourceWindow() const;
102 virtual void setSourceWindow(const std::string& val);
103
104 virtual const std::string& getDestinationChannel() const;
105 virtual void setDestinationChannel(const std::string& val);
106
107 virtual const std::string& getDestinationWindow() const;
108 virtual void setDestinationWindow(const std::string& val);
109 //! \}
110
111 //! \name Serialization
112 //! \{
113 //! \copydoc makVre::DtVreMessage::messageSize()
114 virtual int messageSize() const override;
115
116 //! \brief Decode a message from a byte buffer.
117 //! \param buffer The raw byte buffer to decode from.
118 //! \param length The length of the buffer in bytes.
119 //! \return A dynamically allocated decoded message. Caller takes ownership.
120 static makVre::DtVreMessage* decode(char* buffer, int length);
121
122 //! \brief Get a copy of the message data.
124
125 //! \brief Get a copy of the message data (const).
127 //! \}
128
129 //! \name Operators
130 //! \{
133 //! \}
134
135protected:
137
138 //! \copydoc makVre::DtVreMessage::serialize()
139 virtual void serialize(DtStreamWriter& writer) const override;
140
141 //! \copydoc makVre::DtVreMessage::deserialize()
142 virtual void deserialize(DtStreamReader& reader) override;
143
144protected:
147
149};
150} // namespace makVre
151
bool operator!=(const AddChannelEventProcessorAssociationMessage &rhs) const
virtual ~AddChannelEventProcessorAssociationMessage() override
Destructor.
virtual void deserialize(DtStreamReader &reader) override
Deserializes the message from a stream reader.
static makVre::DtVreMessageId theMessageId
Definition addChannelEventProcessorAssociation.h:145
static AddChannelEventProcessorAssociationMessage * createFrom(AddChannelEventProcessorAssociationMessage *origMsg)
Create a copy of the given message.
virtual const std::string & getSourceWindow() const
AddChannelEventProcessorAssociationData getData()
Get a copy of the message data.
static const makVre::DtVreMessageId & theId()
Get the message identifier for this message class.
static const std::string & theType()
Get the message type string for this instance.
static UInt64 theVersionNumber()
Get the version number for this message class.
bool operator==(const AddChannelEventProcessorAssociationMessage &rhs) const
static AddChannelEventProcessorAssociationMessage * createFromData(const AddChannelEventProcessorAssociationData data)
Create a new message initialized with the given data.
virtual void serialize(DtStreamWriter &writer) const override
Serializes the message to a stream writer.
virtual const std::string & getSourceChannel() const
static UInt64 theVersion
Definition addChannelEventProcessorAssociation.h:146
virtual void setSourceChannel(const std::string &val)
virtual const std::string & type() const override
Get the message type string for this instance.
virtual void setSourceWindow(const std::string &val)
static AddChannelEventProcessorAssociationMessage * create()
Create a copy of the given message.
virtual void setDestinationChannel(const std::string &val)
virtual void setDestinationWindow(const std::string &val)
AddChannelEventProcessorAssociationData 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.
virtual const std::string & getDestinationWindow() const
virtual int messageSize() const override
Get a copy of the message data.
virtual const std::string & getDestinationChannel() const
AddChannelEventProcessorAssociationData myData
Definition addChannelEventProcessorAssociation.h:148
virtual const makVre::DtVreMessageId & messageId() const override
Get the message identifier for this instance.
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
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 * AddChannelEventProcessorAssociationMessageType
Message type identifier for AddChannelEventProcessorAssociationMessage.
Definition addChannelEventProcessorAssociation.h:22
Data payload for AddChannelEventProcessorAssociationMessage.
Definition addChannelEventProcessorAssociation.h:38
bool operator==(const AddChannelEventProcessorAssociationData &rhs) const
bool operator!=(const AddChannelEventProcessorAssociationData &rhs) const
std::string myDestinationWindow
Definition addChannelEventProcessorAssociation.h:48
std::string mySourceWindow
Definition addChannelEventProcessorAssociation.h:46
std::string mySourceChannel
Definition addChannelEventProcessorAssociation.h:45
std::string myDestinationChannel
Definition addChannelEventProcessorAssociation.h:47
Defines the base class for all VREngage messages.
Defines message identifier class for the VREngage messaging system.