|
VR-Engage
2.2
|
#include <windowOperation.h>
Classes | |
| struct | WindowOperationData |
Public Types | |
| enum | OperationType { OperationType_Create , OperationType_Modify , OperationType_Destroy } |
| enum | WindowType { WindowType_Gimbal , WindowType_PVD , WindowType_Stealth , WindowType_InstrumentPanel , WindowType_Any } |
Public Member Functions | |
| virtual const std::string & | type () const override |
| virtual const makVre::DtVreMessageId & | messageId () const override |
| virtual | ~WindowOperationMessage () override |
| virtual const std::string & | getMarking () const |
| virtual void | setMarking (const std::string &val) |
| virtual const DtEntityIdentifier & | getOwnshipEntityId () const |
| virtual void | setOwnshipEntityId (const DtEntityIdentifier &val) |
| virtual const DtEntityIdentifier & | getPanelHostEntityId () const |
| virtual void | setPanelHostEntityId (const DtEntityIdentifier &val) |
| virtual OperationType | getOperation () const |
| virtual void | setOperation (OperationType val) |
| virtual WindowType | getWindowType () const |
| virtual void | setWindowType (WindowType val) |
| virtual const std::string & | getSensorMode () const |
| virtual void | setSensorMode (const std::string &val) |
| virtual const std::string & | getModelDefinition () const |
| virtual void | setModelDefinition (const std::string &val) |
| virtual const DtVector & | getWindowPosition () const |
| virtual void | setWindowPosition (const DtVector &val) |
| virtual const DtVector & | getWindowSize () const |
| virtual void | setWindowSize (const DtVector &val) |
| virtual int | getScreen () const |
| virtual void | setScreen (int val) |
| virtual bool | getIsFullScreen () const |
| virtual void | setIsFullScreen (bool val) |
| virtual const DtEntityIdentifier & | getModifyAttachedId () const |
| virtual void | setModifyAttachedId (const DtEntityIdentifier &val) |
| virtual const std::string & | getModifyAttachedMarkingText () const |
| virtual void | setModifyAttachedMarkingText (const std::string &val) |
| virtual const DtVector & | getModifyAttachedOffset () const |
| virtual void | setModifyAttachedOffset (const DtVector &val) |
| virtual const std::string & | getChannelName () const |
| virtual void | setChannelName (const std::string &val) |
| virtual double | getZoomLevel () const |
| virtual void | setZoomLevel (double val) |
| virtual double | getViewportLeft () const |
| virtual void | setViewportLeft (double val) |
| virtual double | getViewportRight () const |
| virtual void | setViewportRight (double val) |
| virtual double | getViewportBottom () const |
| virtual void | setViewportBottom (double val) |
| virtual double | getViewportTop () const |
| virtual void | setViewportTop (double val) |
| virtual bool | getRtt () const |
| virtual void | setRtt (bool val) |
| virtual const std::string & | getReplaceTexture () const |
| virtual void | setReplaceTexture (const std::string &val) |
| virtual bool | getHasTransparency () const |
| virtual void | setHasTransparency (bool val) |
| virtual double | getZNear () const |
| virtual void | setZNear (double val) |
| virtual double | getZFar () const |
| virtual void | setZFar (double val) |
| virtual double | getFov () const |
| virtual void | setFov (double val) |
| virtual bool | getAttachStealthAsGimbal () const |
| virtual void | setAttachStealthAsGimbal (bool val) |
| virtual const std::string & | getStealthObserverMode () const |
| virtual void | setStealthObserverMode (const std::string &val) |
| virtual int | getInitialScale () const |
| virtual void | setInitialScale (int val) |
| virtual const std::vector< std::string > & | getAdditionalChannelKeywords () const |
| virtual void | setAdditionalChannelKeywords (const std::vector< std::string > &val) |
| virtual const std::string & | getPanelId () const |
| virtual void | setPanelId (const std::string &val) |
| virtual bool | getCockpitOnly () const |
| virtual void | setCockpitOnly (bool val) |
| virtual const DtVector & | getLocationTrackAttachment () const |
| virtual void | setLocationTrackAttachment (const DtVector &val) |
| virtual const std::string & | getObjectTrackAttachment () const |
| virtual void | setObjectTrackAttachment (const std::string &val) |
| virtual int | messageSize () const override |
| WindowOperationData | getData () |
| WindowOperationData | getData () const |
| bool | operator== (const WindowOperationMessage &rhs) const |
Static Public Member Functions | |
| static WindowOperationMessage * | create () |
| static WindowOperationMessage * | createFrom (WindowOperationMessage *) |
| static WindowOperationMessage * | createFromData (const WindowOperationData) |
| static const std::string & | theType () |
| static const makVre::DtVreMessageId & | theId () |
| static UInt64 | theVersionNumber () |
| static makVre::DtVreMessage * | decode (char *buffer, int length) |
Protected Member Functions | |
| WindowOperationMessage () | |
| virtual void | serialize (DtStreamWriter &writer) const override |
| virtual void | deserialize (DtStreamReader &reader) override |
Protected Attributes | |
| WindowOperationData | myData |
Static Protected Attributes | |
| static makVre::DtVreMessageId | theMessageId |
| static UInt64 | theVersion |
|
overridevirtual |
|
protected |
Referenced by create(), createFrom(), createFromData(), and operator==().
|
static |
References WindowOperationMessage().
Referenced by makVre::createGimbalView(), makVre::createPlanView(), makVre::destroyGimbalView(), makVre::destroyPlanView(), and makVre::modifyGimbalView().
|
static |
References WindowOperationMessage().
|
static |
References WindowOperationMessage().
|
static |
static message identity functions
|
static |
|
static |
|
overridevirtual |
Get the name of the message type.
Implements makVre::DtVreMessage.
|
overridevirtual |
Gets the message ID object.
This pure virtual method must be implemented by derived classes to return a unique identifier object for the message. The message ID contains both the type name and a hash value for efficient routing.
Implements makVre::DtVreMessage.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
Referenced by makVre::createGimbalView(), and makVre::modifyGimbalView().
|
virtual |
|
virtual |
|
virtual |
|
virtual |
Referenced by makVre::createGimbalView(), and makVre::createPlanView().
|
virtual |
|
virtual |
Referenced by makVre::createGimbalView(), and makVre::createPlanView().
|
virtual |
|
virtual |
Referenced by makVre::createGimbalView(), and makVre::createPlanView().
|
virtual |
|
virtual |
Referenced by makVre::createGimbalView(), and makVre::createPlanView().
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
overridevirtual |
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.
Reimplemented from makVre::DtVreMessage.
|
static |
| WindowOperationData makVre::WindowOperationMessage::getData | ( | ) |
| WindowOperationData makVre::WindowOperationMessage::getData | ( | ) | const |
| bool makVre::WindowOperationMessage::operator== | ( | const WindowOperationMessage & | rhs | ) | const |
References WindowOperationMessage().
|
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 |