![]() |
VR-Forces Developer's Guide
|
MyAttachObserverCommand is a custom VR-Vantage class that processes view control messages with the command type MyControlToolkit::AttachObserverToSensor. Note that instances of this class are created and its methods called in the VR-Link connection thread, except for execute(), which is called in the Main (render) thread.

Public Member Functions | |
| MyAttachObserverCommand () | |
| virtual | ~MyAttachObserverCommand () |
| virtual const DtUniqueID & | entityId () |
| virtual void | setEntityId (const DtUniqueID &entityId) |
| virtual const std::string & | sensorName () |
| virtual void | setSensorName (const std::string &sensorName) |
| virtual const std::string & | observerName () |
| virtual void | setObserverName (const std::string &observerName) |
| virtual bool | createOverlay () const |
| virtual void | setCreateOverlay (bool) |
| virtual void | execute (DtDe &de) |
Public Member Functions inherited from makVrv::DtVrvCommand | |
| DtVrvCommand () | |
| virtual | ~DtVrvCommand () |
| virtual vrvControlToolkit::DtVrvControlTypeEnum | commandType () |
Protected Attributes | |
| DtUniqueID | myEntityId |
| std::string | mySensorName |
| std::string | myObserverName |
| bool | myCreateOverlay |
Protected Attributes inherited from makVrv::DtVrvCommand | |
| vrvControlToolkit::DtVrvControlTypeEnum | myCommandType |
| MyViewControl::MyAttachObserverCommand::MyAttachObserverCommand | ( | ) |
CTOR.
|
virtual |
Virtual DTOR.
|
virtual |
The Global ID of the entity that hosts the sensor.
|
virtual |
|
virtual |
The name of the sensor gimbal to attach to.
|
virtual |
|
virtual |
The name of the observer.
|
virtual |
|
virtual |
set and get whether to create or delete the sensor view
|
virtual |
|
virtual |
Execute makes the call(s) to the VR-Vantage API to actually make the changes requested in the message. Since it is passed a de (Display Engine) reference, it has access to most of the VR-Vantage API.
Implements makVrv::DtVrvCommand.
|
protected |
|
protected |
|
protected |
|
protected |