BALL  1.4.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | Protected Attributes | List of all members
BALL::VIEW::MDSimulationThread Class Reference

Thread for MDSimulation. More...

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

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

Public Member Functions

 MDSimulationThread ()
virtual ~MDSimulationThread ()
virtual void run () throw (Exception::NullPointer)
void setMolecularDynamics (MolecularDynamics *md)
void setNumberOfSteps (Size steps)
void setSaveImages (bool state)
- Public Member Functions inherited from BALL::VIEW::SimulationThread
 SimulationThread ()
void setNumberOfStepsBetweenUpdates (Size steps)
void setDCDFile (DCDFile *file)
DCDFilegetDCDFile ()
- Public Member Functions inherited from BALL::VIEW::BALLThread
 BALLThread ()
void setMainControl (MainControl *mf)
void setComposite (Composite *composite)
CompositegetComposite ()

Protected Attributes

MolecularDynamicsmd_
Size steps_
bool save_images_
- Protected Attributes inherited from BALL::VIEW::SimulationThread
Size steps_between_updates_
DCDFiledcd_file_
- Protected Attributes inherited from BALL::VIEW::BALLThread
MainControlmain_control_
Compositecomposite_

Additional Inherited Members

- Protected Member Functions inherited from BALL::VIEW::SimulationThread
void exportSceneToPNG_ ()
 Notify the MainControl to export an PNG.
void finish_ ()
 Notifies the main thread to delete the simulating thread.

Detailed Description

Thread for MDSimulation.

Definition at line 224 of file threads.h.

Constructor & Destructor Documentation

BALL::VIEW::MDSimulationThread::MDSimulationThread ( )
virtual BALL::VIEW::MDSimulationThread::~MDSimulationThread ( )
virtual

Member Function Documentation

virtual void BALL::VIEW::MDSimulationThread::run ( ) throw (Exception::NullPointer)
virtual

Overloaded from QThread::run(), overload again in derived classes!

Reimplemented from BALL::VIEW::BALLThread.

void BALL::VIEW::MDSimulationThread::setMolecularDynamics ( MolecularDynamics md)
void BALL::VIEW::MDSimulationThread::setNumberOfSteps ( Size  steps)
inline

Definition at line 243 of file threads.h.

void BALL::VIEW::MDSimulationThread::setSaveImages ( bool  state)
inline

Definition at line 246 of file threads.h.

Member Data Documentation

MolecularDynamics* BALL::VIEW::MDSimulationThread::md_
protected

Definition at line 249 of file threads.h.

bool BALL::VIEW::MDSimulationThread::save_images_
protected

Definition at line 251 of file threads.h.

Size BALL::VIEW::MDSimulationThread::steps_
protected

Definition at line 250 of file threads.h.