17#include <vlpi/entityIdentifier.h>
99 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.
virtual void deserialize(DtStreamReader &reader) override
Deserializes the message from a stream reader.
static TdlEngagementStatusMessage * createFromData(const TdlEngagementStatusData data)
Create a new message initialized with the given data.
static const makVre::DtVreMessageId & theId()
Get the message identifier for this message class.
virtual ~TdlEngagementStatusMessage() override
Destructor.
virtual const std::string & type() const override
Get the message type string for this instance.
virtual void serialize(DtStreamWriter &writer) const override
Serializes the message to a stream writer.
static makVre::DtVreMessageId theMessageId
Definition tdlEngagementStatus.h:154
virtual void setObjective(const std::string &val)
bool operator==(const TdlEngagementStatusMessage &rhs) const
virtual const DtEntityIdentifier & getHostId() const
TdlEngagementStatusData getData()
Get a copy of the message data.
virtual int messageSize() const override
Get a copy of the message data.
virtual void setSource(const std::string &val)
virtual StatusType getType() const
TdlEngagementStatusData myData
Definition tdlEngagementStatus.h:157
static UInt64 theVersionNumber()
Get the version number for this message class.
StatusType
StatusType enumeration.
Definition tdlEngagementStatus.h:38
@ StatusType_BREAK_ENGAGEMENT
Definition tdlEngagementStatus.h:42
@ StatusType_ENGAGED
Definition tdlEngagementStatus.h:39
@ StatusType_WEAPON_RELEASED
Definition tdlEngagementStatus.h:41
@ StatusType_LOCKED_ON
Definition tdlEngagementStatus.h:40
static TdlEngagementStatusMessage * create()
Create a copy of the given message.
virtual const makVre::DtVreMessageId & messageId() const override
Get the message identifier for this instance.
virtual const std::string & getObjective() const
TdlEngagementStatusMessage()
virtual void setType(StatusType val)
static UInt64 theVersion
Definition tdlEngagementStatus.h:155
static TdlEngagementStatusMessage * createFrom(TdlEngagementStatusMessage *origMsg)
Create a copy of the given message.
bool operator!=(const TdlEngagementStatusMessage &rhs) const
static const std::string & theType()
Get the message type string for this instance.
TdlEngagementStatusData getData() const
Get a copy of the message data (const).
virtual const std::string & getSource() const
virtual void setHostId(const DtEntityIdentifier &val)
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
constexpr const char * TdlEngagementStatusMessageType
Message type identifier for TdlEngagementStatusMessage.
Definition tdlEngagementStatus.h:23
unsigned long long UInt64
Unsigned 64-bit integer type.
Definition utilFunctions.h:42
Data payload for TdlEngagementStatusMessage.
Definition tdlEngagementStatus.h:47
std::string myObjective
Definition tdlEngagementStatus.h:56
DtEntityIdentifier myHostId
Definition tdlEngagementStatus.h:54
bool operator==(const TdlEngagementStatusData &rhs) const
bool operator!=(const TdlEngagementStatusData &rhs) const
TdlEngagementStatusData()
Default constructor.
StatusType myType
Definition tdlEngagementStatus.h:57
std::string mySource
Definition tdlEngagementStatus.h:55
Defines the base class for all VREngage messages.
Defines message identifier class for the VREngage messaging system.