![]() |
VR-Forces 4.0.4 Class Documentation
|
Driver for GLStudio cockpits. More...

Public Member Functions | |
| DtGlStudioDriver (DtAgentManager &agentManager, const std::string &instanceName) | |
| constructor | |
| virtual | ~DtGlStudioDriver () |
| destructor | |
| virtual const std::string & | className () const |
| Get this Driver's class name. | |
| virtual void | hideEntity (DtObserver *obs) |
| virtual void | unHideEntity (DtObserver *obs) |
Protected Types | |
| typedef std::map< DtObserver *, DtUniqueID > | DtObserverAttachmentMap |
Protected Member Functions | |
| virtual bool | onStart () |
| Start the host output. | |
| virtual bool | onStop () |
| Stop the host output. | |
| virtual bool | onTick () |
| Tick. | |
| virtual void | handleAttachToChange (DtObserver *obs) |
| checks when attachment changes if a new cockpit needs to be loaded | |
| virtual void | handleAttachTypeChange (DtObserver *obs) |
| checks when attachment type changes if cockpits need to be displayed | |
| virtual void | handleObserverDestroyed (DtObserver *observer) |
| checks when observers are destroyed if cockipts need to be removed | |
| virtual void | handleObserverCreated (DtObserver *observer) |
| checks when observer is created if cockpits need to be addeed | |
| virtual void | realizeCockpit (DtObserver *obs) |
| creates a cockpit for the given observer's attached entity | |
| virtual void | unrealizeCockpit (DtObserver *obs) |
| cleans up any cockpits that may have been created | |
| virtual DtUniqueID | findAttachedSimObject (DtObserver *obs) |
| finds the sim object ID of the attached object | |
Protected Attributes | |
| DtObserverAttachmentMap | myAttachedObserverMap |
| std::string | myClassName |
| DtAttachManager * | myAttachManager |
| DtDe * | myDe |
Driver for GLStudio cockpits.
typedef std::map<DtObserver*, DtUniqueID> makVrv::DtGlStudioDriver::DtObserverAttachmentMap [protected] |
| makVrv::DtGlStudioDriver::DtGlStudioDriver | ( | DtAgentManager & | agentManager, |
| const std::string & | instanceName | ||
| ) |
constructor
| virtual makVrv::DtGlStudioDriver::~DtGlStudioDriver | ( | ) | [virtual] |
destructor
| virtual const std::string& makVrv::DtGlStudioDriver::className | ( | ) | const [virtual] |
Get this Driver's class name.
Implements makVrv::DtDriver.
| virtual void makVrv::DtGlStudioDriver::hideEntity | ( | DtObserver * | obs | ) | [virtual] |
| virtual void makVrv::DtGlStudioDriver::unHideEntity | ( | DtObserver * | obs | ) | [virtual] |
| virtual bool makVrv::DtGlStudioDriver::onStart | ( | ) | [protected, virtual] |
Start the host output.
Create all object for an existing host connection.
Implements makVrv::DtDriver.
| virtual bool makVrv::DtGlStudioDriver::onStop | ( | ) | [protected, virtual] |
Stop the host output.
All scene object created by the host should be destroyed.
Implements makVrv::DtDriver.
| virtual bool makVrv::DtGlStudioDriver::onTick | ( | ) | [protected, virtual] |
Tick.
Implements makVrv::DtDriver.
| virtual void makVrv::DtGlStudioDriver::handleAttachToChange | ( | DtObserver * | obs | ) | [protected, virtual] |
checks when attachment changes if a new cockpit needs to be loaded
| virtual void makVrv::DtGlStudioDriver::handleAttachTypeChange | ( | DtObserver * | obs | ) | [protected, virtual] |
checks when attachment type changes if cockpits need to be displayed
| virtual void makVrv::DtGlStudioDriver::handleObserverDestroyed | ( | DtObserver * | observer | ) | [protected, virtual] |
checks when observers are destroyed if cockipts need to be removed
| virtual void makVrv::DtGlStudioDriver::handleObserverCreated | ( | DtObserver * | observer | ) | [protected, virtual] |
checks when observer is created if cockpits need to be addeed
| virtual void makVrv::DtGlStudioDriver::realizeCockpit | ( | DtObserver * | obs | ) | [protected, virtual] |
creates a cockpit for the given observer's attached entity
| virtual void makVrv::DtGlStudioDriver::unrealizeCockpit | ( | DtObserver * | obs | ) | [protected, virtual] |
cleans up any cockpits that may have been created
| virtual DtUniqueID makVrv::DtGlStudioDriver::findAttachedSimObject | ( | DtObserver * | obs | ) | [protected, virtual] |
finds the sim object ID of the attached object
std::string makVrv::DtGlStudioDriver::myClassName [protected] |
DtAttachManager* makVrv::DtGlStudioDriver::myAttachManager [protected] |
DtDe* makVrv::DtGlStudioDriver::myDe [protected] |