VR-Forces 5.0.3 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Attributes | Private Member Functions
DtCreateQueueEntry Class Reference

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.

Inheritance diagram for DtCreateQueueEntry:
Inheritance graph
[legend]

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
DtSimulationServicesmySimulationServices
 
std::list< DtVectormyRequiredLocations
 

Private Member Functions

const DtCreateQueueEntryoperator= (const DtCreateQueueEntry &orig)
 

Additional Inherited Members

- Protected Member Functions inherited from DtObjectOperationQueueEntry
virtual void precomputeObjectLocations (DtObjectType type, DtVector location, double heading, bool includeSubObjects=true)
 

Constructor & Destructor Documentation

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 DtCreateQueueEntry::~DtCreateQueueEntry ( )
virtual

destructor

Member Function Documentation

virtual const DtVrfLocalObjectCreateInformation& DtCreateQueueEntry::createMessage ( ) const
virtual

Returns myCreateMessage.

virtual bool DtCreateQueueEntry::isReadyForExecution ( )
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.

unsigned int DtCreateQueueEntry::createID ( ) const
inline

Returns the ID of this entry.

const DtCreateQueueEntry& DtCreateQueueEntry::operator= ( const DtCreateQueueEntry orig)
private

assignment operator, not implemented

Member Data Documentation

DtVrfLocalObjectCreateInformation DtCreateQueueEntry::myCreateMessage
protected

The create message, as passed into the constructor.

unsigned int DtCreateQueueEntry::myCreateID
protected

Assigned to an increasing global. This ID can be used to identify a create entry.


The documentation for this class was generated from the following file:

Document ID: Generated on Thu Jun 1 17:58:13 EDT 2023 from SVN revision 255404
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)