![]() |
VR-Forces 4.0.4 Class Documentation
|

Public Member Functions | |
| DtObjectOperationQueueEntry (DtVrfObjectManager *objectManager) | |
| constructor | |
| DtObjectOperationQueueEntry (const DtObjectOperationQueueEntry &orig) | |
| copy constructor | |
| virtual | ~DtObjectOperationQueueEntry () |
| destructor | |
| virtual bool | isReadyForExecution () |
| Checks to see if all the required locations have been paged in. | |
Protected Member Functions | |
| virtual void | precomputeObjectLocations (DtObjectType type, DtVector location, double heading, bool includeSubObjects=true) |
| Recursively determines the locations of all entities for a given object type and location (including aggregates and subaggregates). | |
Protected Attributes | |
| DtVrfObjectManager * | myVrfObjectManager |
| Cached pointer to DtVrfObjectManager, as passed into the constructor. | |
| std::list< DtVector > | myRequiredLocations |
| Required creation locations in local coordinates, populated by precomputeObjectLocations(). | |
Private Member Functions | |
| const DtObjectOperationQueueEntry & | operator= (const DtObjectOperationQueueEntry &orig) |
| assignment operator, not implemented | |
| DtObjectOperationQueueEntry::DtObjectOperationQueueEntry | ( | DtVrfObjectManager * | objectManager | ) |
constructor
| DtObjectOperationQueueEntry::DtObjectOperationQueueEntry | ( | const DtObjectOperationQueueEntry & | orig | ) |
copy constructor
| virtual DtObjectOperationQueueEntry::~DtObjectOperationQueueEntry | ( | ) | [virtual] |
destructor
| virtual bool DtObjectOperationQueueEntry::isReadyForExecution | ( | ) | [virtual] |
Checks to see if all the required locations have been paged in.
Iterates over myRequiredLocations and makes a non-blocking terrain intersection test to see if the data is available and if so removes that vector from the list.
| virtual void DtObjectOperationQueueEntry::precomputeObjectLocations | ( | DtObjectType | type, |
| DtVector | location, | ||
| double | heading, | ||
| bool | includeSubObjects = true |
||
| ) | [protected, virtual] |
Recursively determines the locations of all entities for a given object type and location (including aggregates and subaggregates).
Stores all the locations in myRequiredLocations. Local coordinates are used to prevent polling calls to isReadyForCreation from having to constantly convert from geocentric. This function is called by the constructor with the type, location and heading from the DtIfCreateVrfObject. The includeSubObjects parameter will prevent a sub objects (i.e. an aggregate subordinates) locations from being added (for use when creating an aggregate in the DtAggregated state).
| const DtObjectOperationQueueEntry& DtObjectOperationQueueEntry::operator= | ( | const DtObjectOperationQueueEntry & | orig | ) | [private] |
assignment operator, not implemented
Cached pointer to DtVrfObjectManager, as passed into the constructor.
std::list<DtVector> DtObjectOperationQueueEntry::myRequiredLocations [protected] |
Required creation locations in local coordinates, populated by precomputeObjectLocations().