![]() |
VR-Forces 5.0.2 Developer's Guide
|
This manager is on a per-DtLocalObject 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 DtLocalObject (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.
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) |
| virtual void | removeProvider (DtProviderCallbackList::DtCallbackFunctionType fcn, void *usrData) |
Protected Attributes | |
| DtProviderCallbackList | myProviderCallbackList |
Private Member Functions | |
| DtVrfObjectTerrainPreloadManager (DtVrfObjectTerrainPreloadManager &orig) | |
| DtVrfObjectTerrainPreloadManager & | operator= (DtVrfObjectTerrainPreloadManager &orig) |
| typedef DtCallbackList<DtVrfObjectTerrainPreloadArgs&> DtVrfObjectTerrainPreloadManager::DtProviderCallbackList |
|
private |
Not Implemented.
| DtVrfObjectTerrainPreloadManager::DtVrfObjectTerrainPreloadManager | ( | ) |
|
virtual |
|
private |
Not Implemented.
|
virtual |
|
virtual |
Add a new terrain preload area provider. Must register a static function with the signature: void function(DtVrfObjectTerrainPreloadArgs&)
|
virtual |
Remove a provider function added with addProvider()
|
protected |