|
VR-Engage
2.2
|
Interface message for radar state data
This class encapsulates the current internal state of a radar system, including source entity ID, radar name, and detailed state information.
#include <ifRadarStateData.h>
Public Member Functions | |
| DtIfRadarStateData () | |
| DtIfRadarStateData (const DtIfRadarStateData &orig) | |
| const DtIfRadarStateData & | operator= (const DtIfRadarStateData &orig) |
| virtual | ~DtIfRadarStateData () override |
| virtual int | type () const override |
| virtual DtSimInterfaceContent * | clone () const override |
| virtual DtString | radarName () const |
| virtual void | setRadarName (const DtString &val) |
| virtual void | setSourceEntity (const DtUUID &val) |
| virtual const DtUUID & | sourceEntity () const |
| virtual DtRwRadarStateInfo | radarStateInfo () const |
| virtual void | setRadarStateInfo (const DtRwRadarStateInfo &val) |
| virtual int | netRepSize () const override |
| virtual bool | setFromNet (const char *contentBuffer, unsigned contentSize) override |
| virtual bool | setToNet () override |
| virtual void | printDataToString (DtString &str) override |
Static Public Member Functions | |
| static DtSimInterfaceContent * | creator () |
Protected Attributes | |
| DtUUID | mySourceEntity |
| DtString | myRadarName |
| DtRwRadarStateInfo | myRadarStateInfo |
| DtIfRadarStateData::DtIfRadarStateData | ( | ) |
Default constructor.
Initializes an empty radar state data message.
Referenced by DtIfRadarStateData(), and operator=().
| DtIfRadarStateData::DtIfRadarStateData | ( | const DtIfRadarStateData & | orig | ) |
Copy constructor.
| orig | The radar state data to copy from |
Creates a new radar state data object by copying an existing one.
References DtIfRadarStateData().
|
overridevirtual |
Virtual destructor.
| const DtIfRadarStateData & DtIfRadarStateData::operator= | ( | const DtIfRadarStateData & | orig | ) |
Assignment operator.
| orig | The radar state data to copy from |
Copies the contents of another radar state data object into this one.
References DtIfRadarStateData().
|
overridevirtual |
Gets the interface message type.
Returns DtRadarStateDataMessageType as defined in vreVrfMessageTypes.h.
|
overridevirtual |
Creates a copy of this message.
Creates a dynamically allocated copy of this message.
|
virtual |
Gets the name of the radar.
|
virtual |
Sets the name of the radar.
| val | The radar name to set |
|
virtual |
Sets the source entity UUID.
| val | The UUID of the source entity |
Sets the UUID of the entity that owns the radar system.
|
virtual |
Gets the source entity UUID.
Returns the UUID of the entity that owns the radar system.
|
virtual |
Gets the radar state information.
|
virtual |
Sets the radar state information.
| val | The radar state information to set |
|
overridevirtual |
Gets the network representation size.
Returns the size of the network buffer needed to store this message.
|
overridevirtual |
Deserializes the message from a network buffer.
| contentBuffer | Pointer to the network buffer |
| contentSize | Size of the buffer in bytes |
Fills the message from the provided network buffer.
|
overridevirtual |
Serializes the message for network transmission.
Prepares the message for network transmission.
|
overridevirtual |
Formats the message data as a string.
| str | String to store the formatted message data |
Appends a human-readable representation of the message to the provided string.
|
static |
Static creator function for factory registration.
This static function is used for registration with DtInterfaceContentFactory.
|
protected |
UUID of the entity that owns the radar.
|
protected |
Name of the radar system.
|
protected |
Detailed radar state information.