![]() |
VR-Forces Developer's Guide
|
Base class for all asynchronous Nav Area queries. In this context asynchronous means non-blocking. The queries may be performed in this thread or another thread, depending on configuration, but the result will take some time to complete. The calling function must call the complete() method to determine when the query has finished.

Public Types | |
| typedef std::shared_ptr < DtNavAreaQuery > | Ptr |
| typedef std::weak_ptr < DtNavAreaQuery > | WeakPtr |
Public Member Functions | |
| DtNavAreaQuery () | |
| virtual | ~DtNavAreaQuery () |
| virtual bool | complete ()=0 |
| virtual bool | tick ()=0 |
| virtual bool | success ()=0 |
| virtual bool | navDataChanged ()=0 |
| virtual bool | outOfWorkingMemory ()=0 |
| virtual bool | hadComputationError ()=0 |
| virtual std::vector< DtVector > | results ()=0 |
| virtual double | outputValue () |
| virtual std::vector< DtVector > | debugPoints () |
| virtual void * | internalQuery ()=0 |
| typedef std::shared_ptr<DtNavAreaQuery> DtNavAreaQuery::Ptr |
| typedef std::weak_ptr<DtNavAreaQuery> DtNavAreaQuery::WeakPtr |
|
inline |
|
inlinevirtual |
|
pure virtual |
Returns true when the query has completed.
Implemented in DtNavAreaNullQuery.
|
pure virtual |
Main function for performing query processing.
Implemented in DtNavAreaNullQuery.
|
pure virtual |
Returns true if the query completed successfully.
Implemented in DtNavAreaNullQuery.
|
pure virtual |
Returns true if the nav data has changed during this query.
Implemented in DtNavAreaNullQuery.
|
pure virtual |
Returns true if the query failed due to a lack of working memory.
Implemented in DtNavAreaNullQuery.
|
pure virtual |
Returns true if the query failed due to a computation error.
Implemented in DtNavAreaNullQuery.
|
pure virtual |
A list of locations that may be the result of this query.
Implemented in DtNavAreaNullQuery.
|
inlinevirtual |
An output value that may be the result of this query. May not relevant to all queries.
|
inlinevirtual |
A list of locations that may be generated to debug issues. May not relevant to all queries.
|
pure virtual |
A pointer to the internal query. Not generally used.
Implemented in DtNavAreaNullQuery.