VR-Forces 4.2 Class Documentation
List of all members | 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]

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.

virtual DtBhaveDebugLineDriver::~DtBhaveDebugLineDriver ( )
virtual

DTOR.

Member Function Documentation

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

Get the class name as a string.

virtual void DtBhaveDebugLineDriver::setDrawDebugLines ( )
virtual

Toggle drawing of debug lines via the F_11 key.

virtual bool DtBhaveDebugLineDriver::drawDebugLines ( )
virtual
virtual bool DtBhaveDebugLineDriver::onStart ( )
protectedvirtual

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

virtual bool DtBhaveDebugLineDriver::onTick ( )
protectedvirtual

calls to our drawer to draw the bhave debug lines

virtual bool DtBhaveDebugLineDriver::onStop ( )
protectedvirtual

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

Member Data Documentation

DtBhaveLinesModelAgent* DtBhaveDebugLineDriver::myLineDrawer
protected
bool DtBhaveDebugLineDriver::myDrawingDebugLines
protected

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

Document ID: Generated on Sun Nov 24 19:49:21 EST 2013 from SVN revision 133924
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)