|
VR-Engage
2.2
|
Interface message for canceling radar state subscriptions
This class is used to indicate that any previous radar state subscription from the originating simulation address should be canceled, and radar state messages should no longer be sent. This is the counterpart to a subscription request with the subscribe flag set to true.
#include <ifRadarStateUnsubscribe.h>
Public Member Functions | |
| DtIfRadarStateUnsubscribe () | |
| DtIfRadarStateUnsubscribe (const DtIfRadarStateUnsubscribe &orig) | |
| const DtIfRadarStateUnsubscribe & | operator= (const DtIfRadarStateUnsubscribe &orig) |
| virtual | ~DtIfRadarStateUnsubscribe () override |
| virtual int | type () const override |
| virtual DtSimInterfaceContent * | clone () const override |
| virtual void | setUUID (const DtUUID &name) |
| virtual const DtUUID & | uuid () const |
| 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 | myUUID |
| DtIfRadarStateUnsubscribe::DtIfRadarStateUnsubscribe | ( | ) |
Default constructor.
Initializes an empty radar state unsubscribe message.
Referenced by DtIfRadarStateUnsubscribe(), and operator=().
| DtIfRadarStateUnsubscribe::DtIfRadarStateUnsubscribe | ( | const DtIfRadarStateUnsubscribe & | orig | ) |
Copy constructor.
| orig | The radar state unsubscribe message to copy from |
Creates a new radar state unsubscribe message by copying an existing one.
References DtIfRadarStateUnsubscribe().
|
overridevirtual |
Virtual destructor.
| const DtIfRadarStateUnsubscribe & DtIfRadarStateUnsubscribe::operator= | ( | const DtIfRadarStateUnsubscribe & | orig | ) |
Assignment operator.
| orig | The radar state unsubscribe message to copy from |
Copies the contents of another radar state unsubscribe message into this one.
References DtIfRadarStateUnsubscribe().
|
overridevirtual |
Gets the interface message type.
Returns DtRadarStateUnsubscribeMessageType as defined in vreVrfMessageTypes.h.
|
overridevirtual |
Creates a copy of this message.
Creates a dynamically allocated copy of this message.
|
virtual |
Sets the UUID of the entity to unsubscribe from.
| name | The entity UUID to set |
Sets the UUID of the entity whose radar state updates should no longer be received. This identifies the specific radar system subscription to cancel.
|
virtual |
Gets the UUID of the entity being unsubscribed from.
|
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 whose radar state is being unsubscribed from.