Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members  

SIGEL_Visualisation::SIG_RenderRecorder Class Reference

This class records the current positions and orientations of the objects that take part in the SIGEL_Simulation::SIG_Simulation contained in the SIG_SimulationVisualisation that created this SIG_RenderRecorder. More...

#include <SIG_RenderRecorder.h>

Inheritance diagram for SIGEL_Visualisation::SIG_RenderRecorder:

SIGEL_Simulation::SIG_Recorder List of all members.

Public Methods

 SIG_RenderRecorder (int noOfObjects)
 The constructor of the SIG_RenderRecorder. More...

void init () throw (SIGEL_Simulation::SIG_RecorderNoQueriesSetException, SIGEL_Simulation::SIG_RecorderBadRecordingOrderException)
 Initalizes the start positions and rotations of the elements of robotLinks taken from the appropriate SIGEL_Simulation::SIG_SimulationQueries. More...

void record () throw (SIGEL_Simulation::SIG_RecorderNoQueriesSetException, SIGEL_Simulation::SIG_RecorderBadRecordingOrderException)
 Updates the positions and rotations of the robotLinks with the actual data taken from the appropriate SIGEL_Simulation::SIG_SimulationQueries. More...

void finish () throw (SIGEL_Simulation::SIG_RecorderNoQueriesSetException, SIGEL_Simulation::SIG_RecorderBadRecordingOrderException)
 This method does nothing at the moment. More...


Private Attributes

QVector<SIG_SceneObjectrobotLinks
 The data structure used to record the actual positions and rotations of the simulated objects. More...

QTime simulationTime

Friends

class  SIG_SimulationVisualisation

Detailed Description

This class records the current positions and orientations of the objects that take part in the SIGEL_Simulation::SIG_Simulation contained in the SIG_SimulationVisualisation that created this SIG_RenderRecorder.

Definition at line 18 of file SIG_RenderRecorder.h.


Constructor & Destructor Documentation

SIGEL_Visualisation::SIG_RenderRecorder::SIG_RenderRecorder ( int noOfObjects )
 

The constructor of the SIG_RenderRecorder.

Initiallizes the attribute robotLinks with the supplied number of SIG_SceneObject objects.

Definition at line 6 of file SIG_RenderRecorder.cpp.


Member Function Documentation

void SIGEL_Visualisation::SIG_RenderRecorder::finish ( ) throw (SIGEL_Simulation::SIG_RecorderNoQueriesSetException, SIGEL_Simulation::SIG_RecorderBadRecordingOrderException) [virtual]
 

This method does nothing at the moment.

It should'nt even called by the simulation, because there is no defined end of a simulation visualisation.

First it calls the method finish of the superclass SIGEL_Simulation::SIG_Recorder.

Reimplemented from SIGEL_Simulation::SIG_Recorder.

Definition at line 40 of file SIG_RenderRecorder.cpp.

void SIGEL_Visualisation::SIG_RenderRecorder::init ( ) throw (SIGEL_Simulation::SIG_RecorderNoQueriesSetException, SIGEL_Simulation::SIG_RecorderBadRecordingOrderException) [virtual]
 

Initalizes the start positions and rotations of the elements of robotLinks taken from the appropriate SIGEL_Simulation::SIG_SimulationQueries.

First it calls the method init of the superclass SIGEL_Simulation::SIG_Recorder.

Reimplemented from SIGEL_Simulation::SIG_Recorder.

Definition at line 17 of file SIG_RenderRecorder.cpp.

void SIGEL_Visualisation::SIG_RenderRecorder::record ( ) throw (SIGEL_Simulation::SIG_RecorderNoQueriesSetException, SIGEL_Simulation::SIG_RecorderBadRecordingOrderException) [virtual]
 

Updates the positions and rotations of the robotLinks with the actual data taken from the appropriate SIGEL_Simulation::SIG_SimulationQueries.

First it calls the method record of the superclass SIGEL_Simulation::SIG_Recorder.

Reimplemented from SIGEL_Simulation::SIG_Recorder.

Definition at line 25 of file SIG_RenderRecorder.cpp.


Friends And Related Function Documentation

class SIG_SimulationVisualisation [friend]
 

Definition at line 20 of file SIG_RenderRecorder.h.


Member Data Documentation

QVector< SIG_SceneObject > SIGEL_Visualisation::SIG_RenderRecorder::robotLinks [private]
 

The data structure used to record the actual positions and rotations of the simulated objects.

Definition at line 76 of file SIG_RenderRecorder.h.

QTime SIGEL_Visualisation::SIG_RenderRecorder::simulationTime [private]
 

Definition at line 78 of file SIG_RenderRecorder.h.


The documentation for this class was generated from the following files:
Generated at Mon Sep 3 01:32:55 2001 for PG 368 - SIGEL by doxygen1.2.3 written by Dimitri van Heesch, © 1997-2000