17#include <vlpi/entityIdentifier.h>
18#include <vrfutil/uuid.h>
120 virtual const std::string&
type()
const override;
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
ResponseType
ResponseType enumeration.
Definition ownershipTransferResponse.h:48
@ ResponseType_RELEASE
Definition ownershipTransferResponse.h:50
@ ResponseType_ACQUIRE
Definition ownershipTransferResponse.h:49
virtual ResponseType getResponseType() const
Mirrors the request type: ACQUIRE or RELEASE.
static makVre::DtVreMessageId theMessageId
Definition ownershipTransferResponse.h:211
virtual void setEntityId(const DtEntityIdentifier &val)
DIS entity triple echoed from the request. Not read by the loadingPlayerState consumer.
static UInt64 theVersion
Definition ownershipTransferResponse.h:212
virtual void setMessage(const std::string &val)
Human-readable detail string. Read on FAILURE to provide error context in the UI.
virtual ResponseStatus getResponseStatus() const
Terminal result. Loading-state acquires continue after SUCCESS, SKIPPED, DISABLED,...
bool operator!=(const OwnershipTransferResponseMessage &rhs) const
static OwnershipTransferResponseMessage * create()
Create a copy of the given message.
bool operator==(const OwnershipTransferResponseMessage &rhs) const
OwnershipTransferResponseData getData()
Get a copy of the message data.
virtual const makVre::DtVreMessageId & messageId() const override
Get the message identifier for this instance.
static const makVre::DtVreMessageId & theId()
Get the message identifier for this message class.
virtual const std::string & type() const override
Get the message type string for this instance.
OwnershipTransferResponseMessage()
virtual ~OwnershipTransferResponseMessage() override
Destructor.
virtual void deserialize(DtStreamReader &reader) override
Deserializes the message from a stream reader.
virtual const std::string & getMessage() const
Human-readable detail string. Read on FAILURE to provide error context in the UI.
virtual void setEntityUuid(const DtUUID &val)
VRF UUID echoed from the request. Not read by the loadingPlayerState consumer.
static UInt64 theVersionNumber()
Get the version number for this message class.
virtual int messageSize() const override
Get a copy of the message data.
static makVre::DtVreMessage * decode(char *buffer, int length)
Decode a message from a byte buffer.
virtual void setRequestId(unsigned long long val)
Echoed from the originating request. Consumer compares against its pending ID to discard stale respon...
virtual const DtEntityIdentifier & getEntityId() const
DIS entity triple echoed from the request. Not read by the loadingPlayerState consumer.
static OwnershipTransferResponseMessage * createFrom(OwnershipTransferResponseMessage *origMsg)
Create a copy of the given message.
ResponseStatus
ResponseStatus enumeration.
Definition ownershipTransferResponse.h:39
@ ResponseStatus_SKIPPED
Definition ownershipTransferResponse.h:43
@ ResponseStatus_FAILURE
Definition ownershipTransferResponse.h:41
@ ResponseStatus_DISABLED
Definition ownershipTransferResponse.h:44
@ ResponseStatus_PENDING
Definition ownershipTransferResponse.h:42
@ ResponseStatus_SUCCESS
Definition ownershipTransferResponse.h:40
virtual unsigned long long getRequestId() const
Echoed from the originating request. Consumer compares against its pending ID to discard stale respon...
virtual void serialize(DtStreamWriter &writer) const override
Serializes the message to a stream writer.
OwnershipTransferResponseData myData
Definition ownershipTransferResponse.h:214
virtual void setResponseStatus(ResponseStatus val)
Terminal result. Loading-state acquires continue after SUCCESS, SKIPPED, DISABLED,...
static const std::string & theType()
Get the message type string for this instance.
OwnershipTransferResponseData getData() const
Get a copy of the message data (const).
static OwnershipTransferResponseMessage * createFromData(const OwnershipTransferResponseData data)
Create a new message initialized with the given data.
virtual const DtUUID & getEntityUuid() const
VRF UUID echoed from the request. Not read by the loadingPlayerState consumer.
virtual void setResponseType(ResponseType val)
Mirrors the request type: ACQUIRE or RELEASE.
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 * OwnershipTransferResponseMessageType
Message type identifier for OwnershipTransferResponseMessage.
Definition ownershipTransferResponse.h:24
Data payload for OwnershipTransferResponseMessage.
Definition ownershipTransferResponse.h:55
ResponseStatus myResponseStatus
Terminal result. Loading-state acquires continue after SUCCESS, SKIPPED, DISABLED,...
Definition ownershipTransferResponse.h:66
OwnershipTransferResponseData()
Default constructor.
std::string myMessage
Human-readable detail string. Read on FAILURE to provide error context in the UI.
Definition ownershipTransferResponse.h:78
unsigned long long myRequestId
Echoed from the originating request. Consumer compares against its pending ID to discard stale respon...
Definition ownershipTransferResponse.h:63
bool operator!=(const OwnershipTransferResponseData &rhs) const
ResponseType myResponseType
Mirrors the request type: ACQUIRE or RELEASE.
Definition ownershipTransferResponse.h:69
DtUUID myEntityUuid
VRF UUID echoed from the request. Not read by the loadingPlayerState consumer.
Definition ownershipTransferResponse.h:75
DtEntityIdentifier myEntityId
DIS entity triple echoed from the request. Not read by the loadingPlayerState consumer.
Definition ownershipTransferResponse.h:72
bool operator==(const OwnershipTransferResponseData &rhs) const
Defines the base class for all VREngage messages.
Defines message identifier class for the VREngage messaging system.