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;}
@ MESSAGE_EVENT
An event with a contained VIEW message.
MessageEvent(Message *msg=0)
void setMessage(Message *msg)
void sendMessage_(Message *msg)
MainControl * main_control_
Composite * getComposite()
void output_(const String &string, bool important=false)
Sends the string as outout to Log.info.
void waitForUpdateOfRepresentations_()
void setMainControl(MainControl *mf)
void setComposite(Composite *composite)
void setFDPBDialog(FDPBDialog *dialog)
void setCrystalDialog(GenerateCrystalDialog *dialog)
GenerateCrystalDialog * dialog_
UpdateRepresentationThread()
void setRepresentation(Representation &rep)
Representation * getRepresentation()
Size steps_between_updates_
void setNumberOfStepsBetweenUpdates(Size steps)
TrajectoryFile * getTrajectoryFile()
void exportSceneToPNG_()
Notify the MainControl to export an PNG.
TrajectoryFile * trajectory_file_
void setTrajectoryFile(TrajectoryFile *file)
void finish_()
Notifies the main thread to delete the simulating thread.
Thread for EnergyMinimization.
EnergyMinimizer * minimizer_
void setEnergyMinimizer(EnergyMinimizer *minimizer)
virtual ~EnergyMinimizerThread()
void setMolecularDynamics(MolecularDynamics *md)
void setNumberOfSteps(Size steps)
void setSaveImages(bool state)
virtual ~MDSimulationThread()
void setDockingAlgorithm(DockingAlgorithm *dock_alg)
DockingAlgorithm * dock_alg_