PPL Logo

LV3D0_Manager Class Reference

The LV3D0_Manager group stores up outgoing views before they're sent off to clients. More...

Inheritance diagram for LV3D0_Manager:

Inheritance graph
[legend]
Collaboration diagram for LV3D0_Manager:

Collaboration graph
[legend]

Public Member Functions

 LV3D0_Manager (void)
int newClient (void)
 Create a new client.
LV3D0_ClientManagergetClient (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.

Detailed Description

The LV3D0_Manager group stores up outgoing views before they're sent off to clients.

Definition at line 368 of file lv3d0_server.C.


Constructor & Destructor Documentation

LV3D0_Manager::LV3D0_Manager ( void   ) 

Definition at line 398 of file lv3d0_server.C.

References mgrProxy, and nextClientID.


Member Function Documentation

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().

Here is the call graph for this function:

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.


Field Documentation

Given a clientID, look up the corresponding LV3D0_ClientManager.

Definition at line 370 of file lv3d0_server.C.

Referenced by getClient().

Next unassigned clientID.

Definition at line 373 of file lv3d0_server.C.

Referenced by LV3D0_Manager(), and newClient().


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

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