 |
Eclipse SUMO - Simulation of Urban MObility
|
Go to the documentation of this file.
18 #ifndef GUIParameterTracker_h
19 #define GUIParameterTracker_h
93 long onPaint(FXObject*, FXSelector,
void*);
96 long onSimStep(FXObject*, FXSelector,
void*);
102 long onCmdSave(FXObject*, FXSelector,
void*);
138 long onPaint(FXObject*, FXSelector,
void*);
~GUIParameterTrackerPanel()
Destructor.
FXToolBarShell * myToolBarDrag
for some menu detaching fun
void buildToolBar()
Builds the tool bar.
void drawValues()
Draws all values.
long onPaint(FXObject *, FXSelector, void *)
Called if the window shall be repainted.
long onSimStep(FXObject *, FXSelector, void *)
Called on a simulation step.
GUIMainWindow * myApplication
The main application.
GUIParameterTracker(GUIMainWindow &app, const std::string &name)
Constructor (the tracker is empty)
std::vector< GLObjectValuePassConnector< double > * > myValuePassers
The value sources.
FXToolBar * myToolBar
The tracker tool bar.
@ MID_AGGREGATIONINTERVAL
Change aggregation interval.
GUIParameterTracker * myParent
The parent window.
GUIParameterTrackerPanel * myPanel
The panel to display the values in.
GUIMainWindow * myApplication
The main application.
void create()
Creates the window.
long onConfigure(FXObject *, FXSelector, void *)
Called on window resizing.
GUIParameterTrackerPanel(FXComposite *c, GUIMainWindow &app, GUIParameterTracker &parent)
Constructor.
@ MID_SAVE
Save the current values.
#define FOX_CONSTRUCTOR(classname)
int myWidthInPixels
the sizes of the window
~GUIParameterTracker()
Destructor.
long onCmdChangeAggregation(FXObject *, FXSelector, void *)
Called when the aggregation interval (combo) has been changed.
Representation of a timeline of floats with their names and moments.
void drawValue(TrackerValueDesc &desc, double namePos)
Draws a single value.
std::vector< TrackerValueDesc * > myTracked
The list of tracked values.
void addTracked(GUIGlObject &o, ValueSource< double > *src, TrackerValueDesc *newTracked)
Adds a further time line to display.
FXComboBox * myAggregationInterval
A combo box to select an aggregation interval.
A window which displays the time line of one (or more) value(s)
long onConfigure(FXObject *, FXSelector, void *)
Called on window resizing.
long onCmdSave(FXObject *, FXSelector, void *)
Called when the data shall be saved.
FXdouble myAggregationDelay
The simulation delay.
long onSimStep(FXObject *sender, FXSelector, void *)
Called on a simulation step.
long onPaint(FXObject *, FXSelector, void *)
Called if the window shall be repainted.