Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

CaveScene Class Reference

Scene subclass that allocates from a CAVE shared memory arena, and coordinates multiple rendering slave processes. More...

#include <CaveScene.h>

Inheritance diagram for CaveScene:

Scene List of all members.

Public Methods

 CaveScene (VMDApp *)
 pass in VMDApp handle, needed for VMDexit. More...

virtual ~CaveScene (void)
void draw (DisplayDevice *)
 Called by the CAVE display function, copies shared mem variables to process-local variables, then calls draw() in the parent. More...

virtual int prepare ()
 Call the parent's prepare, then update the shared memory info. More...

void * operator new (size_t)
 Use CAVE allocator-deallocator for CaveScene object. More...

void operator delete (void *, size_t)

Detailed Description

Scene subclass that allocates from a CAVE shared memory arena, and coordinates multiple rendering slave processes.

Definition at line 45 of file CaveScene.h.


Constructor & Destructor Documentation

CaveScene::CaveScene VMDApp  
 

pass in VMDApp handle, needed for VMDexit.

Definition at line 37 of file CaveScene.C.

References malloc_from_CAVE_memory, NULL, vmd_barrier_t, and vmd_thread_barrier_init.

CaveScene::~CaveScene void    [virtual]
 

Definition at line 63 of file CaveScene.C.

References free_to_CAVE_memory.


Member Function Documentation

void CaveScene::draw DisplayDevice   [virtual]
 

Called by the CAVE display function, copies shared mem variables to process-local variables, then calls draw() in the parent.

Reimplemented from Scene.

Definition at line 74 of file CaveScene.C.

References Scene::draw, DisplayDevice::is_renderer_process, vmd_msleep, and vmd_thread_barrier.

void CaveScene::operator delete void *   ,
size_t   
 

Definition at line 110 of file CaveScene.C.

References free_to_CAVE_memory.

void * CaveScene::operator new size_t   
 

Use CAVE allocator-deallocator for CaveScene object.

Definition at line 106 of file CaveScene.C.

References malloc_from_CAVE_memory.

int CaveScene::prepare   [virtual]
 

Call the parent's prepare, then update the shared memory info.

Reimplemented from Scene.

Definition at line 95 of file CaveScene.C.

References Scene::prepare, and VMDApp::VMDexit.


The documentation for this class was generated from the following files:
Generated on Fri Aug 29 01:27:43 2008 for VMD (current) by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002