Eclipse SUMO - Simulation of Urban MObility
GUIParameterTracker::GUIParameterTrackerPanel Class Reference

#include <GUIParameterTracker.h>

Inheritance diagram for GUIParameterTracker::GUIParameterTrackerPanel:
Collaboration diagram for GUIParameterTracker::GUIParameterTrackerPanel:

Public Member Functions

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

Private Member Functions

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

Private Attributes

GUIMainWindowmyApplication
 The main application. More...
 
int myHeightInPixels
 
GUIParameterTrackermyParent
 The parent window. More...
 
int myWidthInPixels
 the sizes of the window More...
 

Friends

class GUIParameterTracker
 needed to update More...
 

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 113 of file GUIParameterTracker.h.

Constructor & Destructor Documentation

◆ GUIParameterTrackerPanel()

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

Constructor.

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

Definition at line 246 of file GUIParameterTracker.cpp.

◆ ~GUIParameterTrackerPanel()

GUIParameterTracker::GUIParameterTrackerPanel::~GUIParameterTrackerPanel ( )

Destructor.

Definition at line 253 of file GUIParameterTracker.cpp.

Member Function Documentation

◆ drawValue()

◆ drawValues()

void GUIParameterTracker::GUIParameterTrackerPanel::drawValues ( )
private

Draws all values.

Definition at line 257 of file GUIParameterTracker.cpp.

◆ onConfigure()

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

Called on window resizing.

Definition at line 382 of file GUIParameterTracker.cpp.

Referenced by FXDEFMAP(), and GUIParameterTracker::onConfigure().

◆ onPaint()

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

Called if the window shall be repainted.

Definition at line 406 of file GUIParameterTracker.cpp.

Referenced by FXDEFMAP(), and GUIParameterTracker::onPaint().

◆ onSimStep()

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

Called on a simulation step.

Friends And Related Function Documentation

◆ GUIParameterTracker

friend class GUIParameterTracker
friend

needed to update

Definition at line 128 of file GUIParameterTracker.h.

Field Documentation

◆ myApplication

GUIMainWindow* GUIParameterTracker::GUIParameterTrackerPanel::myApplication
private

The main application.

Definition at line 165 of file GUIParameterTracker.h.

◆ myHeightInPixels

int GUIParameterTracker::GUIParameterTrackerPanel::myHeightInPixels
private

Definition at line 162 of file GUIParameterTracker.h.

◆ myParent

GUIParameterTracker* GUIParameterTracker::GUIParameterTrackerPanel::myParent
private

The parent window.

Definition at line 159 of file GUIParameterTracker.h.

◆ myWidthInPixels

int GUIParameterTracker::GUIParameterTrackerPanel::myWidthInPixels
private

the sizes of the window

Definition at line 162 of file GUIParameterTracker.h.


The documentation for this class was generated from the following files: