17#include <vlpi/simulationAddress.h>
19#include <vlpi/entityIdentifier.h>
20#include <matrix/vlVector.h>
98 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 void setAttachTo(const DtEntityIdentifier &val)
virtual int getGroupId() const
virtual const DtVector32 & getRotationOffset() const
virtual void setAttachType(int val)
virtual const DtVector32 & getPositionOffset() const
bool operator!=(const VreCigiViewControlMessage &rhs) const
virtual void setRotationOffset(const DtVector32 &val)
static const std::string & theType()
Get the message type string for this instance.
virtual int getAttachType() const
virtual void setGroupId(int val)
static UInt64 theVersionNumber()
Get the version number for this message class.
static const makVre::DtVreMessageId & theId()
Get the message identifier for this message class.
virtual void setViewId(int val)
virtual int messageSize() const override
Get a copy of the message data.
bool operator==(const VreCigiViewControlMessage &rhs) const
virtual int getViewId() const
virtual const makVre::DtVreMessageId & messageId() const override
Get the message identifier for this instance.
virtual int getAttachToPart() const
VreCigiViewControlMessage()
virtual const std::string & getSessionName() const
static UInt64 theVersion
Definition cigiViewControl.h:169
VreCigiViewControlData myData
Definition cigiViewControl.h:171
VreCigiViewControlData getData()
Get a copy of the message data.
virtual ~VreCigiViewControlMessage() override
Destructor.
virtual void deserialize(DtStreamReader &reader) override
Deserializes the message from a stream reader.
virtual const DtEntityIdentifier & getAttachTo() const
static VreCigiViewControlMessage * createFrom(VreCigiViewControlMessage *origMsg)
Create a copy of the given message.
virtual void setAttachToPart(int val)
virtual void serialize(DtStreamWriter &writer) const override
Serializes the message to a stream writer.
virtual const std::string & type() const override
Get the message type string for this instance.
static makVre::DtVreMessage * decode(char *buffer, int length)
Decode a message from a byte buffer.
static VreCigiViewControlMessage * createFromData(const VreCigiViewControlData data)
Create a new message initialized with the given data.
static makVre::DtVreMessageId theMessageId
Definition cigiViewControl.h:168
static VreCigiViewControlMessage * create()
Create a copy of the given message.
VreCigiViewControlData getData() const
Get a copy of the message data (const).
virtual const DtSimulationAddress & getHostSimAddress() const
virtual void setPositionOffset(const DtVector32 &val)
virtual void setHostSimAddress(const DtSimulationAddress &val)
virtual void setSessionName(const std::string &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 * VreCigiViewControlMessageType
Message type identifier for VreCigiViewControlMessage.
Definition cigiViewControl.h:25
Data payload for VreCigiViewControlMessage.
Definition cigiViewControl.h:41
DtSimulationAddress myHostSimAddress
Definition cigiViewControl.h:48
DtVector32 myRotationOffset
Definition cigiViewControl.h:54
std::string mySessionName
Definition cigiViewControl.h:49
DtEntityIdentifier myAttachTo
Definition cigiViewControl.h:52
int myGroupId
Definition cigiViewControl.h:51
int myAttachType
Definition cigiViewControl.h:56
bool operator!=(const VreCigiViewControlData &rhs) const
DtVector32 myPositionOffset
Definition cigiViewControl.h:53
int myAttachToPart
Definition cigiViewControl.h:55
VreCigiViewControlData()
Default constructor.
int myViewId
Definition cigiViewControl.h:50
bool operator==(const VreCigiViewControlData &rhs) const
Defines the base class for all VREngage messages.
Defines message identifier class for the VREngage messaging system.