17#include <vrfutil/uuid.h>
18#include <vlpi/entityIdentifier.h>
95 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
virtual const std::string & type() const override
Get the message type string for this instance.
static OwnershipDivestStartedMessage * create()
Create a copy of the given message.
bool operator!=(const OwnershipDivestStartedMessage &rhs) const
virtual void setEntityId(const DtEntityIdentifier &val)
DIS entity triple of the entity being divested.
OwnershipDivestStartedMessage()
OwnershipDivestStartedData myData
Definition ownershipDivestStarted.h:165
virtual unsigned long long getRequestId() const
Request ID for the divest operation, from nextRequestId(). Read by chooseRoleState for logging.
static const makVre::DtVreMessageId & theId()
Get the message identifier for this message class.
virtual int messageSize() const override
Get a copy of the message data.
virtual const DtUUID & getEntityUuid() const
UUID of the entity being divested. Read by chooseRoleState for logging.
OwnershipDivestStartedData getData() const
Get a copy of the message data (const).
static UInt64 theVersionNumber()
Get the version number for this message class.
static makVre::DtVreMessageId theMessageId
Definition ownershipDivestStarted.h:162
OwnershipDivestStartedData getData()
Get a copy of the message data.
static OwnershipDivestStartedMessage * createFrom(OwnershipDivestStartedMessage *origMsg)
Create a copy of the given message.
virtual ~OwnershipDivestStartedMessage() override
Destructor.
virtual void setRequestId(unsigned long long val)
Request ID for the divest operation, from nextRequestId(). Read by chooseRoleState for logging.
virtual void serialize(DtStreamWriter &writer) const override
Serializes the message to a stream writer.
static UInt64 theVersion
Definition ownershipDivestStarted.h:163
virtual const DtEntityIdentifier & getEntityId() const
DIS entity triple of the entity being divested.
virtual void setEntityUuid(const DtUUID &val)
UUID of the entity being divested. Read by chooseRoleState for logging.
virtual const makVre::DtVreMessageId & messageId() const override
Get the message identifier for this instance.
virtual void deserialize(DtStreamReader &reader) override
Deserializes the message from a stream reader.
static const std::string & theType()
Get the message type string for this instance.
static OwnershipDivestStartedMessage * createFromData(const OwnershipDivestStartedData data)
Create a new message initialized with the given data.
bool operator==(const OwnershipDivestStartedMessage &rhs) const
static makVre::DtVreMessage * decode(char *buffer, int length)
Decode a message from a byte buffer.
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 * OwnershipDivestStartedMessageType
Message type identifier for OwnershipDivestStartedMessage.
Definition ownershipDivestStarted.h:23
Data payload for OwnershipDivestStartedMessage.
Definition ownershipDivestStarted.h:39
unsigned long long myRequestId
Request ID for the divest operation, from nextRequestId(). Read by chooseRoleState for logging.
Definition ownershipDivestStarted.h:47
bool operator==(const OwnershipDivestStartedData &rhs) const
DtEntityIdentifier myEntityId
DIS entity triple of the entity being divested.
Definition ownershipDivestStarted.h:53
DtUUID myEntityUuid
UUID of the entity being divested. Read by chooseRoleState for logging.
Definition ownershipDivestStarted.h:50
bool operator!=(const OwnershipDivestStartedData &rhs) const
OwnershipDivestStartedData()
Default constructor.
Defines the base class for all VREngage messages.
Defines message identifier class for the VREngage messaging system.