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< CkCallback > | emptyCallbacks |
Emptiness detection (used for QD, below). |
Definition at line 267 of file lv3d0_server.C.
typedef CkViewPrioSorter LV3D0_ClientManager_toClient::super [private] |
Definition at line 269 of file lv3d0_server.C.
LV3D0_ClientManager_toClient::LV3D0_ClientManager_toClient | ( | ) | [inline] |
Definition at line 327 of file lv3d0_server.C.
void LV3D0_ClientManager_toClient::checkEmpty | ( | void | ) | [inline, private] |
Definition at line 275 of file lv3d0_server.C.
References isEmpty().
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.
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().
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.
bool LV3D0_ClientManager_toClient::hasDelayed [private] |
Definition at line 270 of file lv3d0_server.C.
Definition at line 271 of file lv3d0_server.C.