VR-Forces 4.10 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Types | Protected Attributes
makVrf::DtDebugDrawRendererDriver Class Reference

DtDebugDrawRenderer is the main class that controls the processing flow of the DebugDrawRenderer. More...

Inheritance diagram for makVrf::DtDebugDrawRendererDriver:
Inheritance graph
[legend]

Public Member Functions

 DtDebugDrawRendererDriver (makVrv::DtAgentManager &am)
 CTOR takes the standard VR-Vantage driver arguments. More...
 
virtual ~DtDebugDrawRendererDriver ()
 DTOR. More...
 
virtual const std::string & className () const
 Returns the name of the class. More...
 
virtual bool onStart ()
 Standard driver interface functions for starting, stopping, and ticking the driver. More...
 
virtual bool onStop ()
 Stop the host output. More...
 
virtual bool onTick ()
 Tick. More...
 
virtual DtBaseProcesscurrentProcess ()
 current process being executed by the server More...
 
virtual DtDebugDrawRendererserver ()
 Get the server that is managing the network connections. More...
 
virtual makVrv::DtDede ()
 Accessor to the VR-Vantage display engine. More...
 
virtual void addTerrainPatch (const std::string &id, osg::ref_ptr< osg::Node > patchNode)
 Add a terrain patch to the list. More...
 
virtual osg::ref_ptr< osg::Node > terrainPatch (const std::string &id)
 Get a terrain patch from the list. More...
 
virtual void deleteAllTerrainPatch ()
 remove all patch from the list More...
 
virtual void deleteTerrainPatch (const std::string &id)
 remove a terrain patch from the list More...
 
virtual void displayTerrainPatch (const std::string &id)
 display a terrain patch from the list More...
 
virtual void hideTerrainPatch (const std::string &id)
 hide a terrain patch from the list More...
 
- Public Member Functions inherited from makVrv::DtDriver
 DtDriver (DtAgentManager &agentManager, const std::string &instanceName)
 CTOR. More...
 
virtual ~DtDriver ()
 DTOR. More...
 
virtual void realizeConfiguration (const DtConfiguration &configuration)
 Realize the driver using the configuration. More...
 
virtual DtConfiguration createConfiguration () const
 Create a configuration for the driver. More...
 
DtAgentManageragentManager ()
 Get the master scene for this host. More...
 
virtual DtAgentManagerInterfacesceneInterface ()
 Get the scene manager interface for creating agents. More...
 
bool started () const
 Get this driver's active state. More...
 
virtual const std::string & instanceName () const
 Get this driver's instance name. More...
 
virtual bool autoStart () const
 Get whether this driver is set to automatically start if it is persistent. More...
 
virtual void setAutoStart (bool autoStart)
 Set whether this driver automatically starts if it is persistent. More...
 
virtual bool isWindowDependent () const
 Get whether this driver is set to automatically start when the first window is created and stop when the last window is destroyed. More...
 
virtual void setIsWindowDependent (bool dep)
 Set whether this driver is set to automatically start when the first window is created and stop when the last window is destroyed. More...
 
virtual void setIsUserControllable (bool)
 Set whether this driver can be started and stopped by the user. More...
 
virtual bool isUserControllable () const
 Get whether this driver can be started and stopped by the user. More...
 
virtual void setIsPersistent (bool per)
 Set if the driver is persistent and should be saved between runs. More...
 
virtual bool isPersistent () const
 Get if the driver is persistent and should be saved between runs. More...
 
virtual bool isOnDriverSelectionList () const
 Returns whether or not this driver is to be automatically started/stopped from the driver selection list. More...
 
virtual void setOnDriverSelectionList (bool)
 Sets whether or not this item is on the driver selection list. More...
 
bool objectFromAgentManager (const DtUniqueID &id) const
 check to see if the object was created using this driver's agent manager. More...
 

Protected Types

typedef std::queue
< DtBaseProcess * > 
DtBaseProcessQueue
 queue for list of pending processes to handle More...
 
typedef std::map< std::string,
osg::ref_ptr< osg::Node > > 
patchListType
 map of terrain patch to draw More...
 

Protected Attributes

DtDebugDrawRenderermyServer
 Classes for message creation, handling and server network functionality. More...
 
makVrv::DtDemyDe
 
DtBaseProcessQueue myProcessQueue
 
DtBaseProcessmyCurrentProcess
 the currently being handled process if there is one More...
 
bool myServerStarted
 is the server running More...
 
makVrv::DtSignalConnectionManager mySignalConnections
 Signal Connection manager. More...
 
patchListType myPatchMap
 
- Protected Attributes inherited from makVrv::DtDriver
DtAgentManagermyAgentManager
 
bool myStartedFlag
 
std::string myName
 
DtConfiguration myConfiguration
 
bool myPersistentFlag
 
bool myUserControllableFlag
 
bool myRequestStateDiffPendingFlag
 
