17#include <vrfutil/uuid.h>
18#include <vlpi/entityIdentifier.h>
109 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
static makVre::DtVreMessage * decode(char *buffer, int length)
Decode a message from a byte buffer.
static VreOwnershipTransferStatusMessage * createFrom(VreOwnershipTransferStatusMessage *origMsg)
Create a copy of the given message.
static VreOwnershipTransferStatusMessage * create()
Create a copy of the given message.
static const std::string & theType()
Get the message type string for this instance.
virtual StatusCode getStatusCode() const
Non-terminal progress indicator sent at each stage of the VRF ownership negotiation.
virtual void serialize(DtStreamWriter &writer) const override
Serializes the message to a stream writer.
bool operator==(const VreOwnershipTransferStatusMessage &rhs) const
static UInt64 theVersionNumber()
Get the version number for this message class.
VreOwnershipTransferStatusMessage()
virtual void setEntityUuid(const DtUUID &val)
VRF UUID of the entity whose ownership is being transferred.
virtual unsigned long long getRequestId() const
Copied from the pending transfer's requestId for correlation.
VreOwnershipTransferStatusData getData() const
Get a copy of the message data (const).
static UInt64 theVersion
Definition vreOwnershipTransferStatus.h:185
StatusCode
StatusCode enumeration.
Definition vreOwnershipTransferStatus.h:38
@ StatusCode_LostOwnership
Definition vreOwnershipTransferStatus.h:44
@ StatusCode_Unsupported
Definition vreOwnershipTransferStatus.h:42
@ StatusCode_InProgress
Definition vreOwnershipTransferStatus.h:39
@ StatusCode_GainedOwnership
Definition vreOwnershipTransferStatus.h:43
@ StatusCode_Refused
Definition vreOwnershipTransferStatus.h:41
@ StatusCode_WillTransfer
Definition vreOwnershipTransferStatus.h:40
@ StatusCode_MultipleRequests
Definition vreOwnershipTransferStatus.h:45
virtual const DtEntityIdentifier & getEntityId() const
DIS entity triple of the entity whose ownership is being transferred.
VreOwnershipTransferStatusData getData()
Get a copy of the message data.
static const makVre::DtVreMessageId & theId()
Get the message identifier for this message class.
virtual void setStatusCode(StatusCode val)
Non-terminal progress indicator sent at each stage of the VRF ownership negotiation.
VreOwnershipTransferStatusData myData
Definition vreOwnershipTransferStatus.h:187
virtual void setEntityId(const DtEntityIdentifier &val)
DIS entity triple of the entity whose ownership is being transferred.
virtual const DtUUID & getEntityUuid() const
VRF UUID of the entity whose ownership is being transferred.
virtual const makVre::DtVreMessageId & messageId() const override
Get the message identifier for this instance.
virtual int messageSize() const override
Get a copy of the message data.
virtual void deserialize(DtStreamReader &reader) override
Deserializes the message from a stream reader.
static VreOwnershipTransferStatusMessage * createFromData(const VreOwnershipTransferStatusData data)
Create a new message initialized with the given data.
virtual void setRequestId(unsigned long long val)
Copied from the pending transfer's requestId for correlation.
virtual ~VreOwnershipTransferStatusMessage() override
Destructor.
bool operator!=(const VreOwnershipTransferStatusMessage &rhs) const
virtual const std::string & type() const override
Get the message type string for this instance.
static makVre::DtVreMessageId theMessageId
Definition vreOwnershipTransferStatus.h:184
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 * VreOwnershipTransferStatusMessageType
Message type identifier for VreOwnershipTransferStatusMessage.
Definition vreOwnershipTransferStatus.h:23
Data payload for VreOwnershipTransferStatusMessage.
Definition vreOwnershipTransferStatus.h:50
VreOwnershipTransferStatusData()
Default constructor.
DtEntityIdentifier myEntityId
DIS entity triple of the entity whose ownership is being transferred.
Definition vreOwnershipTransferStatus.h:64
bool operator==(const VreOwnershipTransferStatusData &rhs) const
unsigned long long myRequestId
Copied from the pending transfer's requestId for correlation.
Definition vreOwnershipTransferStatus.h:58
StatusCode myStatusCode
Non-terminal progress indicator sent at each stage of the VRF ownership negotiation.
Definition vreOwnershipTransferStatus.h:67
DtUUID myEntityUuid
VRF UUID of the entity whose ownership is being transferred.
Definition vreOwnershipTransferStatus.h:61
bool operator!=(const VreOwnershipTransferStatusData &rhs) const
Defines the base class for all VREngage messages.
Defines message identifier class for the VREngage messaging system.