LV3D_RenderMsg Class Reference

This message is used to prioritize rendering requests. More...

#include <lv3d1_server.h>

Inheritance diagram for LV3D_RenderMsg:

Inheritance graph
[legend]
Collaboration diagram for LV3D_RenderMsg:

Collaboration graph
[legend]

Static Public Member Functions

static LV3D_RenderMsgnew_ (int client, int frame, int viewable, double prioAdj)
 Allocate a prioritized Render message for this viewpoint.
static void delete_ (LV3D_RenderMsg *m)

Data Fields

int clientID
int frameID
int viewableID

Detailed Description

This message is used to prioritize rendering requests.

It's always allocated using its "new_" method, so a priority is always attached. FIXME: add ability to thread a single render request, so rendering can suspend in the middle. FIXME: handle requestID wraparound.

Definition at line 63 of file lv3d1_server.h.


Member Function Documentation

LV3D_RenderMsg * LV3D_RenderMsg::new_ ( int  client,
int  frame,
int  viewable,
double  prioAdj 
) [static]

Allocate a prioritized Render message for this viewpoint.

prioAdj is a double-precision scaling value for priority.

Definition at line 300 of file lv3d1_server.C.

References CkPriorityPtr(), CkSetQueueing(), clientID, frameID, LV3D_build_priority(), LV3D_Disable_Render_Prio, p, and viewableID.

Referenced by impl_LV3D_Array::viewpoint().

void LV3D_RenderMsg::delete_ ( LV3D_RenderMsg m  )  [static]

Definition at line 314 of file lv3d1_server.C.

Referenced by impl_LV3D_Array::render().


Field Documentation

int LV3D_RenderMsg::clientID

Definition at line 65 of file lv3d1_server.h.

Referenced by new_(), and impl_LV3D_Array::render().

int LV3D_RenderMsg::frameID

Definition at line 66 of file lv3d1_server.h.

Referenced by new_().

int LV3D_RenderMsg::viewableID

Definition at line 67 of file lv3d1_server.h.

Referenced by new_().


The documentation for this class was generated from the following files:
Generated on Sun Jun 29 13:34:08 2008 for Charm++ by  doxygen 1.5.1