VR-Forces 4.0.4 Class Documentation
Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes
makVrv::DtGlStudioDriver Class Reference

Driver for GLStudio cockpits. More...

Inheritance diagram for makVrv::DtGlStudioDriver:
Inheritance graph
[legend]

List of all members.

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
DtAttachManagermyAttachManager
DtDemyDe

Detailed Description

Driver for GLStudio cockpits.


Member Typedef Documentation


Constructor & Destructor Documentation

makVrv::DtGlStudioDriver::DtGlStudioDriver ( DtAgentManager agentManager,
const std::string &  instanceName 
)

constructor

destructor


Member Function Documentation

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

finds the sim object ID of the attached object


Member Data Documentation

std::string makVrv::DtGlStudioDriver::myClassName [protected]

The documentation for this class was generated from the following file:

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)