Eclipse SUMO - Simulation of Urban MObility
|
Interface to a single line in a parameter window. More...
#include <GUIParameterTableItem.h>
Public Member Functions | |
virtual | ~GUIParameterTableItemInterface () |
Destructor. | |
Methods to be implemented by derived classes | |
virtual bool | dynamic () const =0 |
Returns the information whether the value changes over simulation time. | |
virtual void | update ()=0 |
Forces an update of the value. | |
virtual ValueSource< double > * | getdoubleSourceCopy () const =0 |
Returns a double-typed copy of the value-source. | |
virtual const std::string & | getName () const =0 |
Returns the name of the value. | |
Interface to a single line in a parameter window.
Because a single line in a parameter window may display different kinds of information (different value types, dynamic or static information), an interface is needed in order to allow a common access to the functions of a line - basically the possibility to open a tracker (GUIParameterTracker) for the stored, dynamic value.
The implementation is done by GUIParameterTableItem.
Definition at line 54 of file GUIParameterTableItem.h.
|
inlinevirtual |
Destructor.
Definition at line 57 of file GUIParameterTableItem.h.
|
pure virtual |
Returns the information whether the value changes over simulation time.
Implemented in GUIParameterTableItem< T >.
Referenced by GUIParameterTableWindow::onLeftBtnPress(), and GUIParameterTableWindow::onRightButtonPress().
|
pure virtual |
Returns a double-typed copy of the value-source.
Implemented in GUIParameterTableItem< T >.
Referenced by GUIParameterTableWindow::onLeftBtnPress(), and GUIParameterTableWindow::onRightButtonPress().
|
pure virtual |
Returns the name of the value.
Implemented in GUIParameterTableItem< T >.
Referenced by GUIParameterTableWindow::onLeftBtnPress(), and GUIParameterTableWindow::onRightButtonPress().
|
pure virtual |
Forces an update of the value.
Implemented in GUIParameterTableItem< T >.