|
VR-Engage
2.3
|
Message type: "app.backendStatus.report"
#include <backendStatus.h>
Classes | |
| struct | BackendStatusData |
Public Member Functions | |
| virtual | ~BackendStatusMessage () override |
Enabled | |
True when backend launch has been initiated (address assigned) | |
| virtual bool | getEnabled () const |
| virtual void | setEnabled (bool val) |
Started | |
True when backend has been discovered on the network and is responsive. | |
| virtual bool | getStarted () const |
| virtual void | setStarted (bool val) |
CanHost | |
True when backend has full scenario hosting capabilities. | |
| virtual bool | getCanHost () const |
| virtual void | setCanHost (bool val) |
Idle | |
True when started but no scenario is loaded. | |
| virtual bool | getIdle () const |
| virtual void | setIdle (bool val) |
Loaded | |
True when a scenario has been loaded. | |
| virtual bool | getLoaded () const |
| virtual void | setLoaded (bool val) |
Reloading | |
True when scenario is loaded but cannot simulate (reloading) | |
| virtual bool | getReloading () const |
| virtual void | setReloading (bool val) |
Loading | |
True when backend is actively loading a scenario. | |
| virtual bool | getLoading () const |
| virtual void | setLoading (bool val) |
Ready | |
True when started, loaded, and not in transition. | |
| virtual bool | getReady () const |
| virtual void | setReady (bool val) |
Operators | |
| bool | operator== (const BackendStatusMessage &rhs) const |
| bool | operator!= (const BackendStatusMessage &rhs) const |
Static Public Member Functions | |
Static Creators | |
Create a new default instance.
| |
| static BackendStatusMessage * | create () |
| static BackendStatusMessage * | createFrom (BackendStatusMessage *origMsg) |
| static BackendStatusMessage * | createFromData (const BackendStatusData data) |
Protected Member Functions | |
| BackendStatusMessage () | |
| virtual void | serialize (DtStreamWriter &writer) const override |
| virtual void | deserialize (DtStreamReader &reader) override |
Protected Attributes | |
| BackendStatusData | myData |
Static Protected Attributes | |
| static makVre::DtVreMessageId | theMessageId |
| static UInt64 | theVersion |
Type Identity | |
Get the message type string for this message class. | |
| virtual const std::string & | type () const override |
| virtual const makVre::DtVreMessageId & | messageId () const override |
| static const std::string & | theType () |
| static const makVre::DtVreMessageId & | theId () |
| static UInt64 | theVersionNumber () |
Serialization | |
Static decode function pattern for derived classes.
Gets the total size of the serialized message in bytes
This method calculates the total size of the message when serialized, including the base message header (message size, type hash, application ID, version, and delay) and any data added by derived classes. Derived classes should override this method to include their own data size while calling the base class implementation. | |
| virtual int | messageSize () const override |
| BackendStatusData | getData () |
| BackendStatusData | getData () const |
| static makVre::DtVreMessage * | decode (char *buffer, int length) |
|
overridevirtual |
Destructor.
|
protected |
Referenced by create(), createFrom(), createFromData(), operator!=(), and operator==().
|
static |
Create a copy of the given message.
| origMsg | The message to copy. Must not be null. |
References BackendStatusMessage().
|
static |
Create a copy of the given message.
| origMsg | The message to copy. Must not be null. |
References BackendStatusMessage().
|
static |
Create a new message initialized with the given data.
| data | The data payload to initialize the message with. |
References BackendStatusMessage().
|
static |
Get the message type string for this instance.
|
static |
Get the message identifier for this message class.
|
static |
Get the version number for this message class.
|
overridevirtual |
Get the message type string for this instance.
Implements makVre::DtVreMessage.
|
overridevirtual |
Get the message identifier for this instance.
Implements makVre::DtVreMessage.
|
virtual |
True when backend launch has been initiated (address assigned)
|
virtual |
True when backend launch has been initiated (address assigned)
|
virtual |
True when backend has been discovered on the network and is responsive.
|
virtual |
True when backend has been discovered on the network and is responsive.
|
virtual |
True when backend has full scenario hosting capabilities.
|
virtual |
True when backend has full scenario hosting capabilities.
|
virtual |
True when started but no scenario is loaded.
|
virtual |
True when started but no scenario is loaded.
|
virtual |
True when a scenario has been loaded.
|
virtual |
True when a scenario has been loaded.
|
virtual |
True when scenario is loaded but cannot simulate (reloading)
|
virtual |
True when scenario is loaded but cannot simulate (reloading)
|
virtual |
True when backend is actively loading a scenario.
|
virtual |
True when backend is actively loading a scenario.
|
virtual |
True when started, loaded, and not in transition.
|
virtual |
True when started, loaded, and not in transition.
|
overridevirtual |
Get a copy of the message data.
Reimplemented from makVre::DtVreMessage.
|
static |
Decode a message from a byte buffer.
| buffer | The raw byte buffer to decode from. |
| length | The length of the buffer in bytes. |
| BackendStatusData makVre::BackendStatusMessage::getData | ( | ) |
Get a copy of the message data.
| BackendStatusData makVre::BackendStatusMessage::getData | ( | ) | const |
Get a copy of the message data (const).
| bool makVre::BackendStatusMessage::operator== | ( | const BackendStatusMessage & | rhs | ) | const |
References BackendStatusMessage().
| bool makVre::BackendStatusMessage::operator!= | ( | const BackendStatusMessage & | rhs | ) | const |
References BackendStatusMessage().
|
overrideprotectedvirtual |
Serializes the message to a stream writer.
| writer | Reference to the stream writer |
This method writes the message header fields to the stream writer. Derived classes should override this method to add their own fields while calling the base class implementation.
Reimplemented from makVre::DtVreMessage.
|
overrideprotectedvirtual |
Deserializes the message from a stream reader.
| reader | Reference to the stream reader |
This method reads the message header fields from the stream reader. Derived classes should override this method to read their own fields while calling the base class implementation.
Reimplemented from makVre::DtVreMessage.
|
staticprotected |
|
staticprotected |
|
protected |