BALL  1.4.79
 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 setTrajectoryFile (TrajectoryFile *file)
 
TrajectoryFilegetTrajectoryFile ()
 
- 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_
 
TrajectoryFiletrajectory_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. More...
 
void finish_ ()
 Notifies the main thread to delete the simulating thread. More...
 
- Protected Member Functions inherited from BALL::VIEW::BALLThread
void sendMessage_ (Message *msg)
 
void updateStructure_ ()
 
void output_ (const String &string, bool important=false)
 Sends the string as outout to Log.info. More...
 
void waitForUpdateOfRepresentations_ ()
 

Detailed Description

Thread for MDSimulation.

Definition at line 244 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 263 of file threads.h.

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

Definition at line 266 of file threads.h.

Member Data Documentation

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

Definition at line 269 of file threads.h.

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

Definition at line 271 of file threads.h.

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

Definition at line 270 of file threads.h.