![]() |
VR-Forces 5.0.1 Developer's Guide
|
Base class for commands that can be passed into the DtVantageTerrainEngine. These commands are passed across the thread boundary, and executed by the terrain engine's thread. The execute() function is called repeatedly by the terrain pager, until the complete() function returns true.

Classes | |
| class | CommandCounter |
Public Member Functions | |
| DtTerrainPagerCommand (const DtPagingMetaDataPtr &metaData) | |
| virtual | ~DtTerrainPagerCommand () |
| virtual void | setCount (CommandCounter &count) |
| virtual void | execute (DtTerrainSourcePager *pager)=0 |
| virtual const bool | complete () |
| virtual const bool | processing () |
| virtual void | startProcessing () |
| virtual void | stopProcessing () |
| virtual const DtPagingMetaDataPtr | metaData () |
| virtual const int | type () const =0 |
Static Public Member Functions | |
| static DtTerrainPagerCommandFactory * | factory () |
Protected Attributes | |
| tbb::spin_mutex | myMutex |
| DtPagingMetaDataPtr | myMetaData |
| bool | myComplete |
| bool | myProcessing |
| CommandCounter * | myCount |
Static Protected Attributes | |
| static DtTerrainPagerCommandFactory | theFactory |
|
inline |
|
inlinevirtual |
References DtTerrainPagerCommand::CommandCounter::decrementCommandCount(), and myCount.
|
inlinevirtual |
|
pure virtual |
Implemented in DtTerrainPagerSpecificCommand< T_Pager >, DtTerrainPagerSpecificCommand< DtOsgEarthGroundCoverSourcePager >, DtTerrainPagerSpecificCommand< DtOsgEarthTerrainSourcePager >, DtTerrainPagerSpecificCommand< DtBoundingVolumeTerrainSourcePager >, and DtTerrainPagerSpecificCommand< DtPagedNode2TerrainSourcePager >.
|
inlinevirtual |
References myComplete, and myMutex.
|
inlinevirtual |
References myMutex, and myProcessing.
|
inlinevirtual |
References myMutex, and myProcessing.
|
inlinevirtual |
References myMutex, and myProcessing.
|
inlinevirtual |
References myMetaData, and myMutex.
|
pure virtual |
|
static |
|
mutableprotected |
Referenced by complete(), metaData(), processing(), startProcessing(), and stopProcessing().
|
protected |
Referenced by metaData().
|
protected |
Referenced by complete().
|
protected |
Referenced by processing(), startProcessing(), and stopProcessing().
|
protected |
Referenced by setCount(), and ~DtTerrainPagerCommand().
|
staticprotected |