BALL
1.4.2
|
#include <BALL/VIEW/KERNEL/threads.h>
Public Member Functions | |
SimulationThread () | |
void | setNumberOfStepsBetweenUpdates (Size steps) |
void | setTrajectoryFile (TrajectoryFile *file) |
TrajectoryFile * | getTrajectoryFile () |
Public Member Functions inherited from BALL::VIEW::BALLThread | |
BALLThread () | |
void | setMainControl (MainControl *mf) |
void | setComposite (Composite *composite) |
Composite * | getComposite () |
virtual void | run () |
Protected Member Functions | |
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_ () |
Protected Attributes | |
Size | steps_between_updates_ |
TrajectoryFile * | trajectory_file_ |
Protected Attributes inherited from BALL::VIEW::BALLThread | |
MainControl * | main_control_ |
Composite * | composite_ |
Baseclass for threads, which perform a simulation. 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.
BALL::VIEW::SimulationThread::SimulationThread | ( | ) |
|
protected |
Notify the MainControl to export an PNG.
|
protected |
Notifies the main thread to delete the simulating thread.
|
inline |
|
inline |
|
inline |
|
protected |
|
protected |