VR-Forces 4.2 Class Documentation
List of all members | Public Types | Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes
makVrf::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 makVrf::DtBhaveDebugLineDriver:
Inheritance graph
[legend]

Public Types

typedef
DtKynapseLinesModel::BufferVector 
BufferVector

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 toggleDrawDebugLines ()
 Toggle drawing of debug lines via the F_11 key.
virtual void setDrawDebugLines (bool enabled)
 Enable/disable drawing of debug lines.
virtual BufferVector bufferInfo ()
virtual bool drawBuffer (std::string name, bool draw)

Protected Types

typedef DtMutex Mutex
typedef DtScopedLock ScopedLock

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

DtMutex myMutex
std::string myName
std::auto_ptr
< DtKynapseLinesModelAgent > 
myLineDrawer

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.

Member Typedef Documentation

typedef DtMutex makVrf::DtBhaveDebugLineDriver::Mutex
protected
typedef DtScopedLock makVrf::DtBhaveDebugLineDriver::ScopedLock
protected

Constructor & Destructor Documentation

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

CTOR.

virtual makVrf::DtBhaveDebugLineDriver::~DtBhaveDebugLineDriver ( )
virtual

DTOR.

Member Function Documentation

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

Get the class name as a string.

virtual void makVrf::DtBhaveDebugLineDriver::toggleDrawDebugLines ( )
virtual

Toggle drawing of debug lines via the F_11 key.

virtual void makVrf::DtBhaveDebugLineDriver::setDrawDebugLines ( bool  enabled)
virtual

Enable/disable drawing of debug lines.

virtual BufferVector makVrf::DtBhaveDebugLineDriver::bufferInfo ( )
virtual
virtual bool makVrf::DtBhaveDebugLineDriver::drawBuffer ( std::string  name,
bool  draw 
)
virtual
virtual bool makVrf::DtBhaveDebugLineDriver::onStart ( )
protectedvirtual

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

virtual bool makVrf::DtBhaveDebugLineDriver::onTick ( )
protectedvirtual

calls to our drawer to draw the bhave debug lines

virtual bool makVrf::DtBhaveDebugLineDriver::onStop ( )
protectedvirtual

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

Member Data Documentation

DtMutex makVrf::DtBhaveDebugLineDriver::myMutex
mutableprotected
std::string makVrf::DtBhaveDebugLineDriver::myName
protected
std::auto_ptr<DtKynapseLinesModelAgent> makVrf::DtBhaveDebugLineDriver::myLineDrawer
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)