Open Dynamics Engine
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
dxIslandsProcessingCallContext Struct Reference

Public Member Functions

 dxIslandsProcessingCallContext (dxWorld *world, const dxWorldProcessIslandsInfo &islandsInfo, dReal stepSize, dstepper_fn_t stepper)
 
void AssignGroupReleasee (dCallReleaseeID groupReleasee)
 
void SetStepperAllowedThreads (unsigned allowedThreadsLimit)
 
bool ThreadedProcessGroup ()
 
void ThreadedProcessJobStart ()
 
void ThreadedProcessIslandSearch (dxSingleIslandCallContext *stepperCallContext)
 
void ThreadedProcessIslandStepper (dxSingleIslandCallContext *stepperCallContext)
 
size_t ObtainNextIslandToBeProcessed (size_t islandsCount)
 

Static Public Member Functions

static int ThreadedProcessGroup_Callback (void *callContext, dcallindex_t callInstanceIndex, dCallReleaseeID callThisReleasee)
 
static int ThreadedProcessJobStart_Callback (void *callContext, dcallindex_t callInstanceIndex, dCallReleaseeID callThisReleasee)
 
static int ThreadedProcessIslandSearch_Callback (void *callContext, dcallindex_t callInstanceIndex, dCallReleaseeID callThisReleasee)
 
static int ThreadedProcessIslandStepper_Callback (void *callContext, dcallindex_t callInstanceIndex, dCallReleaseeID callThisReleasee)
 

Public Attributes

dxWorld *const m_world
 
dxWorldProcessIslandsInfo const & m_islandsInfo
 
dReal const m_stepSize
 
dstepper_fn_t const m_stepper
 
dCallReleaseeID m_groupReleasee
 
size_t volatile m_islandToProcessStorage
 
unsigned m_stepperAllowedThreads
 

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