VR-Engage  2.2
Loading...
Searching...
No Matches
EntityEmbarkationInformation.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/entity.lua
10*/
11/*-----------------COMMENT----------------------
12Contains embarkation information for an entity. Request using EntityEmbarkationInformationRequestMessage.
13-------------------COMMENT----------------------*/
14#pragma once
15
18#include <vreMessages/export.h>
19#include <vlpi/entityIdentifier.h>
20#include <vlpi/entityType.h>
21#include <vector>
22
23
24namespace makVre
25{
26
27
28constexpr const char* EntityEmbarkationInformationMessageType = "entity.query.embarkInfo";
29
31{
32public:
33
35 {
37
38 int size() const;
39 void serialize(DtStreamWriter& writer) const;
41 bool operator==(const ActionPoint& rhs) const;
42
43 DtVector myPosition;
44 int mySlot;
45 std::string myName;
46 std::string myType;
47 std::string myDoor;
48
49 };
50
51
52 // Struct for defining data
65
66 // Default static creators to promote the usage of not using new.
70
71 //! \brief static message identity functions
72 static const std::string& theType();
75
76 //! \brief Get the name of the message type
77 virtual const std::string& type() const override;
78 virtual const makVre::DtVreMessageId& messageId() const override;
79
80 // default destructor
82
83 virtual const DtEntityIdentifier& getEntityId() const;
84 virtual void setEntityId(const DtEntityIdentifier& val);
85
86 virtual const DtEntityType& getEmbarkerType() const;
87 virtual void setEmbarkerType(const DtEntityType& val);
88
89 virtual bool getIsEmbarked() const;
90 virtual void setIsEmbarked(bool val);
91
92 virtual bool getSlotsExist() const;
93 virtual void setSlotsExist(bool val);
94
95 virtual const std::vector<ActionPoint>& getActionPoints() const;
96 virtual void setActionPoints(const std::vector<ActionPoint>& val);
97
98
99 // Accessors
100 virtual int messageSize() const override;
101 static makVre::DtVreMessage* decode(char* buffer, int length);
104
105 // Operators
107
108protected:
109 // Inaccessible default constructor to promote the usage of the static creator functions
111
112 virtual void serialize(DtStreamWriter& writer) const override;
113 virtual void deserialize(DtStreamReader& reader) override;
114
115protected:
118
119 // Store the data for future use
121};
122
123} // ::makVre
124
125
126
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
EntityEmbarkationInformationData getData() const
static const std::string & theType()
static message identity functions
virtual ~EntityEmbarkationInformationMessage() override
static UInt64 theVersion
Definition EntityEmbarkationInformation.h:117
static const makVre::DtVreMessageId & theId()
virtual const DtEntityType & getEmbarkerType() const
virtual void setEmbarkerType(const DtEntityType &val)
virtual const std::vector< ActionPoint > & getActionPoints() const
virtual void setActionPoints(const std::vector< ActionPoint > &val)
static makVre::DtVreMessageId theMessageId
Definition EntityEmbarkationInformation.h:116
virtual void setEntityId(const DtEntityIdentifier &val)
virtual const makVre::DtVreMessageId & messageId() const override
Gets the message ID object.
EntityEmbarkationInformationData myData
Definition EntityEmbarkationInformation.h:120
static EntityEmbarkationInformationMessage * create()
static EntityEmbarkationInformationMessage * createFromData(const EntityEmbarkationInformationData)
bool operator==(const EntityEmbarkationInformationMessage &rhs) const
virtual const DtEntityIdentifier & getEntityId() const
virtual const std::string & type() const override
Get the name of the message type.
virtual int messageSize() const override
Static decode function pattern for derived classes.
virtual void deserialize(DtStreamReader &reader) override
Deserializes the message from a stream reader.
virtual void serialize(DtStreamWriter &writer) const override
Serializes the message to a stream writer.
EntityEmbarkationInformationData getData()
static EntityEmbarkationInformationMessage * createFrom(EntityEmbarkationInformationMessage *)
static makVre::DtVreMessage * decode(char *buffer, int length)
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
constexpr const char * EntityEmbarkationInformationMessageType
Definition EntityEmbarkationInformation.h:28
unsigned long long UInt64
Unsigned 64-bit integer type.
Definition utilFunctions.h:42
DtVector myPosition
Definition EntityEmbarkationInformation.h:43
std::string myName
Definition EntityEmbarkationInformation.h:45
std::string myDoor
Definition EntityEmbarkationInformation.h:47
int mySlot
Definition EntityEmbarkationInformation.h:44
std::string myType
Definition EntityEmbarkationInformation.h:46
bool operator==(const EntityEmbarkationInformationData &rhs) const
std::vector< ActionPoint > myActionPoints
Definition EntityEmbarkationInformation.h:61
DtEntityIdentifier myEntityId
Definition EntityEmbarkationInformation.h:57
DtEntityType myEmbarkerType
Definition EntityEmbarkationInformation.h:58
bool mySlotsExist
Definition EntityEmbarkationInformation.h:60
bool myIsEmbarked
Definition EntityEmbarkationInformation.h:59
Defines the base class for all VREngage messages.
Defines message identifier class for the VREngage messaging system.