17#include <vlpi/entityIdentifier.h>
115 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 UInt64 theVersionNumber()
Get the version number for this message class.
virtual const std::string & getSensorName() const
static const makVre::DtVreMessageId & theId()
Get the message identifier for this message class.
static makVre::DtVreMessage * decode(char *buffer, int length)
Decode a message from a byte buffer.
virtual void setSensorName(const std::string &val)
bool operator==(const VrfSensorUpdateMessage &rhs) const
static const std::string & theType()
Get the message type string for this instance.
virtual void deserialize(DtStreamReader &reader) override
Deserializes the message from a stream reader.
VrfSensorUpdateData getData() const
Get a copy of the message data (const).
static makVre::DtVreMessageId theMessageId
Definition vrfSensorUpdate.h:170
static VrfSensorUpdateMessage * createFromData(const VrfSensorUpdateData data)
Create a new message initialized with the given data.
virtual void setSensorContacts(const std::vector< SensorContact > &val)
virtual const std::string & type() const override
Get the message type string for this instance.
VrfSensorUpdateData getData()
Get a copy of the message data.
virtual const std::vector< SensorContact > & getSensorContacts() const
virtual const makVre::DtVreMessageId & messageId() const override
Get the message identifier for this instance.
VrfSensorUpdateData myData
Definition vrfSensorUpdate.h:173
virtual ~VrfSensorUpdateMessage() override
Destructor.
virtual void serialize(DtStreamWriter &writer) const override
Serializes the message to a stream writer.
virtual void setEntityId(const DtEntityIdentifier &val)
bool operator!=(const VrfSensorUpdateMessage &rhs) const
virtual int getSensorType() const
virtual void setSensorType(int val)
static UInt64 theVersion
Definition vrfSensorUpdate.h:171
static VrfSensorUpdateMessage * create()
Create a copy of the given message.
virtual int messageSize() const override
Get a copy of the message data.
static VrfSensorUpdateMessage * createFrom(VrfSensorUpdateMessage *origMsg)
Create a copy of the given message.
virtual const DtEntityIdentifier & getEntityId() const
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 * VrfSensorUpdateMessageType
Message type identifier for VrfSensorUpdateMessage.
Definition vrfSensorUpdate.h:24
unsigned long long UInt64
Unsigned 64-bit integer type.
Definition utilFunctions.h:42
Data payload for VrfSensorUpdateMessage.
Definition vrfSensorUpdate.h:63
DtEntityIdentifier myEntityId
Definition vrfSensorUpdate.h:70
std::vector< SensorContact > mySensorContacts
Definition vrfSensorUpdate.h:73
std::string mySensorName
Definition vrfSensorUpdate.h:72
VrfSensorUpdateData()
Default constructor.
int mySensorType
Definition vrfSensorUpdate.h:71
bool operator!=(const VrfSensorUpdateData &rhs) const
bool operator==(const VrfSensorUpdateData &rhs) const
Defines the base class for all VREngage messages.
Defines message identifier class for the VREngage messaging system.