VR-Engage  2.3
Loading...
Searching...
No Matches
SetRadarModeAndSubmode.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/radarScope.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 SetRadarModeAndSubmodeMessage.
23constexpr const char* SetRadarModeAndSubmodeMessageType = "radarScope.setRadarModeAndSubmode";
24
25/**
26 * \class SetRadarModeAndSubmodeMessage
27 * \brief Sets the mode and submode of the specified radar. If submode is STT, sttTarget will be tracked. Set mode to "OFF" to disable the radar.
28 *
29 * Message type: "radarScope.setRadarModeAndSubmode"
30 *
31 * \note This is an auto-generated class. Do not modify directly.
32 */
34{
35public:
36
37 //! \brief Data payload for SetRadarModeAndSubmodeMessage.
39 {
40 //! \brief Default constructor.
42
43 //! \name Data Members
44 //! \{
45
46 DtEntityIdentifier myHostId;
47 std::string myRadarName;
48 std::string myMode;
49 std::string mySubMode;
51 //! \}
52
53 //! \name Operators
54 //! \{
55 bool operator==(const SetRadarModeAndSubmodeData& rhs) const;
56 bool operator!=(const SetRadarModeAndSubmodeData& rhs) const;
57 //! \}
58 };
59
60 //! \brief Destructor.
62
63 //! \name Static Creators
64 //! \{
65 //! \brief Create a new default instance.
66 //! \return A dynamically allocated default message. Caller takes ownership.
68
69 //! \brief Create a copy of the given message.
70 //! \param origMsg The message to copy. Must not be null.
71 //! \return A dynamically allocated copy. Caller takes ownership.
73
74 //! \brief Create a new message initialized with the given data.
75 //! \param data The data payload to initialize the message with.
76 //! \return A dynamically allocated message. Caller takes ownership.
78 //! \}
79
80 //! \name Type Identity
81 //! \{
82 //! \brief Get the message type string for this message class.
83 static const std::string& theType();
84
85 //! \brief Get the message identifier for this message class.
87
88 //! \brief Get the version number for this message class.
90
91 //! \brief Get the message type string for this instance.
92 virtual const std::string& type() const override;
93
94 //! \brief Get the message identifier for this instance.
95 virtual const makVre::DtVreMessageId& messageId() const override;
96 //! \}
97
98 //! \name Accessors
99 //! \{
100 virtual const DtEntityIdentifier& getHostId() const;
101 virtual void setHostId(const DtEntityIdentifier& val);
102
103 virtual const std::string& getRadarName() const;
104 virtual void setRadarName(const std::string& val);
105
106 virtual const std::string& getMode() const;
107 virtual void setMode(const std::string& val);
108
109 virtual const std::string& getSubMode() const;
110 virtual void setSubMode(const std::string& val);
111
112 virtual int getSttTarget() const;
113 virtual void setSttTarget(int val);
114 //! \}
115
116 //! \name Serialization
117 //! \{
118 //! \copydoc makVre::DtVreMessage::messageSize()
119 virtual int messageSize() const override;
120
121 //! \brief Decode a message from a byte buffer.
122 //! \param buffer The raw byte buffer to decode from.
123 //! \param length The length of the buffer in bytes.
124 //! \return A dynamically allocated decoded message. Caller takes ownership.
125 static makVre::DtVreMessage* decode(char* buffer, int length);
126
127 //! \brief Get a copy of the message data.
129
130 //! \brief Get a copy of the message data (const).
132 //! \}
133
134 //! \name Operators
135 //! \{
138 //! \}
139
140protected:
142
143 //! \copydoc makVre::DtVreMessage::serialize()
144 virtual void serialize(DtStreamWriter& writer) const override;
145
146 //! \copydoc makVre::DtVreMessage::deserialize()
147 virtual void deserialize(DtStreamReader& reader) override;
148
149protected:
152
154};
155} // namespace makVre
156
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 UInt64 theVersion
Definition SetRadarModeAndSubmode.h:151
bool operator==(const SetRadarModeAndSubmodeMessage &rhs) const
virtual void serialize(DtStreamWriter &writer) const override
Serializes the message to a stream writer.
virtual const std::string & type() const override
Get the message type string for this instance.
virtual void setHostId(const DtEntityIdentifier &val)
virtual void setMode(const std::string &val)
virtual void setSubMode(const std::string &val)
virtual const DtEntityIdentifier & getHostId() const
SetRadarModeAndSubmodeData myData
Definition SetRadarModeAndSubmode.h:153
virtual ~SetRadarModeAndSubmodeMessage() override
Destructor.
virtual const std::string & getSubMode() const
SetRadarModeAndSubmodeData getData() const
Get a copy of the message data (const).
static SetRadarModeAndSubmodeMessage * createFromData(const SetRadarModeAndSubmodeData data)
Create a new message initialized with the given data.
virtual const std::string & getRadarName() const
static SetRadarModeAndSubmodeMessage * create()
Create a copy of the given message.
static makVre::DtVreMessage * decode(char *buffer, int length)
Decode a message from a byte buffer.
static makVre::DtVreMessageId theMessageId
Definition SetRadarModeAndSubmode.h:150
virtual void setSttTarget(int val)
virtual void setRadarName(const std::string &val)
virtual const std::string & getMode() const
virtual void deserialize(DtStreamReader &reader) override
Deserializes the message from a stream reader.
static const std::string & theType()
Get the message type string for this instance.
static const makVre::DtVreMessageId & theId()
Get the message identifier for this message class.
static UInt64 theVersionNumber()
Get the version number for this message class.
SetRadarModeAndSubmodeData getData()
Get a copy of the message data.
bool operator!=(const SetRadarModeAndSubmodeMessage &rhs) const
virtual int messageSize() const override
Get a copy of the message data.
virtual const makVre::DtVreMessageId & messageId() const override
Get the message identifier for this instance.
static SetRadarModeAndSubmodeMessage * createFrom(SetRadarModeAndSubmodeMessage *origMsg)
Create a copy of the given message.
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 * SetRadarModeAndSubmodeMessageType
Message type identifier for SetRadarModeAndSubmodeMessage.
Definition SetRadarModeAndSubmode.h:23
Data payload for SetRadarModeAndSubmodeMessage.
Definition SetRadarModeAndSubmode.h:39
bool operator!=(const SetRadarModeAndSubmodeData &rhs) const
int mySttTarget
Definition SetRadarModeAndSubmode.h:50
std::string myMode
Definition SetRadarModeAndSubmode.h:48
std::string myRadarName
Definition SetRadarModeAndSubmode.h:47
DtEntityIdentifier myHostId
Definition SetRadarModeAndSubmode.h:46
std::string mySubMode
Definition SetRadarModeAndSubmode.h:49
bool operator==(const SetRadarModeAndSubmodeData &rhs) const
Defines the base class for all VREngage messages.
Defines message identifier class for the VREngage messaging system.