Kaim::QueryQueueArray Class Reference

Kaim::QueryQueueArray Class Reference

#include <queryqueuearray.h>

Class Description

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
 
WorldGetWorld () const
 
KyUInt32 GetVisualDebugId () const
 
void * GetUserData () const
 
void SetUserData (void *userData)
 

Visual Debug

void SetCurrentVisualDebugLOD (VisualDebugLOD lod)
 Set the visual debug level of details to use for this WorldElement instance. More...
 
VisualDebugLOD GetCurrentVisualDebugLOD () const
 
VisualDebugLOD GetPreviousVisualDebugLod () const
 
void SendVisualDebug (VisualDebugServer &server)
 
void ForceSendAllVisualDebug ()
 Call this when something impacts all your visual debug data. More...
 

For internal use only

void SendForMaxLevelOfDetail (VisualDebugServer &server, const Vec3f &shapePosition)
 
void RegisterToVisualDebug ()
 
void UnRegisterFromVisualDebug ()
 
KyUInt32 GetIndexInCollection () const
 
void SetIndexInCollection (KyUInt32 indexInCollection)
 

Member Function Documentation

void Kaim::WorldElement::ForceSendAllVisualDebug ( )
inlineinherited

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).

void Kaim::WorldElement::SetCurrentVisualDebugLOD ( VisualDebugLOD  lod)
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.


The documentation for this class was generated from the following files:
  • gwnavruntime/querysystem/queryqueuearray.h
  • gwnavruntime/querysystem/queryqueuearray.cpp