VR-Engage  2.3
Loading...
Searching...
No Matches
vrfSetLookAtPoint.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 VrfSetLookAtPointMessage.
23constexpr const char* VrfSetLookAtPointMessageType = "vrf.set.lookatpoint";
24
25/**
26 * \class VrfSetLookAtPointMessage
27 * \brief Send to the DtVrfRemoteControlConnector to generate a VRF set look at point request.
28 *
29 * Message type: "vrf.set.lookatpoint"
30 *
31 * \note This is an auto-generated class. Do not modify directly.
32 */
34{
35public:
36 //! \brief LookAtType enumeration.
44
45 //! \brief Data payload for VrfSetLookAtPointMessage.
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 VrfSetLookAtPointData& rhs) const;
65 bool operator!=(const VrfSetLookAtPointData& rhs) const;
66 //! \}
67 };
68
69 //! \brief Destructor.
70 virtual ~VrfSetLookAtPointMessage() 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 LookAtType getLookAtType() const;
113 virtual void setLookAtType(LookAtType 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 VrfSetLookAtPointMessage& rhs) const;
149 bool operator!=(const VrfSetLookAtPointMessage& 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
virtual const DtEntityIdentifier & getTarget() const
bool operator!=(const VrfSetLookAtPointMessage &rhs) const
virtual void deserialize(DtStreamReader &reader) override
Deserializes the message from a stream reader.
static makVre::DtVreMessageId theMessageId
Definition vrfSetLookAtPoint.h:162
virtual ~VrfSetLookAtPointMessage() override
Destructor.
VrfSetLookAtPointData getData() const
Get a copy of the message data (const).
VrfSetLookAtPointData getData()
Get a copy of the message data.
static makVre::DtVreMessage * decode(char *buffer, int length)
Decode a message from a byte buffer.
static VrfSetLookAtPointMessage * create()
Create a copy of the given message.
virtual const makVre::DtVreMessageId & messageId() const override
Get the message identifier for this instance.
virtual void setAzimuth(double val)
static const makVre::DtVreMessageId & theId()
Get the message identifier for this message class.
static UInt64 theVersion
Definition vrfSetLookAtPoint.h:163
virtual const DtEntityIdentifier & getEntityId() const
static const std::string & theType()
Get the message type string for this instance.
virtual int messageSize() const override
Get a copy of the message data.
virtual const DtVector & getAimingPoint() const
VrfSetLookAtPointData myData
Definition vrfSetLookAtPoint.h:165
LookAtType
LookAtType enumeration.
Definition vrfSetLookAtPoint.h:38
@ LookAtType_POINT
Definition vrfSetLookAtPoint.h:39
@ LookAtType_OBJECT
Definition vrfSetLookAtPoint.h:40
@ LookAtType_ANGLE
Definition vrfSetLookAtPoint.h:41
@ LookAtType_CEASE_LOOKING
Definition vrfSetLookAtPoint.h:42
virtual void setTarget(const DtEntityIdentifier &val)
static UInt64 theVersionNumber()
Get the version number for this message class.
virtual LookAtType getLookAtType() const
virtual void serialize(DtStreamWriter &writer) const override
Serializes the message to a stream writer.
bool operator==(const VrfSetLookAtPointMessage &rhs) const
virtual double getElevation() const
static VrfSetLookAtPointMessage * createFrom(VrfSetLookAtPointMessage *origMsg)
Create a copy of the given message.
virtual void setElevation(double val)
virtual void setAimingPoint(const DtVector &val)
virtual void setEntityId(const DtEntityIdentifier &val)
virtual double getAzimuth() const
static VrfSetLookAtPointMessage * createFromData(const VrfSetLookAtPointData data)
Create a new message initialized with the given data.
virtual void setLookAtType(LookAtType val)
virtual const std::string & type() const override
Get the message type string for this instance.
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 * VrfSetLookAtPointMessageType
Message type identifier for VrfSetLookAtPointMessage.
Definition vrfSetLookAtPoint.h:23
Data payload for VrfSetLookAtPointMessage.
Definition vrfSetLookAtPoint.h:47
DtEntityIdentifier myEntityId
Definition vrfSetLookAtPoint.h:54
bool operator==(const VrfSetLookAtPointData &rhs) const
LookAtType myLookAtType
Definition vrfSetLookAtPoint.h:55
double myElevation
Definition vrfSetLookAtPoint.h:59
bool operator!=(const VrfSetLookAtPointData &rhs) const
DtEntityIdentifier myTarget
Definition vrfSetLookAtPoint.h:57
DtVector myAimingPoint
Definition vrfSetLookAtPoint.h:56
double myAzimuth
Definition vrfSetLookAtPoint.h:58
Defines the base class for all VREngage messages.
Defines message identifier class for the VREngage messaging system.