![]() |
VR-Forces 5.0.1 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 () |
| virtual const DtVrfLocalObjectCreateInformation & | createMessage () const |
| virtual bool | isReadyForExecution () |
| unsigned int | createID () const |
Public Member Functions inherited from DtObjectOperationQueueEntry | |
| DtObjectOperationQueueEntry (DtSimulationServices *objectManager) | |
| DtObjectOperationQueueEntry (const DtObjectOperationQueueEntry &orig) | |
| virtual | ~DtObjectOperationQueueEntry () |
Protected Attributes | |
| DtVrfLocalObjectCreateInformation | myCreateMessage |
| unsigned int | myCreateID |
Protected Attributes inherited from DtObjectOperationQueueEntry | |
| DtSimulationServices * | mySimulationServices |
| std::list< DtVector > | myRequiredLocations |
Private Member Functions | |
| const DtCreateQueueEntry & | operator= (const DtCreateQueueEntry &orig) |
Additional Inherited Members | |
Protected Member Functions inherited from DtObjectOperationQueueEntry | |
| virtual void | precomputeObjectLocations (DtObjectType type, DtVector location, double heading, bool includeSubObjects=true) |
| 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
|
virtual |
destructor
|
virtual |
Returns myCreateMessage.
|
virtual |
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.
|
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.