00001 #ifndef SIGEL_VISUALISATION_SIG_RENDERRECORDER_H 00002 #define SIGEL_VISUALISATION_SIG_RENDERRECORDER_H 00003 00004 #include "SIGEL_Visualisation/SIG_SceneObject.h" 00005 #include "SIGEL_Simulation/SIG_Recorder.h" 00006 #include "SIGEL_Simulation/SIG_SimulationCannotSolveException.h" 00007 #include <qdatetime.h> 00008 00009 namespace SIGEL_Visualisation 00010 { 00011 00018 class SIG_RenderRecorder : public SIGEL_Simulation::SIG_Recorder 00019 { 00020 friend class SIG_SimulationVisualisation; 00021 00022 public: 00023 00030 SIG_RenderRecorder(int noOfObjects); 00031 00040 void init() 00041 throw (SIGEL_Simulation::SIG_RecorderNoQueriesSetException, 00042 SIGEL_Simulation::SIG_RecorderBadRecordingOrderException); 00043 00052 void record() 00053 throw (SIGEL_Simulation::SIG_RecorderNoQueriesSetException, 00054 SIGEL_Simulation::SIG_RecorderBadRecordingOrderException); 00055 00066 void finish() 00067 throw (SIGEL_Simulation::SIG_RecorderNoQueriesSetException, 00068 SIGEL_Simulation::SIG_RecorderBadRecordingOrderException); 00069 00070 private: 00071 00076 QVector<SIG_SceneObject> robotLinks; 00077 00078 QTime simulationTime; 00079 00080 }; 00081 00082 } 00083 00084 00085 #endif // SIGEL_VISUALISATION_SIG_RENDERRECORDER_H