PPL Logo

LV3D0_ClientManager_toClient Class Reference

A LV3D0_ClientManager buffers up outgoing views before they're requested by, and sent off to, a client. More...

Inheritance diagram for LV3D0_ClientManager_toClient:

Inheritance graph
[legend]
Collaboration diagram for LV3D0_ClientManager_toClient:

Collaboration graph
[legend]

Public Member Functions

 LV3D0_ClientManager_toClient ()
virtual void add (LV3D0_ViewMsg *v)
 A local object has a new view.
virtual void getViews (void)
 A client is requesting the latest views This routine must be called from a CCS handler.
virtual void whenEmptyCallback (const CkCallback &cb)
 Call this callback as soon as we have nothing further to send.

Private Types

typedef CkViewPrioSorter super

Private Member Functions

void checkEmpty (void)
void sendReply (CcsDelayedReply repl)
 Pack up and send off up to 100KB of stored views:.

Private Attributes

bool hasDelayed
CcsDelayedReply delayedReply
CkVec< CkCallbackemptyCallbacks
 Emptiness detection (used for QD, below).

Detailed Description

A LV3D0_ClientManager buffers up outgoing views before they're requested by, and sent off to, a client.

Definition at line 267 of file lv3d0_server.C.


Member Typedef Documentation

Definition at line 269 of file lv3d0_server.C.


Constructor & Destructor Documentation

LV3D0_ClientManager_toClient::LV3D0_ClientManager_toClient (  )  [inline]

Definition at line 327 of file lv3d0_server.C.


Member Function Documentation

void LV3D0_ClientManager_toClient::checkEmpty ( void   )  [inline, private]

Definition at line 275 of file lv3d0_server.C.

References isEmpty().

Here is the call graph for this function:

void LV3D0_ClientManager_toClient::sendReply ( CcsDelayedReply  repl  )  [inline, private]

Pack up and send off up to 100KB of stored views:.

Definition at line 284 of file lv3d0_server.C.

References CcsSendDelayedReply(), stats::get(), len, LV3D0_toClient_bytesPer, LV3D_disable_ship_throttle, n, LV3D0_ViewMsg::pixels, PUP_toNetwork_pack::size(), LV3D0_ViewMsg::view, and LV3D0_ViewMsg::view_size.

Here is the call graph for this function:

virtual void LV3D0_ClientManager_toClient::add ( LV3D0_ViewMsg v  )  [inline, virtual]

A local object has a new view.

We are passed in our reference to this object.

Implements LV3D0_ClientManager.

Definition at line 334 of file lv3d0_server.C.

virtual void LV3D0_ClientManager_toClient::getViews ( void   )  [inline, virtual]

A client is requesting the latest views This routine must be called from a CCS handler.

Reimplemented from LV3D0_ClientManager.

Definition at line 345 of file lv3d0_server.C.

References CcsDelayReply(), and isEmpty().

Here is the call graph for this function:

virtual void LV3D0_ClientManager_toClient::whenEmptyCallback ( const CkCallback cb  )  [inline, virtual]

Call this callback as soon as we have nothing further to send.

Reimplemented from LV3D0_ClientManager.

Definition at line 358 of file lv3d0_server.C.


Field Documentation

Definition at line 270 of file lv3d0_server.C.

Definition at line 271 of file lv3d0_server.C.

Emptiness detection (used for QD, below).

Definition at line 274 of file lv3d0_server.C.


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

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