DtElementChanges myChanges
 

Additional Inherited Members

- Protected Member Functions inherited from makVrv::DtDriver
void applyChangesAndDelete (DtElementChanges *changes)
 Function for apply changes from a changes object and deleting it. More...
 
void reportElementCreated (DtElementID id, DtElementID parentId, DtElementEntry::ElementType type)
 Report an element created. More...
 
void reportElementAttribute (DtElementID id, DtElementAttribute *attribute)
 Report an element attribute changed. More...
 
void reportElementDestroyed (DtElementID id)
 Report an element destroyed. More...
 
void start ()
 Start the driver. More...
 
void stop ()
 Stop the driver. More...
 
bool tick ()
 Tick the host driver. More...
 
virtual void slot_displayEngineAdded (const DtDeRecord &igRecord)
 Called when a display engine is added. More...
 
virtual void setInstanceName (const std::string &name)
 set the Instance name. More...
 
virtual void installAccessories ()
 Installs accessories on this driver. More...
 
virtual void uninstallAccessories ()
 Removes accessories from this driver. More...
 

Detailed Description

DtDebugDrawRenderer is the main class that controls the processing flow of the DebugDrawRenderer.

Users should not need to create this class

Member Typedef Documentation

queue for list of pending processes to handle

typedef std::map<std::string, osg::ref_ptr<osg::Node> > makVrf::DtDebugDrawRendererDriver::patchListType
protected

map of terrain patch to draw

Constructor & Destructor Documentation

makVrf::DtDebugDrawRendererDriver::DtDebugDrawRendererDriver ( makVrv::DtAgentManager am)

CTOR takes the standard VR-Vantage driver arguments.

virtual makVrf::DtDebugDrawRendererDriver::~DtDebugDrawRendererDriver ( )
virtual

DTOR.

Member Function Documentation

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

Returns the name of the class.

Implements makVrv::DtDriver.

virtual bool makVrf::DtDebugDrawRendererDriver::onStart ( )
virtual

Standard driver interface functions for starting, stopping, and ticking the driver.

Implements makVrv::DtDriver.

virtual bool makVrf::DtDebugDrawRendererDriver::onStop ( )
virtual

Stop the host output.

All scene object created by the host should be destroyed.

Return values
trueif stop succeeded.
falseotherwise.

Implements makVrv::DtDriver.

virtual bool makVrf::DtDebugDrawRendererDriver::onTick ( )
virtual

Tick.

Return values
trueif tick succeeded.
falseotherwise.

Implements makVrv::DtDriver.

virtual DtBaseProcess* makVrf::DtDebugDrawRendererDriver::currentProcess ( )
inlinevirtual

current process being executed by the server

virtual DtDebugDrawRenderer* makVrf::DtDebugDrawRendererDriver::server ( )
inlinevirtual

Get the server that is managing the network connections.

virtual makVrv::DtDe& makVrf::DtDebugDrawRendererDriver::de ( )
inlinevirtual

Accessor to the VR-Vantage display engine.

virtual void makVrf::DtDebugDrawRendererDriver::addTerrainPatch ( const std::string &  id,
osg::ref_ptr< osg::Node >  patchNode 
)
virtual

Add a terrain patch to the list.

virtual osg::ref_ptr<osg::Node> makVrf::DtDebugDrawRendererDriver::terrainPatch ( const std::string &  id)
virtual

Get a terrain patch from the list.

virtual void makVrf::DtDebugDrawRendererDriver::deleteAllTerrainPatch ( )
virtual

remove all patch from the list

virtual void makVrf::DtDebugDrawRendererDriver::deleteTerrainPatch ( const std::string &  id)
virtual

remove a terrain patch from the list

virtual void makVrf::DtDebugDrawRendererDriver::displayTerrainPatch ( const std::string &  id)
virtual

display a terrain patch from the list

virtual void makVrf::DtDebugDrawRendererDriver::hideTerrainPatch ( const std::string &  id)
virtual

hide a terrain patch from the list

Member Data Documentation

DtDebugDrawRenderer* makVrf::DtDebugDrawRendererDriver::myServer
protected

Classes for message creation, handling and server network functionality.

makVrv::DtDe& makVrf::DtDebugDrawRendererDriver::myDe
protected
DtBaseProcessQueue makVrf::DtDebugDrawRendererDriver::myProcessQueue
protected
DtBaseProcess* makVrf::DtDebugDrawRendererDriver::myCurrentProcess
protected

the currently being handled process if there is one

bool makVrf::DtDebugDrawRendererDriver::myServerStarted
protected

is the server running

makVrv::DtSignalConnectionManager makVrf::DtDebugDrawRendererDriver::mySignalConnections
protected

Signal Connection manager.

patchListType makVrf::DtDebugDrawRendererDriver::myPatchMap
protected

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

Document ID: Generated on Tue Sep 21 17:42:52 EDT 2021 from SVN revision 234861
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)