VR-Forces 4.0.4 Class Documentation
Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions
DtObjectOperationQueueEntry Class Reference
Inheritance diagram for DtObjectOperationQueueEntry:
Inheritance graph
[legend]

List of all members.

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

DtVrfObjectManagermyVrfObjectManager
 Cached pointer to DtVrfObjectManager, as passed into the constructor.
std::list< DtVectormyRequiredLocations
 Required creation locations in local coordinates, populated by precomputeObjectLocations().

Private Member Functions

const DtObjectOperationQueueEntryoperator= (const DtObjectOperationQueueEntry &orig)
 assignment operator, not implemented

Constructor & Destructor Documentation

constructor

copy constructor

destructor


Member Function Documentation

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.

Returns:
true if myRequiredLocations.empty()
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


Member Data Documentation

Cached pointer to DtVrfObjectManager, as passed into the constructor.

Required creation locations in local coordinates, populated by precomputeObjectLocations().


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)