#include <threads.h>
Inheritance diagram for VIEW::SimulationThread:
Public Member Functions | |
void | setNumberOfStepsBetweenUpdates (Size steps) throw () |
void | setDCDFile (DCDFile *file) throw () |
DCDFile * | getDCDFile () throw () |
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_ |
DCDFile * | dcd_file_ |
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.