BALL::VIEW::SimulationThread Class Reference

Baseclass for threads, which perform a simulation. More...

#include <threads.h>

Inheritance diagram for BALL::VIEW::SimulationThread:
Inheritance graph
[legend]

List of all members.


Public Member Functions

void setNumberOfStepsBetweenUpdates (Size steps)
void setDCDFile (DCDFile *file)
DCDFile * getDCDFile ()

Protected Member Functions

void exportSceneToPNG_ ()
Notify the MainControl to export an PNG.
void finish_ ()
Notifies the main thread to delete the simulating thread.

Protected Attributes

Size steps_between_updates_
DCDFile * dcd_file_

Detailed Description

Baseclass for threads, which perform a simulation.

At the end of the run() method, always call finish_() to notify the main thread to delete the simulation thread, otherwise there will be a memory leak.


Generated on Thu Aug 6 18:30:56 2009 for BALL by doxygen 1.5.8