VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Private Attributes
makVrv::DtDatabasePagerCallback Class Reference

simple callback class to pass the database pager signals to a boost signal in the terrain signalar. More...

Inheritance diagram for makVrv::DtDatabasePagerCallback:
Inheritance graph
[legend]

Public Member Functions

 DtDatabasePagerCallback (DtDe &de)
 
virtual void childLoaded (const osg::DatabaseRequestHandler *, const osg::Group *page, osg::Node *child, const std::string &fileName, osg::Node *&returnedNode) const
 Called before a node is added to the live scene graph, possibly from a background pager thread The child may be replaced (e.g. More...
 
virtual void childPagedIn (const osg::DatabaseRequestHandler *, osg::PagedLOD *page, osg::Node *child) const
 
virtual void childAboutToPageOut (const osg::DatabaseRequestHandler *, osg::PagedLOD *page, osg::Node *child) const
 
virtual
osg::DatabaseRequestHandlerCallback * 
clone () const
 
virtual ~DtDatabasePagerCallback ()
 

Private Attributes

DtDemyDe
 
DtTerrainPageSignalermyTerrainPageSignaler
 

Detailed Description

simple callback class to pass the database pager signals to a boost signal in the terrain signalar.

Constructor & Destructor Documentation

makVrv::DtDatabasePagerCallback::DtDatabasePagerCallback ( DtDe de)
virtual makVrv::DtDatabasePagerCallback::~DtDatabasePagerCallback ( )
inlinevirtual

Member Function Documentation

virtual void makVrv::DtDatabasePagerCallback::childLoaded ( const osg::DatabaseRequestHandler *  ,
const osg::Group *  page,
osg::Node *  child,
const std::string &  fileName,
osg::Node *&  returnedNode 
) const
virtual

Called before a node is added to the live scene graph, possibly from a background pager thread The child may be replaced (e.g.

cloned and some operations (e.g. flattening/indirecting) may get done on it. In which case, the returned node is non-null and is what will get ultimately added to the scenegraph. The default handling sets the returned node to 0

virtual void makVrv::DtDatabasePagerCallback::childPagedIn ( const osg::DatabaseRequestHandler *  ,
osg::PagedLOD *  page,
osg::Node *  child 
) const
virtual
virtual void makVrv::DtDatabasePagerCallback::childAboutToPageOut ( const osg::DatabaseRequestHandler *  ,
osg::PagedLOD *  page,
osg::Node *  child 
) const
virtual
virtual osg::DatabaseRequestHandlerCallback* makVrv::DtDatabasePagerCallback::clone ( ) const
virtual

Member Data Documentation

DtDe& makVrv::DtDatabasePagerCallback::myDe
private
DtTerrainPageSignaler& makVrv::DtDatabasePagerCallback::myTerrainPageSignaler
private

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

Document ID: Generated on Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)