VR-Engage  2.3
Loading...
Searching...
No Matches
vrfSetGimbalTrackLocation.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#include <matrix/vlVector.h>
20
21namespace makVre
22{
23//! \brief Message type identifier for VrfSetGimbalTrackLocationMessage.
24constexpr const char* VrfSetGimbalTrackLocationMessageType = "vrf.set.entity.gimbalTrackLocation";
25
26/**
27 * \class VrfSetGimbalTrackLocationMessage
28 * \brief Send to the DtVrfRemoteControlConnector to generate a VRF set gimbal track location request.
29 *
30 * Message type: "vrf.set.entity.gimbalTrackLocation"
31 *
32 * \note This is an auto-generated class. Do not modify directly.
33 */
35{
36public:
37
38 //! \brief Data payload for VrfSetGimbalTrackLocationMessage.
40 {
41 //! \brief Default constructor.
43
44 //! \name Data Members
45 //! \{
46
47 DtEntityIdentifier myEntityId;
48 std::string mySensorName;
50 //! \}
51
52 //! \name Operators
53 //! \{
56 //! \}
57 };
58
59 //! \brief Destructor.
61
62 //! \name Static Creators
63 //! \{
64 //! \brief Create a new default instance.
65 //! \return A dynamically allocated default message. Caller takes ownership.
67
68 //! \brief Create a copy of the given message.
69 //! \param origMsg The message to copy. Must not be null.
70 //! \return A dynamically allocated copy. Caller takes ownership.
72
73 //! \brief Create a new message initialized with the given data.
74 //! \param data The data payload to initialize the message with.
75 //! \return A dynamically allocated message. Caller takes ownership.
77 //! \}
78
79 //! \name Type Identity
80 //! \{
81 //! \brief Get the message type string for this message class.
82 static const std::string& theType();
83
84 //! \brief Get the message identifier for this message class.
86
87 //! \brief Get the version number for this message class.
89
90 //! \brief Get the message type string for this instance.
91 virtual const std::string& type() const override;
92
93 //! \brief Get the message identifier for this instance.
94 virtual const makVre::DtVreMessageId& messageId() const override;
95 //! \}
96
97 //! \name Accessors
98 //! \{
99 virtual const DtEntityIdentifier& getEntityId() const;
100 virtual void setEntityId(const DtEntityIdentifier& val);
101
102 virtual const std::string& getSensorName() const;
103 virtual void setSensorName(const std::string& val);
104
105 virtual const DtVector& getTargetWorldPosition() const;
106 virtual void setTargetWorldPosition(const DtVector& val);
107 //! \}
108
109 //! \name Serialization
110 //! \{
111 //! \copydoc makVre::DtVreMessage::messageSize()
112 virtual int messageSize() const override;
113
114 //! \brief Decode a message from a byte buffer.
115 //! \param buffer The raw byte buffer to decode from.
116 //! \param length The length of the buffer in bytes.
117 //! \return A dynamically allocated decoded message. Caller takes ownership.
118 static makVre::DtVreMessage* decode(char* buffer, int length);
119
120 //! \brief Get a copy of the message data.
122
123 //! \brief Get a copy of the message data (const).
125 //! \}
126
127 //! \name Operators
128 //! \{
131 //! \}
132
133protected:
135
136 //! \copydoc makVre::DtVreMessage::serialize()
137 virtual void serialize(DtStreamWriter& writer) const override;
138
139 //! \copydoc makVre::DtVreMessage::deserialize()
140 virtual void deserialize(DtStreamReader& reader) override;
141
142protected:
145
147};
148} // namespace makVre
149
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 & getSensorName() const
VrfSetGimbalTrackLocationData myData
Definition vrfSetGimbalTrackLocation.h:146
bool operator==(const VrfSetGimbalTrackLocationMessage &rhs) const
static UInt64 theVersion
Definition vrfSetGimbalTrackLocation.h:144
virtual const DtEntityIdentifier & getEntityId() const
virtual const std::string & type() const override
Get the message type string for this instance.
virtual void deserialize(DtStreamReader &reader) override
Deserializes the message from a stream reader.
virtual void setSensorName(const std::string &val)
static const makVre::DtVreMessageId & theId()
Get the message identifier for this message class.
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.
static VrfSetGimbalTrackLocationMessage * createFromData(const VrfSetGimbalTrackLocationData data)
Create a new message initialized with the given data.
VrfSetGimbalTrackLocationData getData()
Get a copy of the message data.
virtual void serialize(DtStreamWriter &writer) const override
Serializes the message to a stream writer.
static VrfSetGimbalTrackLocationMessage * create()
Create a copy of the given message.
static makVre::DtVreMessage * decode(char *buffer, int length)
Decode a message from a byte buffer.
virtual const makVre::DtVreMessageId & messageId() const override
Get the message identifier for this instance.
virtual void setEntityId(const DtEntityIdentifier &val)
static makVre::DtVreMessageId theMessageId
Definition vrfSetGimbalTrackLocation.h:143
VrfSetGimbalTrackLocationData getData() const
Get a copy of the message data (const).
static UInt64 theVersionNumber()
Get the version number for this message class.
virtual const DtVector & getTargetWorldPosition() const
virtual void setTargetWorldPosition(const DtVector &val)
virtual ~VrfSetGimbalTrackLocationMessage() override
Destructor.
bool operator!=(const VrfSetGimbalTrackLocationMessage &rhs) const
static VrfSetGimbalTrackLocationMessage * createFrom(VrfSetGimbalTrackLocationMessage *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
constexpr const char * VrfSetGimbalTrackLocationMessageType
Message type identifier for VrfSetGimbalTrackLocationMessage.
Definition vrfSetGimbalTrackLocation.h:24
unsigned long long UInt64
Unsigned 64-bit integer type.
Definition utilFunctions.h:42
Data payload for VrfSetGimbalTrackLocationMessage.
Definition vrfSetGimbalTrackLocation.h:40
DtVector myTargetWorldPosition
Definition vrfSetGimbalTrackLocation.h:49
bool operator==(const VrfSetGimbalTrackLocationData &rhs) const
DtEntityIdentifier myEntityId
Definition vrfSetGimbalTrackLocation.h:47
bool operator!=(const VrfSetGimbalTrackLocationData &rhs) const
std::string mySensorName
Definition vrfSetGimbalTrackLocation.h:48
Defines the base class for all VREngage messages.
Defines message identifier class for the VREngage messaging system.