#include <threads.h>

Public Member Functions |
|
| void | setNumberOfStepsBetweenUpdates (Size steps) |
| void | setDCDFile (DCDFile *file) |
| DCDFile * | getDCDFile () |
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.
1.5.8