VR-Engage  2.3
Loading...
Searching...
No Matches
vrfSetAimAtPoint.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 <matrix/vlVector.h>
19
20namespace makVre
21{
22//! \brief Message type identifier for VrfSetAimAtPointMessage.
23constexpr const char* VrfSetAimAtPointMessageType = "vrf.set.entity.aimAtPoint";
24
25/**
26 * \class VrfSetAimAtPointMessage
27 * \brief Send to the DtVrfRemoteControlConnector to generate a VRF set aim at point request.
28 *
29 * Message type: "vrf.set.entity.aimAtPoint"
30 *
31 * \note This is an auto-generated class. Do not modify directly.
32 */
34{
35public:
36 //! \brief AimType enumeration.
44
45 //! \brief Data payload for VrfSetAimAtPointMessage.
47 {
48 //! \brief Default constructor.
50
51 //! \name Data Members
52 //! \{
53
54 DtEntityIdentifier myEntityId;
56 DtVector myAimingPoint;
57 DtEntityIdentifier myTarget;
58 double myAzimuth;
60 //! \}
61
62 //! \name Operators
63 //! \{
64 bool operator==(const VrfSetAimAtPointData& rhs) const;
65 bool operator!=(const VrfSetAimAtPointData& rhs) const;
66 //! \}
67 };
68
69 //! \brief Destructor.
70 virtual ~VrfSetAimAtPointMessage() override;
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 const DtEntityIdentifier& getEntityId() const;
110 virtual void setEntityId(const DtEntityIdentifier& val);
111
112 virtual AimType getAimType() const;
113 virtual void setAimType(AimType val);
114
115 virtual const DtVector& getAimingPoint() const;
116 virtual void setAimingPoint(const DtVector& val);
117
118 virtual const DtEntityIdentifier& getTarget() const;
119 virtual void setTarget(const DtEntityIdentifier& val);
120
121 virtual double getAzimuth() const;
122 virtual void setAzimuth(double val);
123
124 virtual double getElevation() const;
125 virtual void setElevation(double 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 //! \{
148 bool operator==(const VrfSetAimAtPointMessage& rhs) const;
149 bool operator!=(const VrfSetAimAtPointMessage& rhs) const;
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
static makVre::DtVreMessageId theMessageId
Definition vrfSetAimAtPoint.h:162
static const std::string & theType()
Get the message type string for this instance.
virtual void setElevation(double val)
virtual void serialize(DtStreamWriter &writer) const override
Serializes the message to a stream writer.
static VrfSetAimAtPointMessage * create()
Create a copy of the given message.
bool operator!=(const VrfSetAimAtPointMessage &rhs) const
static const makVre::DtVreMessageId & theId()
Get the message identifier for this message class.
virtual double getElevation() const
virtual void setTarget(const DtEntityIdentifier &val)
static UInt64 theVersionNumber()
Get the version number for this message class.
virtual const DtEntityIdentifier & getTarget() const
virtual void setAimingPoint(const DtVector &val)
virtual int messageSize() const override
Get a copy of the message data.
static VrfSetAimAtPointMessage * createFrom(VrfSetAimAtPointMessage *origMsg)
Create a copy of the given message.
virtual const DtEntityIdentifier & getEntityId() const
static VrfSetAimAtPointMessage * createFromData(const VrfSetAimAtPointData data)
Create a new message initialized with the given data.
virtual const std::string & type() const override
Get the message type string for this instance.
VrfSetAimAtPointData getData() const
Get a copy of the message data (const).
AimType
AimType enumeration.
Definition vrfSetAimAtPoint.h:38
@ AimType_POINT
Definition vrfSetAimAtPoint.h:39
@ AimType_ANGLE
Definition vrfSetAimAtPoint.h:41
@ AimType_CEASE_AIMING
Definition vrfSetAimAtPoint.h:42
@ AimType_OBJECT
Definition vrfSetAimAtPoint.h:40
virtual void setEntityId(const DtEntityIdentifier &val)
bool operator==(const VrfSetAimAtPointMessage &rhs) const
virtual double getAzimuth() const
virtual void setAzimuth(double val)
static UInt64 theVersion
Definition vrfSetAimAtPoint.h:163
VrfSetAimAtPointData getData()
Get a copy of the message data.
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 const DtVector & getAimingPoint() const
virtual void deserialize(DtStreamReader &reader) override
Deserializes the message from a stream reader.
VrfSetAimAtPointData myData
Definition vrfSetAimAtPoint.h:165
virtual ~VrfSetAimAtPointMessage() override
Destructor.
virtual AimType getAimType() const
virtual void setAimType(AimType val)
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 * VrfSetAimAtPointMessageType
Message type identifier for VrfSetAimAtPointMessage.
Definition vrfSetAimAtPoint.h:23
Data payload for VrfSetAimAtPointMessage.
Definition vrfSetAimAtPoint.h:47
bool operator!=(const VrfSetAimAtPointData &rhs) const
DtVector myAimingPoint
Definition vrfSetAimAtPoint.h:56
double myElevation
Definition vrfSetAimAtPoint.h:59
DtEntityIdentifier myEntityId
Definition vrfSetAimAtPoint.h:54
DtEntityIdentifier myTarget
Definition vrfSetAimAtPoint.h:57
double myAzimuth
Definition vrfSetAimAtPoint.h:58
AimType myAimType
Definition vrfSetAimAtPoint.h:55
bool operator==(const VrfSetAimAtPointData &rhs) const
Defines the base class for all VREngage messages.
Defines message identifier class for the VREngage messaging system.