VR-Engage  2.3
Loading...
Searching...
No Matches
vrfSetGimbalTrackMode.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 <string>
19
20namespace makVre
21{
22//! \brief Message type identifier for VrfSetGimbalTrackModeMessage.
23constexpr const char* VrfSetGimbalTrackModeMessageType = "vrf.set.entity.gimbalTrackMode";
24
25/**
26 * \class VrfSetGimbalTrackModeMessage
27 * \brief Send to the DtVrfRemoteControlConnector to generate a VRF set gimbal track mode request.
28 *
29 * Message type: "vrf.set.entity.gimbalTrackMode"
30 *
31 * \note This is an auto-generated class. Do not modify directly.
32 */
34{
35public:
36 //! \brief TrackMode enumeration.
45
46 //! \brief Data payload for VrfSetGimbalTrackModeMessage.
48 {
49 //! \brief Default constructor.
51
52 //! \name Data Members
53 //! \{
54
55 DtEntityIdentifier myHostId;
56 std::string mySensorName;
58 //! \}
59
60 //! \name Operators
61 //! \{
62 bool operator==(const VrfSetGimbalTrackModeData& rhs) const;
63 bool operator!=(const VrfSetGimbalTrackModeData& rhs) const;
64 //! \}
65 };
66
67 //! \brief Destructor.
69
70 //! \name Static Creators
71 //! \{
72 //! \brief Create a new default instance.
73 //! \return A dynamically allocated default message. Caller takes ownership.
75
76 //! \brief Create a copy of the given message.
77 //! \param origMsg The message to copy. Must not be null.
78 //! \return A dynamically allocated copy. Caller takes ownership.
80
81 //! \brief Create a new message initialized with the given data.
82 //! \param data The data payload to initialize the message with.
83 //! \return A dynamically allocated message. Caller takes ownership.
85 //! \}
86
87 //! \name Type Identity
88 //! \{
89 //! \brief Get the message type string for this message class.
90 static const std::string& theType();
91
92 //! \brief Get the message identifier for this message class.
94
95 //! \brief Get the version number for this message class.
97
98 //! \brief Get the message type string for this instance.
99 virtual const std::string& type() const override;
100
101 //! \brief Get the message identifier for this instance.
102 virtual const makVre::DtVreMessageId& messageId() const override;
103 //! \}
104
105 //! \name Accessors
106 //! \{
107 virtual const DtEntityIdentifier& getHostId() const;
108 virtual void setHostId(const DtEntityIdentifier& val);
109
110 virtual const std::string& getSensorName() const;
111 virtual void setSensorName(const std::string& val);
112
113 virtual TrackMode getMode() const;
114 virtual void setMode(TrackMode val);
115 //! \}
116
117 //! \name Serialization
118 //! \{
119 //! \copydoc makVre::DtVreMessage::messageSize()
120 virtual int messageSize() const override;
121
122 //! \brief Decode a message from a byte buffer.
123 //! \param buffer The raw byte buffer to decode from.
124 //! \param length The length of the buffer in bytes.
125 //! \return A dynamically allocated decoded message. Caller takes ownership.
126 static makVre::DtVreMessage* decode(char* buffer, int length);
127
128 //! \brief Get a copy of the message data.
130
131 //! \brief Get a copy of the message data (const).
133 //! \}
134
135 //! \name Operators
136 //! \{
139 //! \}
140
141protected:
143
144 //! \copydoc makVre::DtVreMessage::serialize()
145 virtual void serialize(DtStreamWriter& writer) const override;
146
147 //! \copydoc makVre::DtVreMessage::deserialize()
148 virtual void deserialize(DtStreamReader& reader) override;
149
150protected:
153
155};
156} // namespace makVre
157
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 setHostId(const DtEntityIdentifier &val)
static UInt64 theVersion
Definition vrfSetGimbalTrackMode.h:152
static VrfSetGimbalTrackModeMessage * createFrom(VrfSetGimbalTrackModeMessage *origMsg)
Create a copy of the given message.
virtual int messageSize() const override
Get a copy of the message data.
virtual TrackMode getMode() const
VrfSetGimbalTrackModeData myData
Definition vrfSetGimbalTrackMode.h:154
virtual ~VrfSetGimbalTrackModeMessage() override
Destructor.
virtual void deserialize(DtStreamReader &reader) override
Deserializes the message from a stream reader.
virtual void setMode(TrackMode val)
virtual const std::string & type() const override
Get the message type string for this instance.
virtual void serialize(DtStreamWriter &writer) const override
Serializes the message to a stream writer.
static UInt64 theVersionNumber()
Get the version number for this message class.
static VrfSetGimbalTrackModeMessage * createFromData(const VrfSetGimbalTrackModeData data)
Create a new message initialized with the given data.
static VrfSetGimbalTrackModeMessage * create()
Create a copy of the given message.
virtual const DtEntityIdentifier & getHostId() const
static const std::string & theType()
Get the message type string for this instance.
bool operator==(const VrfSetGimbalTrackModeMessage &rhs) const
bool operator!=(const VrfSetGimbalTrackModeMessage &rhs) const
static makVre::DtVreMessage * decode(char *buffer, int length)
Decode a message from a byte buffer.
TrackMode
TrackMode enumeration.
Definition vrfSetGimbalTrackMode.h:38
@ TrackMode_TrackLocation
Definition vrfSetGimbalTrackMode.h:41
@ TrackMode_TrackEntity
Definition vrfSetGimbalTrackMode.h:40
@ TrackMode_Manual
Definition vrfSetGimbalTrackMode.h:43
@ TrackMode_Scan
Definition vrfSetGimbalTrackMode.h:42
@ TrackMode_FixedAngle
Definition vrfSetGimbalTrackMode.h:39
virtual const std::string & getSensorName() const
VrfSetGimbalTrackModeData getData() const
Get a copy of the message data (const).
virtual void setSensorName(const std::string &val)
virtual const makVre::DtVreMessageId & messageId() const override
Get the message identifier for this instance.
static makVre::DtVreMessageId theMessageId
Definition vrfSetGimbalTrackMode.h:151
static const makVre::DtVreMessageId & theId()
Get the message identifier for this message class.
VrfSetGimbalTrackModeData getData()
Get a copy of the message data.
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
constexpr const char * VrfSetGimbalTrackModeMessageType
Message type identifier for VrfSetGimbalTrackModeMessage.
Definition vrfSetGimbalTrackMode.h:23
unsigned long long UInt64
Unsigned 64-bit integer type.
Definition utilFunctions.h:42
Data payload for VrfSetGimbalTrackModeMessage.
Definition vrfSetGimbalTrackMode.h:48
std::string mySensorName
Definition vrfSetGimbalTrackMode.h:56
bool operator!=(const VrfSetGimbalTrackModeData &rhs) const
TrackMode myMode
Definition vrfSetGimbalTrackMode.h:57
DtEntityIdentifier myHostId
Definition vrfSetGimbalTrackMode.h:55
bool operator==(const VrfSetGimbalTrackModeData &rhs) const
Defines the base class for all VREngage messages.
Defines message identifier class for the VREngage messaging system.