VR-Engage  2.2
Loading...
Searching...
No Matches
vrfSetEmbark.h
Go to the documentation of this file.
1/*********************************************************************************
2** Copyright (c) 2025 MAK Technologies, Inc.
3** All rights reserved.
4*********************************************************************************/
5
6/*!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
7!!!!!!!!!This is an auto-generated file. Any changes will be destroyed!!!!!!!!!!!
8!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
9Generated from: /data/exports/DEV-CAM-BML-043/nightly/3085/libsrc/framework/vreMessages/vrfEntitySetDataRequests.lua
10*/
11/*-----------------COMMENT----------------------
12Send to the DtVrfRemoteControlConnector to generate a VRF set embarked request.
13-------------------COMMENT----------------------*/
14#pragma once
15
18#include <vreMessages/export.h>
19#include <vlpi/entityIdentifier.h>
20#include <string>
21#include <matrix/vlVector.h>
22
23
24namespace makVre
25{
26
27
28constexpr const char* VrfSetEmbarkMessageType = "vrf.set.entity.embarked";
29
31{
32public:
33
34
35 // Struct for defining data
37 {
39
40 DtEntityIdentifier myEntityId;
41 DtEntityIdentifier myParentEntityId;
42 int mySlot;
43 std::string mySlotName;
44 std::string mySlotType;
47 std::string myStation;
48
49 bool operator==(const VrfSetEmbarkData& rhs) const;
50 };
51
52 // Default static creators to promote the usage of not using new.
56
57 //! \brief static message identity functions
58 static const std::string& theType();
61
62 //! \brief Get the name of the message type
63 virtual const std::string& type() const override;
64 virtual const makVre::DtVreMessageId& messageId() const override;
65
66 // default destructor
67 virtual ~VrfSetEmbarkMessage() override;
68
69 virtual const DtEntityIdentifier& getEntityId() const;
70 virtual void setEntityId(const DtEntityIdentifier& val);
71
72 virtual const DtEntityIdentifier& getParentEntityId() const;
73 virtual void setParentEntityId(const DtEntityIdentifier& val);
74
75 virtual int getSlot() const;
76 virtual void setSlot(int val);
77
78 virtual const std::string& getSlotName() const;
79 virtual void setSlotName(const std::string& val);
80
81 virtual const std::string& getSlotType() const;
82 virtual void setSlotType(const std::string& val);
83
84 virtual bool getLoadOverride() const;
85 virtual void setLoadOverride(bool val);
86
87 virtual const DtVector& getLoadOverridePosition() const;
88 virtual void setLoadOverridePosition(const DtVector& val);
89
90 virtual const std::string& getStation() const;
91 virtual void setStation(const std::string& val);
92
93
94 // Accessors
95 virtual int messageSize() const override;
96 static makVre::DtVreMessage* decode(char* buffer, int length);
99
100 // Operators
101 bool operator==(const VrfSetEmbarkMessage& rhs) const;
102
103protected:
104 // Inaccessible default constructor to promote the usage of the static creator functions
106
107 virtual void serialize(DtStreamWriter& writer) const override;
108 virtual void deserialize(DtStreamReader& reader) override;
109
110protected:
113
114 // Store the data for future use
116};
117
118} // ::makVre
119
120
121
Reader class for decoding values from a byte array.
Definition byteStream.h:42
Writer class for encoding values into a byte array.
Definition byteStream.h:161
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 setSlotName(const std::string &val)
static VrfSetEmbarkMessage * create()
virtual const DtEntityIdentifier & getParentEntityId() const
virtual const DtEntityIdentifier & getEntityId() const
static UInt64 theVersionNumber()
virtual void setSlotType(const std::string &val)
static makVre::DtVreMessage * decode(char *buffer, int length)
VrfSetEmbarkData getData()
virtual const std::string & getSlotName() const
static UInt64 theVersion
Definition vrfSetEmbark.h:112
virtual void serialize(DtStreamWriter &writer) const override
Serializes the message to a stream writer.
virtual void setLoadOverride(bool val)
virtual void setLoadOverridePosition(const DtVector &val)
VrfSetEmbarkData getData() const
static const std::string & theType()
static message identity functions
virtual void setStation(const std::string &val)
virtual bool getLoadOverride() const
virtual void deserialize(DtStreamReader &reader) override
Deserializes the message from a stream reader.
VrfSetEmbarkData myData
Definition vrfSetEmbark.h:115
static VrfSetEmbarkMessage * createFromData(const VrfSetEmbarkData)
virtual const std::string & getSlotType() const
virtual void setEntityId(const DtEntityIdentifier &val)
virtual void setParentEntityId(const DtEntityIdentifier &val)
static const makVre::DtVreMessageId & theId()
virtual int getSlot() const
virtual const std::string & type() const override
Get the name of the message type.
virtual ~VrfSetEmbarkMessage() override
virtual int messageSize() const override
Static decode function pattern for derived classes.
virtual const DtVector & getLoadOverridePosition() const
static makVre::DtVreMessageId theMessageId
Definition vrfSetEmbark.h:111
static VrfSetEmbarkMessage * createFrom(VrfSetEmbarkMessage *)
virtual const makVre::DtVreMessageId & messageId() const override
Gets the message ID object.
virtual const std::string & getStation() const
virtual void setSlot(int val)
bool operator==(const VrfSetEmbarkMessage &rhs) const
Defines export macros for the VREngage Messages library.
#define VREMESSAGES_DLL
Export/import macro for non-Windows platforms.
Definition export.h:39
Include export definitions for this library.
Definition glsVreMessageUtil.h:49
unsigned long long UInt64
Unsigned 64-bit integer type.
Definition utilFunctions.h:42
constexpr const char * VrfSetEmbarkMessageType
Definition vrfSetEmbark.h:28
DtEntityIdentifier myParentEntityId
Definition vrfSetEmbark.h:41
std::string myStation
Definition vrfSetEmbark.h:47
bool operator==(const VrfSetEmbarkData &rhs) const
bool myLoadOverride
Definition vrfSetEmbark.h:45
int mySlot
Definition vrfSetEmbark.h:42
std::string mySlotName
Definition vrfSetEmbark.h:43
std::string mySlotType
Definition vrfSetEmbark.h:44
DtEntityIdentifier myEntityId
Definition vrfSetEmbark.h:40
DtVector myLoadOverridePosition
Definition vrfSetEmbark.h:46
Defines the base class for all VREngage messages.
Defines message identifier class for the VREngage messaging system.