|
VR-Engage
2.2
|
This class encapsulates the response to a sensor list request, providing a list of all radar sensor configurations available on the RadarFX server. Each sensor configuration has a unique name that can be used when requesting radar imagery to specify which sensor characteristics should be used.
#include <rfxSensorListMessage.h>
Public Member Functions | |
| DtSensorListResponse () | |
| virtual | ~DtSensorListResponse () |
| virtual void | setSensorList (std::vector< std::string > sensors) |
| virtual std::vector< std::string > | sensorList () |
| 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< std::string > | mySensors |
| makRadarFx::DtSensorListResponse::DtSensorListResponse | ( | ) |
Default constructor.
Initializes a new sensor list response message with an empty sensor list
|
virtual |
Virtual destructor.
|
virtual |
Sets the list of available sensor configurations.
| sensors | Vector of sensor configuration names |
Sets the list of all radar sensor configurations available on the server. Each name in the list corresponds to a unique sensor configuration that can be used when requesting radar imagery.
|
virtual |
Gets the list of available sensor configurations.
Returns the list of all radar sensor configurations available on the server. This list will be empty if there are no sensors available or if there was an error retrieving the list.
|
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 |
Writes the message data to the provided stream writer. This includes the list of sensor names contained in this response.
Reimplemented from makRadarFx::DtBaseMessage.
|
protectedvirtual |
Deserializes message data from a stream reader.
| reader | Reference to the stream reader to read the data from |
Reads the message data from the provided stream reader, populating the list of sensor names contained in this response.
Reimplemented from makRadarFx::DtBaseMessage.
|
protected |
List of available sensor configuration names.