PPL Logo

libs/ck-libs/liveViz3d/lv3d0_server.h File Reference

Go to the source code of this file.

Data Structures

class  LV3D_ViewpointMsg
 This message is sent every time a client viewpoint changes. More...
class  LV3D_ServerMgr
 Represents a set of impostors available for updates. More...

Functions

void LV3D0_Init (LV3D_Universe *clientUniverse, LV3D_ServerMgr *mgr)
 Set up to accept LiveViz3D requests.
void LV3D0_Deposit (CkView *v, int clientID)
 Send this view from the server to this client.


Function Documentation

void LV3D0_Init ( LV3D_Universe clientUniverse,
LV3D_ServerMgr mgr 
)

Set up to accept LiveViz3D requests.

This routine must be called exactly once from processor 0 at startup.

Parameters:
clientUniverse Universe to pass to client.
frameUpdate Callback to call (with a LV3D_ViewpointMsg) when a client viewpoint changes.
Set up to accept LiveViz3D requests.

This routine must be called exactly once on processor 0.

Definition at line 809 of file lv3d0_server.C.

References CcsRegisterHandler(), LV3D0_endbalance(), LV3D0_flush(), LV3D0_getViews(), LV3D0_newViewpoint(), LV3D0_qd(), LV3D0_quit(), LV3D0_setup(), LV3D0_startbalance(), LV3D0_stats(), LV3D0_throttle0(), LV3D0_throttle1(), LV3D0_trace(), and LV3D0_zero().

Referenced by LV3D1_Init().

Here is the call graph for this function:

Here is the caller graph for this function:

void LV3D0_Deposit ( CkView v,
int  clientID 
)

Send this view from the server to this client.

This routine can be called on any processor. You must set the view's id and prio fields.

Send this view from the server to this client.

You must set the view's id and prio fields.

Definition at line 503 of file lv3d0_server.C.

References stats::stats::add(), LV3D0_ViewMsg::clientID, stats::get(), LV3D_disable_ship, LV3D_save_view(), mgrProxy, LV3D0_ViewMsg::new_(), CkView::pixels, PUP::s, and LV3D0_ViewMsg::view_size.

Referenced by impl_LV3D_Array::render().

Here is the call graph for this function:

Here is the caller graph for this function:


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