![]() |
VR-Forces 4.3.1 Class Documentation
|
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...
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. | |
| DtVrfObjectTerrainPreloadManager & | operator= (DtVrfObjectTerrainPreloadManager &orig) |
| Not Implemented. | |
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.
| 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 |