VR-Forces Developer's Guide
 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. Users should not need to create this class.

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

Public Member Functions

 DtDebugDrawRendererDriver (makVrv::DtAgentManager &am)
 
virtual ~DtDebugDrawRendererDriver () override
 
virtual const std::string & className () const override
 
virtual bool onStart () override
 
virtual bool onStop () override
 
virtual bool onTick () override
 
virtual DtBaseProcesscurrentProcess ()
 
virtual DtDebugDrawRendererserver ()
 
virtual makVrv::DtDede ()
 
virtual void addTerrainPatch (const std::string &id, osg::ref_ptr< osg::Node > patchNode)
 
virtual osg::ref_ptr< osg::Node > terrainPatch (const std::string &id)
 
virtual void deleteAllTerrainPatch ()
 
virtual void deleteTerrainPatch (const std::string &id)
 
virtual void displayTerrainPatch (const std::string &id)
 
virtual void hideTerrainPatch (const std::string &id)
 
- Public Member Functions inherited from makVrv::DtDriver
 DtDriver (DtAgentManager &agentManager, const std::string &instanceName)
 
virtual ~DtDriver ()
 
virtual void realizeConfiguration (const DtConfiguration &configuration)
 
virtual DtConfiguration createConfiguration (bool saveAllParameters=false) const
 
DtAgentManageragentManager ()
 
virtual DtAgentManagerInterfacesceneInterface ()
 
bool started () const
 
virtual const std::string & instanceName () const
 
virtual bool autoStart () const
 
virtual void setAutoStart (bool autoStart)
 
virtual bool isWindowDependent () const
 
virtual void setIsWindowDependent (bool dep)
 
virtual void setIsUserControllable (bool)
 
virtual bool isUserControllable () const
 
virtual void setIsPersistent (bool per)
 
virtual bool isPersistent () const
 
virtual bool isOnDriverSelectionList () const
 
virtual void setOnDriverSelectionList (bool)
 
bool objectFromAgentManager (const DtUniqueID &id) const
 

Protected Types

typedef std::queue
< DtBaseProcess * > 
DtBaseProcessQueue
 
typedef std::map< std::string,
osg::ref_ptr< osg::Node > > 
patchListType
 

Protected Attributes

DtDebugDrawRenderermyServer
 
makVrv::DtDemyDe
 
DtBaseProcessQueue myProcessQueue
 
DtBaseProcessmyCurrentProcess
 
bool myServerStarted
 
makVrv::DtSignalConnectionManager mySignalConnections
 
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)
 
void reportElementCreated (DtElementID id, DtElementID parentId, DtElementEntry::ElementType type)
 
void reportElementAttribute (DtElementID id, DtElementAttribute *attribute)
 
void reportElementDestroyed (DtElementID id)
 
void start ()
 
void stop ()
 
bool tick ()
 
virtual void slot_displayEngineAdded (const DtDeRecord &igRecord)
 
virtual void setInstanceName (const std::string &name)
 
virtual void installAccessories ()
 
virtual void uninstallAccessories ()
 
- Static Protected Attributes inherited from makVrv::DtDriver
static const std::string theOnDriverSelectionList
 

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 ( )
overridevirtual

DTOR.

Member Function Documentation

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

Returns the name of the class.

Implements makVrv::DtDriver.

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

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

Implements makVrv::DtDriver.

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

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 ( )
overridevirtual

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 Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)