#include <queryqueuearray.h>
QueryQueueArray processes queries in an asynchronous, time-sliced way.
QueryQueueArray has no locking, it is not thread safe.
QueryQueueArray does not need to be thread-safe because Queries always read the world state.
As a result, QueryQueueArray::Process() must not be called simultaneously with World::Update() Yet, one thread calls: PushBack() and Cancel(), while another thread calls Process().
Examples: Inherits Kaim::WorldElement.
Main API Functions | |
| bool | IsAddedToWorld () const |
| World * | GetWorld () const |
| KyUInt32 | GetVisualDebugId () const |
| void * | GetUserData () const |
| void | SetUserData (void *userData) |
Visual Debug | |
| void | SetCurrentVisualDebugLOD (VisualDebugLOD lod) |
| VisualDebugLOD | GetCurrentVisualDebugLOD () const |
| VisualDebugLOD | GetPreviousVisualDebugLod () const |
| void | SendVisualDebug (VisualDebugServer &server) |
| void | ForceSendAllVisualDebug () |
For internal use only | |
| void | SendForMaxLevelOfDetail (VisualDebugServer &server, const Vec3f &shapePosition) |
| void | RegisterToVisualDebug () |
| void | UnRegisterFromVisualDebug () |
| KyUInt32 | GetIndexInCollection () const |
| void | SetIndexInCollection (KyUInt32 indexInCollection) |
|
inherited |
Call this when something impacts all your visual debug data.
It will set the event to VisualDebugSendChangeEvent_ForceSendAll. (called internally when connecting with a VisualDebug client).
|
inlineinherited |
Set the visual debug level of details to use for this WorldElement instance.
Generally, setting this to VisualDebugLOD_Minimal, sends almost nothing but position and status, whereas setting it to VisualDebugLOD_Maximal sends all available debug information including spatialization and some internal algorithm results.