PPL Logo

collideMgr Class Reference

#include <collidecharm_impl.h>

Inheritance diagram for collideMgr:

Inheritance graph
[legend]
Collaboration diagram for collideMgr:

Collaboration graph
[legend]

Public Member Functions

 collideMgr (const CollideGrid3d &gridMap, const CProxy_collideClient &client, const CProxy_collideVoxel &voxels)
void registerContributor (int chunkNo)
void unregisterContributor (int chunkNo)
void contribute (int chunkNo, int n, const bbox3d *boxes, const int *prio)
void sendVoxelMessage (const CollideLoc3d &dest, int n, CollideObjRec *obj)
void voxelMessageRecvd (void)

Protected Member Functions

virtual void pleaseAdvance (void)
virtual void reductionFinished (void)

Private Member Functions

void status (const char *msg)
void tryAdvance (void)

Private Attributes

CProxy_collideMgr thisproxy
int steps
CProxy_collideVoxel voxelProxy
CollideGrid3d gridMap
CProxy_collideClient client
int nContrib
int contribCount
CollisionAggregator aggregator
int msgsSent
int msgsRecvd

Detailed Description

Definition at line 147 of file collidecharm_impl.h.


Constructor & Destructor Documentation

collideMgr::collideMgr ( const CollideGrid3d gridMap,
const CProxy_collideClient &  client,
const CProxy_collideVoxel &  voxels 
)

Definition at line 397 of file collidecharm.C.

References contribCount, msgsRecvd, msgsSent, nContrib, and steps.


Member Function Documentation

void collideMgr::status ( const char *  msg  )  [inline, private]

Definition at line 151 of file collidecharm_impl.h.

References Converse::CkMyPe().

Here is the call graph for this function:

void collideMgr::tryAdvance ( void   )  [private]

Definition at line 479 of file collidecharm.C.

References advance(), contribCount, msgsRecvd, msgsSent, nContrib, and steps.

Referenced by contribute(), pleaseAdvance(), and voxelMessageRecvd().

Here is the call graph for this function:

Here is the caller graph for this function:

void collideMgr::pleaseAdvance ( void   )  [protected, virtual]

Definition at line 472 of file collidecharm.C.

References tryAdvance().

Here is the call graph for this function:

void collideMgr::reductionFinished ( void   )  [protected, virtual]

Definition at line 492 of file collidecharm.C.

References gridMap, steps, and voxelProxy.

void collideMgr::registerContributor ( int  chunkNo  ) 

Definition at line 410 of file collidecharm.C.

References nContrib.

void collideMgr::unregisterContributor ( int  chunkNo  ) 

Definition at line 415 of file collidecharm.C.

References nContrib.

void collideMgr::contribute ( int  chunkNo,
int  n,
const bbox3d boxes,
const int prio 
)

void collideMgr::sendVoxelMessage ( const CollideLoc3d dest,
int  n,
CollideObjRec obj 
)

Definition at line 442 of file collidecharm.C.

References buildIndex(), Converse::CkMyPe(), msg, msgsSent, voxelProxy, voxName(), CollideLoc3d::x, CollideLoc3d::y, and CollideLoc3d::z.

Referenced by voxelAggregator::send().

Here is the call graph for this function:

Here is the caller graph for this function:

void collideMgr::voxelMessageRecvd ( void   ) 

Definition at line 463 of file collidecharm.C.

References msgsRecvd, msgsSent, and tryAdvance().

Here is the call graph for this function:


Field Documentation

CProxy_collideMgr collideMgr::thisproxy [private]

Definition at line 149 of file collidecharm_impl.h.

Definition at line 154 of file collidecharm_impl.h.

Referenced by collideMgr(), reductionFinished(), and tryAdvance().

CProxy_collideVoxel collideMgr::voxelProxy [private]

Definition at line 155 of file collidecharm_impl.h.

Referenced by reductionFinished(), and sendVoxelMessage().

Definition at line 156 of file collidecharm_impl.h.

Referenced by reductionFinished().

CProxy_collideClient collideMgr::client [private]

Definition at line 157 of file collidecharm_impl.h.

Definition at line 160 of file collidecharm_impl.h.

Referenced by collideMgr(), contribute(), and tryAdvance().

Definition at line 162 of file collidecharm_impl.h.

Referenced by contribute().

Definition at line 163 of file collidecharm_impl.h.

Referenced by collideMgr(), sendVoxelMessage(), tryAdvance(), and voxelMessageRecvd().

Definition at line 164 of file collidecharm_impl.h.

Referenced by collideMgr(), tryAdvance(), and voxelMessageRecvd().


The documentation for this class was generated from the following files:

Generated on Mon Sep 21 08:21:58 2020 for Charm++ by  doxygen 1.5.5