SUMO - Simulation of Urban MObility

GUIParameterTracker::GUIParameterTrackerPanel Class Reference

#include <GUIParameterTracker.h>

Inheritance diagram for GUIParameterTracker::GUIParameterTrackerPanel:
FXGLCanvas

Public Member Functions

 GUIParameterTrackerPanel (FXComposite *c, GUIMainWindow &app, GUIParameterTracker &parent) throw ()
 Constructor.
 ~GUIParameterTrackerPanel () throw ()
 Destructor.
FOX-callbacks
long onConfigure (FXObject *, FXSelector, void *)
 Called on window resizing.
long onPaint (FXObject *, FXSelector, void *)
 Called if the window shall be repainted.
long onSimStep (FXObject *sender, FXSelector, void *)
 Called on a simulation step.

Protected Member Functions

 GUIParameterTrackerPanel ()
 FOX needs this.

Private Member Functions

void drawValue (TrackerValueDesc &desc, SUMOReal namePos) throw ()
 Draws a single value.
void drawValues () throw ()
 Draws all values.

Private Attributes

GUIMainWindow * myApplication
 The main application.
int myHeightInPixels
GUIParameterTracker * myParent
 The parent window.
int myWidthInPixels
 the sizes of the window

Friends

class GUIParameterTracker
 needed to update

Detailed Description

This panel lies within the GUIParameterTracker being the main widget. It is the widget responsible for displaying the information while GUIParameterTracker only provides window-facilities.

Definition at line 111 of file GUIParameterTracker.h.


Constructor & Destructor Documentation

GUIParameterTracker::GUIParameterTrackerPanel::GUIParameterTrackerPanel ( FXComposite *  c,
GUIMainWindow &  app,
GUIParameterTracker &  parent 
) throw ()

Constructor.

Parameters:
[in]cThe parent composite
[in]appThe main window
[in]parentThe parent tracker window this view belongs to

Definition at line 259 of file GUIParameterTracker.cpp.

GUIParameterTracker::GUIParameterTrackerPanel::~GUIParameterTrackerPanel ( ) throw ()

Destructor.

Definition at line 266 of file GUIParameterTracker.cpp.

GUIParameterTracker::GUIParameterTrackerPanel::GUIParameterTrackerPanel ( ) [inline, protected]

FOX needs this.

Definition at line 167 of file GUIParameterTracker.h.


Member Function Documentation

void GUIParameterTracker::GUIParameterTrackerPanel::drawValue ( TrackerValueDesc &  desc,
SUMOReal  namePos 
) throw () [private]
void GUIParameterTracker::GUIParameterTrackerPanel::drawValues ( ) throw () [private]

Draws all values.

Definition at line 270 of file GUIParameterTracker.cpp.

References pfSetScale(), pfSetScaleXY(), and SUMOReal.

long GUIParameterTracker::GUIParameterTrackerPanel::onConfigure ( FXObject *  ,
FXSelector  ,
void *   
)

Called on window resizing.

Definition at line 413 of file GUIParameterTracker.cpp.

Referenced by GUIParameterTracker::onConfigure().

long GUIParameterTracker::GUIParameterTrackerPanel::onPaint ( FXObject *  ,
FXSelector  ,
void *   
)

Called if the window shall be repainted.

Definition at line 437 of file GUIParameterTracker.cpp.

Referenced by GUIParameterTracker::onPaint().

long GUIParameterTracker::GUIParameterTrackerPanel::onSimStep ( FXObject *  sender,
FXSelector  ,
void *   
)

Called on a simulation step.


Friends And Related Function Documentation

friend class GUIParameterTracker [friend]

needed to update

Definition at line 126 of file GUIParameterTracker.h.


Field Documentation

The main application.

Definition at line 163 of file GUIParameterTracker.h.

the sizes of the window

Definition at line 160 of file GUIParameterTracker.h.


The documentation for this class was generated from the following files:
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Defines