![]() |
VR-Forces 5.0.3 Developer's Guide
|
Driver for GLStudio cockpits.

Protected Types | |
| typedef std::map< DtObserver *, DtUniqueID > | DtObserverAttachmentMap |
Protected Member Functions | |
| virtual bool | onStart () |
| virtual bool | onStop () |
| virtual bool | onTick () |
| virtual void | handleAttachChange (DtObserver *obs) |
| virtual void | handleObserverDestroyed (DtObserver *observer) |
| virtual void | handleObserverCreated (DtObserver *observer) |
| virtual void | handleEnableStateChanged (bool enabled) |
| virtual void | unrealizeCockpit (DtObserver *obs) |
| virtual DtUniqueID | findAttachedSimObject (DtObserver *obs) |
Protected Member Functions inherited from makVrv::DtDriver | |
| void | applyChangesAndDelete (DtElementChanges *changes) |
| void | reportElementCreated (DtElementID id, DtElementID parentId, DtElementEntry::ElementType type) |
| void | reportElementAttribute (DtElementID id, DtElementAttribute *attribute) |
| void | reportElementDestroyed (DtElementID id) |
| void | start () |
| void | stop () |
| bool | tick () |
| virtual void | slot_displayEngineAdded (const DtDeRecord &igRecord) |
| virtual void | setInstanceName (const std::string &name) |
| virtual void | installAccessories () |
| virtual void | uninstallAccessories () |
Protected Attributes | |
| DtObserverAttachmentMap | myAttachedObserverMap |
| std::string | myClassName |
| DtAttachManager * | myAttachManager |
| DtDe * | myDe |
Protected Attributes inherited from makVrv::DtDriver | |
| DtAgentManager & | myAgentManager |
| bool | myStartedFlag |
| std::string | myName |
| DtConfiguration | myConfiguration |
| bool | myPersistentFlag |
| bool | myUserControllableFlag |
| bool | myRequestStateDiffPendingFlag |
| DtElementChanges | myChanges |
|
protected |
| makVrv::DtGlStudioDriver::DtGlStudioDriver | ( | DtAgentManager & | agentManager, |
| const std::string & | instanceName | ||
| ) |
constructor
|
virtual |
destructor
|
virtual |
Get this Driver's class name.
Implements makVrv::DtDriver.
|
virtual |
|
virtual |
|
virtual |
The GL Studio driver uses this to tell the observer that it's going to render a 3D cockpit so the observer can take that into account when determining znear.
|
virtual |
Creates a cockpit for the given observer's attached entity. If a model definition is given it will be created otherwise the default cockpit mappings will be used.
|
protectedvirtual |
Start the host output. Create all object for an existing host connection.
Implements makVrv::DtDriver.
|
protectedvirtual |
Stop the host output. All scene object created by the host should be destroyed.
Implements makVrv::DtDriver.
|
protectedvirtual |
Tick.
Implements makVrv::DtDriver.
|
protectedvirtual |
checks when attachment changes if a new cockpit needs to be
|
protectedvirtual |
checks when observers are destroyed if cockipts need to be removed
|
protectedvirtual |
checks when observer is created if cockpits need to be addeed
|
protectedvirtual |
checks when HUDs are enabled, realizes cockpit for any entities Attached to that don't have a HUD yet.
|
protectedvirtual |
cleans up any cockpits that may have been created
|
protectedvirtual |
finds the sim object ID of the attached object
|
protected |
|
protected |
|
protected |
|
protected |