|
VR-Engage
2.2
|
This message requests the current location, orientation, and velocity for a specific entity identified by its entity ID. The server will respond with the requested information or an error if the entity cannot be found.
#include <rfxEntityLocationMessage.h>
Public Member Functions | |
| DtEntityLocationRequest () | |
| virtual | ~DtEntityLocationRequest () |
| virtual void | setEntityId (const std::string &name) |
| virtual std::string | entityId () |
| virtual int | messageSize () |
| virtual DtBaseMessage * | clone () |
Static Public Member Functions | |
| static DtBaseMessage * | decode (unsigned char *buffer, int length) |
Protected Member Functions | |
| virtual void | serialize (DtStreamWriter &writer) |
| virtual void | deserialize (DtStreamReader &reader) |
Protected Attributes | |
| std::string | myEntityId |
| makRadarFx::DtEntityLocationRequest::DtEntityLocationRequest | ( | ) |
Default constructor.
Initializes a new entity location request message with an empty entity ID
|
virtual |
Virtual destructor.
|
virtual |
Sets the entity ID to query.
| name | String identifier of the entity to look up |
Sets the identifier of the entity that this request is querying the location, orientation, and velocity of.
|
virtual |
Gets the entity ID being queried.
Returns the identifier of the entity that this request is querying.
|
virtual |
size of the message
Reimplemented from makRadarFx::DtBaseMessage.
|
static |
decode a message. Used by the factory
References makRadarFx::DtBaseMessage::DtBaseMessage().
|
virtual |
clone a message. Caller of function is responsible managing this memory
Implements makRadarFx::DtBaseMessage.
References makRadarFx::DtBaseMessage::DtBaseMessage().
|
protectedvirtual |
Serializes the message data to a stream writer.
| writer | Reference to the stream writer to write the data to |
Reimplemented from makRadarFx::DtBaseMessage.
|
protectedvirtual |
Deserializes message data from a stream reader.
| reader | Reference to the stream reader to read the data from |
Reimplemented from makRadarFx::DtBaseMessage.
|
protected |
Entity identifier to query.