Go to the source code of this file.
Data Structures | |
class | collideClient |
Typedefs | |
typedef void(* | CollisionClientFn )(void *param, int nColl, Collision *colls) |
This client function is called on PE 0 with a Collision list. | |
typedef CkGroupID | CollideHandle |
Functions | |
CkGroupID | CollideSerialClient (CollisionClientFn clientFn, void *clientParam) |
Call this on processor 0 to build a Collision client that just calls this serial routine on processor 0 with the final, complete Collision list. | |
CollideHandle | CollideCreate (const CollideGrid3d &gridMap, CkGroupID clientGroupID) |
Create a collider group to contribute objects to. | |
void | CollideRegister (CollideHandle h, int chunkNo) |
Register with this collider group. (Call on creation/arrival). | |
void | CollideUnregister (CollideHandle h, int chunkNo) |
Unregister with this collider group. (Call on deletion). | |
void | CollideBoxesPrio (CollideHandle h, int chunkNo, int nBox, const bbox3d *boxes, const int *prio=NULL) |
Send these objects off to be collided. |
typedef void(* CollisionClientFn)(void *param, int nColl, Collision *colls) |
This client function is called on PE 0 with a Collision list.
Definition at line 34 of file collidecharm.h.
typedef CkGroupID CollideHandle |
Definition at line 42 of file collidecharm.h.
CkGroupID CollideSerialClient | ( | CollisionClientFn | clientFn, | |
void * | clientParam | |||
) |
CollideHandle CollideCreate | ( | const CollideGrid3d & | gridMap, | |
CkGroupID | clientGroupID | |||
) |
Create a collider group to contribute objects to.
Should be called on processor 0.
Definition at line 45 of file collidecharm.C.
Referenced by COLLIDE_Init().
void CollideRegister | ( | CollideHandle | h, | |
int | chunkNo | |||
) |
Register with this collider group. (Call on creation/arrival).
Definition at line 55 of file collidecharm.C.
Referenced by threadCollide::arriving().
void CollideUnregister | ( | CollideHandle | h, | |
int | chunkNo | |||
) |
Unregister with this collider group. (Call on deletion).
Definition at line 60 of file collidecharm.C.
Referenced by threadCollide::leaving().
void CollideBoxesPrio | ( | CollideHandle | h, | |
int | chunkNo, | |||
int | nBox, | |||
const bbox3d * | boxes, | |||
const int * | prio | |||
) |
Send these objects off to be collided.
The results go the collisionClient group registered at creation time.
Definition at line 68 of file collidecharm.C.
Referenced by threadCollide::contribute().