17#include <vlpi/entityIdentifier.h>
147 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::DtVreMessageId theMessageId
Definition sensorData.h:199
static const makVre::DtVreMessageId & theId()
Get the message identifier for this message class.
virtual const makVre::DtVreMessageId & messageId() const override
Get the message identifier for this instance.
bool operator==(const SensorDataMessage &rhs) const
virtual const DtEntityIdentifier & getHostId() const
static makVre::DtVreMessage * decode(char *buffer, int length)
Decode a message from a byte buffer.
CidLevel
CidLevel enumeration.
Definition sensorData.h:39
@ CidLevel_Full_Knowledge
Definition sensorData.h:44
@ CidLevel_Detected
Definition sensorData.h:41
@ CidLevel_No_Detection
Definition sensorData.h:40
@ CidLevel_Identified
Definition sensorData.h:43
@ CidLevel_Classified
Definition sensorData.h:42
SensorDataData getData()
Get a copy of the message data.
static SensorDataMessage * createFrom(SensorDataMessage *origMsg)
Create a copy of the given message.
virtual const std::string & getSensorName() const
virtual ~SensorDataMessage() override
Destructor.
virtual void setContacts(const std::vector< SensorContact > &val)
virtual void setHostId(const DtEntityIdentifier &val)
virtual int messageSize() const override
Get a copy of the message data.
static SensorDataMessage * createFromData(const SensorDataData data)
Create a new message initialized with the given data.
SensorDataData getData() const
Get a copy of the message data (const).
SensorDataData myData
Definition sensorData.h:202
virtual const std::vector< SensorContact > & getContacts() const
virtual void setSensorName(const std::string &val)
static const std::string & theType()
Get the message type string for this instance.
bool operator!=(const SensorDataMessage &rhs) const
virtual void serialize(DtStreamWriter &writer) const override
Serializes the message to a stream writer.
static UInt64 theVersionNumber()
Get the version number for this message class.
static UInt64 theVersion
Definition sensorData.h:200
static SensorDataMessage * create()
Create a copy of the given message.
virtual const std::string & type() const override
Get the message type string for this instance.
virtual void deserialize(DtStreamReader &reader) override
Deserializes the message from a stream reader.
ForceType
ForceType enumeration.
Definition sensorData.h:48
@ ForceType_OTHER
Definition sensorData.h:49
@ ForceType_NEUTRAL
Definition sensorData.h:52
@ ForceType_OPPOSING
Definition sensorData.h:51
@ ForceType_FRIENDLY
Definition sensorData.h:50
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 * SensorDataMessageType
Message type identifier for SensorDataMessage.
Definition sensorData.h:24
Data payload for SensorDataMessage.
Definition sensorData.h:96
std::vector< SensorContact > myContacts
Definition sensorData.h:105
SensorDataData()
Default constructor.
bool operator!=(const SensorDataData &rhs) const
std::string mySensorName
Definition sensorData.h:104
bool operator==(const SensorDataData &rhs) const
DtEntityIdentifier myHostId
Definition sensorData.h:103
Defines the base class for all VREngage messages.
Defines message identifier class for the VREngage messaging system.