Public Member Functions | |
LV3D0_Manager (void) | |
int | newClient (void) |
Create a new client. | |
LV3D0_ClientManager * | getClient (int clientID) |
Get this client manager. | |
void | getViews (int clientID) |
This client is requesting the latest views. | |
void | addView (LV3D0_ViewMsg *m) |
A local or remote viewable is adding this view for this client. | |
Private Attributes | |
CkHashtableT < CkHashtableAdaptorT< int > , LV3D0_ClientManager * > | clientTable |
Given a clientID, look up the corresponding LV3D0_ClientManager. | |
int | nextClientID |
Next unassigned clientID. |
Definition at line 368 of file lv3d0_server.C.
LV3D0_Manager::LV3D0_Manager | ( | void | ) |
int LV3D0_Manager::newClient | ( | void | ) |
Create a new client.
Called only on masterProcessor. Returns new client's clientID.
Definition at line 404 of file lv3d0_server.C.
References nextClientID.
LV3D0_ClientManager * LV3D0_Manager::getClient | ( | int | clientID | ) |
Get this client manager.
Definition at line 410 of file lv3d0_server.C.
References Converse::CkMyPe(), clientTable, CkHashtableT< KEY, OBJ >::get(), PUP::m, and CkHashtableTslow< KEY, OBJ >::put().
void LV3D0_Manager::getViews | ( | int | clientID | ) | [inline] |
This client is requesting the latest views.
This routine must be called from a CCS handler. This routine is only called on processor 0.
Definition at line 387 of file lv3d0_server.C.
void LV3D0_Manager::addView | ( | LV3D0_ViewMsg * | m | ) | [inline] |
A local or remote viewable is adding this view for this client.
Definition at line 392 of file lv3d0_server.C.
References LV3D0_ViewMsg::clientID.
Given a clientID, look up the corresponding LV3D0_ClientManager.
Definition at line 370 of file lv3d0_server.C.
Referenced by getClient().
int LV3D0_Manager::nextClientID [private] |
Next unassigned clientID.
Definition at line 373 of file lv3d0_server.C.
Referenced by LV3D0_Manager(), and newClient().