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

SIGEL_SlaveGUI::SIG_SimulationWindow Class Reference

This is the mainwindow of the simulation visualisation. More...

#include <SIG_SimulationWindow.h>

Inheritance diagram for SIGEL_SlaveGUI::SIG_SimulationWindow:

List of all members.

Public Methods

 SIG_SimulationWindow ( QWidget *parent, char const *name = 0, WFlags f = WType_TopLevel )
 The constructor of the SIG_SimulationWindow. More...

 ~SIG_SimulationWindow ()
 The destructor of the SIG_SimulationWindow. More...

void visualizeThis (SIGEL_Robot::SIG_Robot const &robot, SIGEL_Environment::SIG_Environment const &environment, SIGEL_Simulation::SIG_SimulationParameters const &simulationParameters, SIGEL_Program::SIG_Program const &program)
 Calls the method visualizeThis of the enclosed SIG_SimulationWidget (which is this QMainWindow's central widget) with the same parameters. More...


Public Slots

void slotStopPressed ()

Private Attributes

SIG_SimulationWidgetsimulationWidget
 This SIG_SimulationWidget becomes the central widget of this QMainWindow. More...

QToolBar* simulationControlBar
 The toolbar that contains the simulation controls. More...

SIG_SimulationControlssimulationControls
 The simulation controls that are attached in the toolbar and the menubar. More...


Detailed Description

This is the mainwindow of the simulation visualisation.

It offers an interface to feed the internal simulation visualisation with the used simulatiom data. It contains a toolbar to easily control the encapsulated simulation. The main components of this window can be found in the class SIG_SimulationWidget, which is the central widget of this QMainWindow.

Definition at line 33 of file SIG_SimulationWindow.h.


Constructor & Destructor Documentation

SIGEL_SlaveGUI::SIG_SimulationWindow::SIG_SimulationWindow ( QWidget * parent,
char const * name = 0,
WFlags f = WType_TopLevel )
 

The constructor of the SIG_SimulationWindow.

Creates this classes components (for exmaple SIG_SimulationWidget and toolbar).

Parameters:
parent   Pointer to this widget's parent.
name   This widget's name.
f   The widget flag of this widget.

Definition at line 11 of file SIG_SimulationWindow.cpp.

SIGEL_SlaveGUI::SIG_SimulationWindow::~SIG_SimulationWindow ( )
 

The destructor of the SIG_SimulationWindow.

Definition at line 81 of file SIG_SimulationWindow.cpp.


Member Function Documentation

void SIGEL_SlaveGUI::SIG_SimulationWindow::slotStopPressed ( ) [slot]
 

Definition at line 92 of file SIG_SimulationWindow.cpp.

void SIGEL_SlaveGUI::SIG_SimulationWindow::visualizeThis ( SIGEL_Robot::SIG_Robot const & robot,
SIGEL_Environment::SIG_Environment const & environment,
SIGEL_Simulation::SIG_SimulationParameters const & simulationParameters,
SIGEL_Program::SIG_Program const & program )
 

Calls the method visualizeThis of the enclosed SIG_SimulationWidget (which is this QMainWindow's central widget) with the same parameters.

Parameters:
robot   The robot that should take part in the simulation.
environment   The environment that should take part in the simulation.
simulationParameters   The parameters of the simulation.
program   The program that should control the robot in the simulation.

Definition at line 84 of file SIG_SimulationWindow.cpp.


Member Data Documentation

QToolBar * SIGEL_SlaveGUI::SIG_SimulationWindow::simulationControlBar [private]
 

The toolbar that contains the simulation controls.

Definition at line 86 of file SIG_SimulationWindow.h.

SIG_SimulationControls * SIGEL_SlaveGUI::SIG_SimulationWindow::simulationControls [private]
 

The simulation controls that are attached in the toolbar and the menubar.

Definition at line 91 of file SIG_SimulationWindow.h.

SIG_SimulationWidget * SIGEL_SlaveGUI::SIG_SimulationWindow::simulationWidget [private]
 

This SIG_SimulationWidget becomes the central widget of this QMainWindow.

Definition at line 81 of file SIG_SimulationWindow.h.


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