Used to provide better reporting of collisions in a multithreaded environment. More...
Inheritance diagram for Mezzanine::Physics::ParallelCollisionDispatcher:
Collaboration diagram for Mezzanine::Physics::ParallelCollisionDispatcher:Public Member Functions | |
| ParallelCollisionDispatcher (btThreadSupportInterface *ThreadInterface, unsigned int MaxNumTasks, btCollisionConfiguration *CollisionConfig) | |
| Class constructor. More... | |
| virtual | ~ParallelCollisionDispatcher () |
| Class destructor. | |
| void * | allocateCollisionAlgorithm (int size) |
| Allocates space for a new Collision Algorithm between two objects. More... | |
| void | freeCollisionAlgorithm (void *ptr) |
| Frees up the space belonging to a Collision Algorithm that is no longer needed. More... | |
| AlgoList * | GetAlgoCreationQueue () |
| Gets the list of algorithms that have been created and need processing. More... | |
Protected Attributes | |
| AlgoList | AlgoCreationQueue |
| A list of all the algorithms that have been created and need processing. More... | |
Used to provide better reporting of collisions in a multithreaded environment.
Definition at line 102 of file collisiondispatcher.h.cpp.
| Mezzanine::Physics::ParallelCollisionDispatcher::ParallelCollisionDispatcher | ( | btThreadSupportInterface * | ThreadInterface, |
| unsigned int | MaxNumTasks, | ||
| btCollisionConfiguration * | CollisionConfig | ||
| ) |
Class constructor.
| CollisionConfig | The collision configuration for the world being created. |
Definition at line 176 of file collisiondispatcher.cpp.
| void * Mezzanine::Physics::ParallelCollisionDispatcher::allocateCollisionAlgorithm | ( | int | size) |
Allocates space for a new Collision Algorithm between two objects.
| size | The size needed for the new Collision Algorithm. |
Definition at line 188 of file collisiondispatcher.cpp.
| void Mezzanine::Physics::ParallelCollisionDispatcher::freeCollisionAlgorithm | ( | void * | ptr) |
Frees up the space belonging to a Collision Algorithm that is no longer needed.
| ptr | A pointer to Collision Algorithim that is being removed. |
Definition at line 195 of file collisiondispatcher.cpp.
| AlgoList * Mezzanine::Physics::ParallelCollisionDispatcher::GetAlgoCreationQueue | ( | ) |
Gets the list of algorithms that have been created and need processing.
Definition at line 227 of file collisiondispatcher.cpp.
|
protected |
A list of all the algorithms that have been created and need processing.
Definition at line 107 of file collisiondispatcher.h.cpp.
1.8.4