|
VR-Engage
2.2
|
This message contains the response to an entity list request, providing descriptive information about all entities currently present in the simulation. If there are no entities, the list will be empty.
#include <rfxEntityListMessage.h>
Public Member Functions | |
| DtEntityListResponse () | |
| virtual | ~DtEntityListResponse () |
| virtual void | setEntityList (std::vector< DtEntityDescription > entities) |
| virtual std::vector< DtEntityDescription > | entityList () |
| 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::vector< DtEntityDescription > | myEntities |
| makRadarFx::DtEntityListResponse::DtEntityListResponse | ( | ) |
Default constructor.
Initializes a new entity list response message with an empty entity list
|
virtual |
Virtual destructor.
|
virtual |
Sets the list of entities.
| entities | Vector of entity descriptions to set |
Sets the list of all entities currently in the simulation. This list will be empty if there are no entities within the simulation.
|
virtual |
Gets the list of entities.
Returns the list of all entities currently in the simulation. This list will be empty if there are no entities within the simulation.
|
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 |
List of entity descriptions in the simulation.