VR-Forces 4.0.4 Class Documentation
Public Member Functions | Protected Member Functions | Protected Attributes
DtBhaveDebugLineDriver Class Reference

This driver owns a DtExampleDrawObject, and is responsible for keeping track of the draw object's state & creating or destroying it when the driver is started or stopped. More...

Inheritance diagram for DtBhaveDebugLineDriver:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 DtBhaveDebugLineDriver (makVrv::DtAgentManager &agentManager, const std::string &instanceName)
 CTOR.
virtual ~DtBhaveDebugLineDriver ()
 DTOR.
virtual const std::string & className () const
 Get the class name as a string.
virtual void setDrawDebugLines ()
 Toggle drawing of debug lines via the F_11 key.
virtual bool drawDebugLines ()

Protected Member Functions

virtual bool onStart ()
 Called when the driver is started by the display engine Calls initKynapse.
virtual bool onTick ()
 calls to our drawer to draw the bhave debug lines
virtual bool onStop ()
 Called when the driver is stopped by the display engine Calls exitKynapse.

Protected Attributes

DtBhaveLinesModelAgentmyLineDrawer
bool myDrawingDebugLines

Detailed Description

This driver owns a DtExampleDrawObject, and is responsible for keeping track of the draw object's state & creating or destroying it when the driver is started or stopped.


Constructor & Destructor Documentation

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

CTOR.

DTOR.


Member Function Documentation

virtual const std::string& DtBhaveDebugLineDriver::className ( ) const [virtual]

Get the class name as a string.

Implements makVrv::DtDriver.

virtual void DtBhaveDebugLineDriver::setDrawDebugLines ( ) [virtual]

Toggle drawing of debug lines via the F_11 key.

virtual bool DtBhaveDebugLineDriver::onStart ( ) [protected, virtual]

Called when the driver is started by the display engine Calls initKynapse.

Implements makVrv::DtDriver.

virtual bool DtBhaveDebugLineDriver::onTick ( ) [protected, virtual]

calls to our drawer to draw the bhave debug lines

Implements makVrv::DtDriver.

virtual bool DtBhaveDebugLineDriver::onStop ( ) [protected, virtual]

Called when the driver is stopped by the display engine Calls exitKynapse.

Implements makVrv::DtDriver.


Member Data Documentation


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)