![]() |
VR-Forces Developer's Guide
|
class DtCreateQueueEntry:
This class is used by DtSimObjectManager to queue creation requests which cannot be immediately processed due to terrain which has not yet been paged in. Given a DtIfCreateVrfObject message, this class can precompute and track all the required locations and can be used by the object manager to poll for those locations until they're ready.

Public Member Functions | |
| DtCreateQueueEntry (const DtVrfLocalObjectCreateInformation &createMessage, DtSimulationServices *objectManager) | |
| DtCreateQueueEntry (const DtCreateQueueEntry &orig) | |
| virtual | ~DtCreateQueueEntry () override |
| virtual const DtVrfLocalObjectCreateInformation & | createMessage () const |
| virtual bool | isReadyForExecution () override |
| unsigned int | createID () const |
Public Member Functions inherited from DtObjectOperationQueueEntry | |
| DtObjectOperationQueueEntry (DtSimulationServices *objectManager) | |
| DtObjectOperationQueueEntry (const DtObjectOperationQueueEntry &orig) | |
| virtual | ~DtObjectOperationQueueEntry () |
Protected Member Functions | |
| virtual void | modifyClampedPositions () |
| virtual void | modifyClampedPosition (DtVector &vector) |
Protected Member Functions inherited from DtObjectOperationQueueEntry | |
| virtual void | precomputeObjectLocations (DtEntityType type, DtVector location, double heading, bool includeSubObjects=true) |
| virtual void | computeTerrainCategoryMask (DtEntityType type) |
Protected Attributes | |
| DtVrfLocalObjectCreateInformation | myCreateMessage |
| unsigned int | myCreateID |
| int | myFluxIndex = -1 |
Protected Attributes inherited from DtObjectOperationQueueEntry | |
| DtSimulationServices * | mySimulationServices |
| std::list< DtVector > | myRequiredLocations |
| DtTerrainCategoryMask | myTerrainCategoryMask |
Private Member Functions | |
| const DtCreateQueueEntry & | operator= (const DtCreateQueueEntry &orig) |
| DtCreateQueueEntry::DtCreateQueueEntry | ( | const DtVrfLocalObjectCreateInformation & | createMessage, |
| DtSimulationServices * | objectManager | ||
| ) |
constructor Call precomputeObjectLocations (from the base class) with the parameters from the message.
| DtCreateQueueEntry::DtCreateQueueEntry | ( | const DtCreateQueueEntry & | orig | ) |
copy constructor
|
overridevirtual |
destructor
|
virtual |
Returns myCreateMessage.
|
overridevirtual |
Return true if this is a type that does not need a location defined to be considered created. This currently includes global weather and force level items.
Reimplemented from DtObjectOperationQueueEntry.
|
protectedvirtual |
Will modify the positions in the create message based on the clamp flag and the height above terrain to clamp to. Will then set the clamp flag to false to prevent the base code from trying to clamp to the terrain again. This is called after everything is paged in so we should be good to go.
|
protectedvirtual |
The position that comes in is geocentric and must be set as geocentric when modified.
|
private |
assignment operator, not implemented
|
protected |
The create message, as passed into the constructor.
Assigned to an increasing global. This ID can be used to identify a create entry.
|
protected |