17#include <vlpi/entityIdentifier.h>
19#include <vlpi/entityType.h>
94 virtual const std::string&
type()
const override;
102 virtual const DtEntityIdentifier&
getId()
const;
103 virtual void setId(
const DtEntityIdentifier& val);
109 virtual void setType(
const DtEntityType& val);
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 & getUuid() const
EntityDiscoveredData getData()
Get a copy of the message data.
virtual void serialize(DtStreamWriter &writer) const override
Serializes the message to a stream writer.
virtual void deserialize(DtStreamReader &reader) override
Deserializes the message from a stream reader.
virtual const std::string & getName() const
virtual const std::string & type() const override
Get the message type string for this instance.
static UInt64 theVersionNumber()
Get the version number for this message class.
static EntityDiscoveredMessage * createFrom(EntityDiscoveredMessage *origMsg)
Create a copy of the given message.
EntityDiscoveredData myData
Definition entityDiscovered.h:158
virtual void setId(const DtEntityIdentifier &val)
static EntityDiscoveredMessage * create()
Create a copy of the given message.
virtual ~EntityDiscoveredMessage() override
Destructor.
static makVre::DtVreMessage * decode(char *buffer, int length)
Decode a message from a byte buffer.
virtual void setObjectLabel(const std::string &val)
virtual const makVre::DtVreMessageId & messageId() const override
Get the message identifier for this instance.
virtual const DtEntityType & getType() const
virtual void setName(const std::string &val)
static makVre::DtVreMessageId theMessageId
Definition entityDiscovered.h:155
EntityDiscoveredData getData() const
Get a copy of the message data (const).
static const std::string & theType()
Get the message type string for this instance.
virtual const std::string & getObjectLabel() const
virtual const DtEntityIdentifier & getId() const
bool operator!=(const EntityDiscoveredMessage &rhs) const
virtual void setType(const DtEntityType &val)
bool operator==(const EntityDiscoveredMessage &rhs) const
virtual void setUuid(const std::string &val)
static EntityDiscoveredMessage * createFromData(const EntityDiscoveredData data)
Create a new message initialized with the given data.
virtual int getForce() const
static UInt64 theVersion
Definition entityDiscovered.h:156
virtual int messageSize() const override
Get a copy of the message data.
static const makVre::DtVreMessageId & theId()
Get the message identifier for this message class.
EntityDiscoveredMessage()
virtual void setForce(int 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
unsigned long long UInt64
Unsigned 64-bit integer type.
Definition utilFunctions.h:42
constexpr const char * EntityDiscoveredMessageType
Message type identifier for EntityDiscoveredMessage.
Definition entityDiscovered.h:24
Data payload for EntityDiscoveredMessage.
Definition entityDiscovered.h:40
DtEntityIdentifier myId
Definition entityDiscovered.h:47
std::string myUuid
Definition entityDiscovered.h:48
bool operator!=(const EntityDiscoveredData &rhs) const
EntityDiscoveredData()
Default constructor.
bool operator==(const EntityDiscoveredData &rhs) const
DtEntityType myType
Definition entityDiscovered.h:49
int myForce
Definition entityDiscovered.h:50
std::string myName
Definition entityDiscovered.h:51
std::string myObjectLabel
Definition entityDiscovered.h:52
Defines the base class for all VREngage messages.
Defines message identifier class for the VREngage messaging system.