Go to the documentation of this file. 1 #ifndef BALL_VIEW_KERNEL_THREADS_H
2 #define BALL_VIEW_KERNEL_THREADS_H
4 #ifndef BALL_VIEW_KERNEL_COMMON_H_
8 #include <QtCore/QThread>
9 #include <QtCore/QEvent>
13 class EnergyMinimizer;
14 class MolecularDynamics;
16 class DockingAlgorithm;
25 class GenerateCrystalDialog;
89 virtual void run() {};
199 { steps_between_updates_ = steps;}
301 #endif //BALL_VIEW_KERNEL_THREADS_H
void setDockingAlgorithm(DockingAlgorithm *dock_alg)
void waitForUpdateOfRepresentations_()
Thread for EnergyMinimization.
MessageEvent(Message *msg=0)
void setComposite(Composite *composite)
DockingAlgorithm * dock_alg_
void sendMessage_(Message *msg)
void setMolecularDynamics(MolecularDynamics *md)
Representation * getRepresentation()
void setFDPBDialog(FDPBDialog *dialog)
void exportSceneToPNG_()
Notify the MainControl to export an PNG.
GenerateCrystalDialog * dialog_
EnergyMinimizer * minimizer_
void setNumberOfSteps(Size steps)
void setSaveImages(bool state)
void setMessage(Message *msg)
virtual ~MDSimulationThread()
void setCrystalDialog(GenerateCrystalDialog *dialog)
MainControl * main_control_
Composite * getComposite()
void output_(const String &string, bool important=false)
Sends the string as outout to Log.info.
void setMainControl(MainControl *mf)
void setTrajectoryFile(TrajectoryFile *file)
@ MESSAGE_EVENT
An event with a contained VIEW message.
UpdateRepresentationThread()
Size steps_between_updates_
void setRepresentation(Representation &rep)
TrajectoryFile * trajectory_file_
void finish_()
Notifies the main thread to delete the simulating thread.
void setEnergyMinimizer(EnergyMinimizer *minimizer)
virtual ~EnergyMinimizerThread()
TrajectoryFile * getTrajectoryFile()
void setNumberOfStepsBetweenUpdates(Size steps)