VR-Engage  2.3
Loading...
Searching...
No Matches
vrfTaskEntityFollowMe.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/vrfEntityTasks.lua
11*/
12#pragma once
13
16#include <vreMessages/export.h>
17#include <vlpi/entityIdentifier.h>
18
19namespace makVre
20{
21//! \brief Message type identifier for VrfTaskEntityFollowMeMessage.
22constexpr const char* VrfTaskEntityFollowMeMessageType = "vrf.task.entity.follow";
23
24/**
25 * \class VrfTaskEntityFollowMeMessage
26 * \brief Send to the DtVrfRemoteControlConnector to generate a VRF follow me task.
27 *
28 * Message type: "vrf.task.entity.follow"
29 *
30 * \note This is an auto-generated class. Do not modify directly.
31 */
33{
34public:
35
36 //! \brief Data payload for VrfTaskEntityFollowMeMessage.
38 {
39 //! \brief Default constructor.
41
42 //! \name Data Members
43 //! \{
44
45 DtEntityIdentifier myEntityId;
46 DtEntityIdentifier myTargetId;
47 //! \}
48
49 //! \name Operators
50 //! \{
51 bool operator==(const VrfTaskEntityFollowMeData& rhs) const;
52 bool operator!=(const VrfTaskEntityFollowMeData& rhs) const;
53 //! \}
54 };
55
56 //! \brief Destructor.
58
59 //! \name Static Creators
60 //! \{
61 //! \brief Create a new default instance.
62 //! \return A dynamically allocated default message. Caller takes ownership.
64
65 //! \brief Create a copy of the given message.
66 //! \param origMsg The message to copy. Must not be null.
67 //! \return A dynamically allocated copy. Caller takes ownership.
69
70 //! \brief Create a new message initialized with the given data.
71 //! \param data The data payload to initialize the message with.
72 //! \return A dynamically allocated message. Caller takes ownership.
74 //! \}
75
76 //! \name Type Identity
77 //! \{
78 //! \brief Get the message type string for this message class.
79 static const std::string& theType();
80
81 //! \brief Get the message identifier for this message class.
83
84 //! \brief Get the version number for this message class.
86
87 //! \brief Get the message type string for this instance.
88 virtual const std::string& type() const override;
89
90 //! \brief Get the message identifier for this instance.
91 virtual const makVre::DtVreMessageId& messageId() const override;
92 //! \}
93
94 //! \name Accessors
95 //! \{
96 virtual const DtEntityIdentifier& getEntityId() const;
97 virtual void setEntityId(const DtEntityIdentifier& val);
98
99 virtual const DtEntityIdentifier& getTargetId() const;
100 virtual void setTargetId(const DtEntityIdentifier& val);
101 //! \}
102
103 //! \name Serialization
104 //! \{
105 //! \copydoc makVre::DtVreMessage::messageSize()
106 virtual int messageSize() const override;
107
108 //! \brief Decode a message from a byte buffer.
109 //! \param buffer The raw byte buffer to decode from.
110 //! \param length The length of the buffer in bytes.
111 //! \return A dynamically allocated decoded message. Caller takes ownership.
112 static makVre::DtVreMessage* decode(char* buffer, int length);
113
114 //! \brief Get a copy of the message data.
116
117 //! \brief Get a copy of the message data (const).
119 //! \}
120
121 //! \name Operators
122 //! \{
125 //! \}
126
127protected:
129
130 //! \copydoc makVre::DtVreMessage::serialize()
131 virtual void serialize(DtStreamWriter& writer) const override;
132
133 //! \copydoc makVre::DtVreMessage::deserialize()
134 virtual void deserialize(DtStreamReader& reader) override;
135
136protected:
139
141};
142} // namespace makVre
143
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 & type() const override
Get the message type string for this instance.
static const makVre::DtVreMessageId & theId()
Get the message identifier for this message class.
VrfTaskEntityFollowMeData getData() const
Get a copy of the message data (const).
virtual void deserialize(DtStreamReader &reader) override
Deserializes the message from a stream reader.
virtual void setTargetId(const DtEntityIdentifier &val)
virtual ~VrfTaskEntityFollowMeMessage() override
Destructor.
static makVre::DtVreMessageId theMessageId
Definition vrfTaskEntityFollowMe.h:137
static VrfTaskEntityFollowMeMessage * createFromData(const VrfTaskEntityFollowMeData data)
Create a new message initialized with the given data.
bool operator!=(const VrfTaskEntityFollowMeMessage &rhs) const
static UInt64 theVersionNumber()
Get the version number for this message class.
static makVre::DtVreMessage * decode(char *buffer, int length)
Decode a message from a byte buffer.
static VrfTaskEntityFollowMeMessage * create()
Create a copy of the given message.
virtual void setEntityId(const DtEntityIdentifier &val)
static VrfTaskEntityFollowMeMessage * createFrom(VrfTaskEntityFollowMeMessage *origMsg)
Create a copy of the given message.
virtual const DtEntityIdentifier & getEntityId() const
bool operator==(const VrfTaskEntityFollowMeMessage &rhs) const
virtual void serialize(DtStreamWriter &writer) const override
Serializes the message to a stream writer.
static const std::string & theType()
Get the message type string for this instance.
virtual const makVre::DtVreMessageId & messageId() const override
Get the message identifier for this instance.
static UInt64 theVersion
Definition vrfTaskEntityFollowMe.h:138
VrfTaskEntityFollowMeData getData()
Get a copy of the message data.
virtual const DtEntityIdentifier & getTargetId() const
VrfTaskEntityFollowMeData myData
Definition vrfTaskEntityFollowMe.h:140
virtual int messageSize() const override
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
unsigned long long UInt64
Unsigned 64-bit integer type.
Definition utilFunctions.h:42
constexpr const char * VrfTaskEntityFollowMeMessageType
Message type identifier for VrfTaskEntityFollowMeMessage.
Definition vrfTaskEntityFollowMe.h:22
Data payload for VrfTaskEntityFollowMeMessage.
Definition vrfTaskEntityFollowMe.h:38
bool operator!=(const VrfTaskEntityFollowMeData &rhs) const
DtEntityIdentifier myEntityId
Definition vrfTaskEntityFollowMe.h:45
bool operator==(const VrfTaskEntityFollowMeData &rhs) const
DtEntityIdentifier myTargetId
Definition vrfTaskEntityFollowMe.h:46
Defines the base class for all VREngage messages.
Defines message identifier class for the VREngage messaging system.