BALL  1.4.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines
Public Member Functions | Protected Member Functions | Protected Attributes
BALL::VIEW::SimulationThread Class Reference

#include <BALL/VIEW/KERNEL/threads.h>

Inheritance diagram for BALL::VIEW::SimulationThread:
BALL::VIEW::BALLThread QThread BALL::VIEW::EnergyMinimizerThread BALL::VIEW::MDSimulationThread

List of all members.

Public Member Functions

 SimulationThread ()
void setNumberOfStepsBetweenUpdates (Size steps)
void setDCDFile (DCDFile *file)
DCDFilegetDCDFile ()

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_
DCDFiledcd_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.

Definition at line 169 of file threads.h.


Constructor & Destructor Documentation


Member Function Documentation

Notify the MainControl to export an PNG.

Notifies the main thread to delete the simulating thread.

Definition at line 185 of file threads.h.

Definition at line 182 of file threads.h.

Definition at line 178 of file threads.h.


Member Data Documentation

Definition at line 196 of file threads.h.

Definition at line 195 of file threads.h.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines