VR-Forces 4.0.4 Class Documentation
Public Types | Public Member Functions | Protected Attributes
DtVrfObjectTerrainPreloadManager Class Reference

This manager is on a per-DtVrfObject level, and is responsible for knowing what terrain areas an object is expected to need in the near future for the purpose of pre-loading that terrain from a server or paged terrain source. More...

List of all members.

Public Types

typedef DtCallbackList
< DtVrfObjectTerrainPreloadArgs & > 
DtProviderCallbackList

Public Member Functions

 DtVrfObjectTerrainPreloadManager ()
virtual ~DtVrfObjectTerrainPreloadManager ()
virtual DtTerrainPagingGeometryList preloadGeometry (double seconds)
virtual void addProvider (DtProviderCallbackList::DtCallbackFunctionType fcn, void *usrData)
 Add a new terrain preload area provider.
virtual void removeProvider (DtProviderCallbackList::DtCallbackFunctionType fcn, void *usrData)
 Remove a provider function added with addProvider()

Protected Attributes

DtProviderCallbackList myProviderCallbackList

Private Member Functions

 DtVrfObjectTerrainPreloadManager (DtVrfObjectTerrainPreloadManager &orig)
 Not Implemented.
DtVrfObjectTerrainPreloadManageroperator= (DtVrfObjectTerrainPreloadManager &orig)
 Not Implemented.

Detailed Description

This manager is on a per-DtVrfObject level, and is responsible for knowing what terrain areas an object is expected to need in the near future for the purpose of pre-loading that terrain from a server or paged terrain source.

Objects that are part of the DtVrfObject (typically controllers or actuators) register as providers with this object if they with to provide this type of data as input. Providers must add their new geometry (if any) to the geometry list that is passed in as an argument to the callback that is invoked.


Member Typedef Documentation


Constructor & Destructor Documentation

Not Implemented.


Member Function Documentation

DtVrfObjectTerrainPreloadManager& DtVrfObjectTerrainPreloadManager::operator= ( DtVrfObjectTerrainPreloadManager orig) [private]

Not Implemented.

Returns:
The list of terrain areas that are projected to be needed by the host DtVrfObject in the next specified number of seconds.

Add a new terrain preload area provider.

Must register a static function with the signature: void function(DtVrfObjectTerrainPreloadArgs&)

Remove a provider function added with addProvider()


Member Data Documentation


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

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)