#include <GUIParameterTableItem.h>

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 62 of file GUIParameterTableItem.h.
Public Member Functions | |
| virtual | ~GUIParameterTableItemInterface () throw () |
| Destructor. | |
Methods to be implemented by derived classes | |
| virtual bool | dynamic () const =0 throw () |
| Returns the information whether the value changes over simulation time. | |
| virtual const std::string & | getName () const =0 throw () |
| Returns the name of the value. | |
| virtual ValueSource< SUMOReal > * | getSUMORealSourceCopy () const =0 throw () |
| Returns a SUMOReal-typed copy of the value-source. | |
| virtual void | update ()=0 throw () |
| Forces an update of the value. | |
| virtual GUIParameterTableItemInterface::~GUIParameterTableItemInterface | ( | ) | throw () [inline, virtual] |
| virtual bool GUIParameterTableItemInterface::dynamic | ( | ) | const throw () [pure virtual] |
Returns the information whether the value changes over simulation time.
Implemented in GUIParameterTableItem< T >.
Referenced by GUIParameterTableItem< T >::GUIParameterTableItem(), GUIParameterTableItem< T >::init(), GUIParameterTableWindow::onRightButtonPress(), and GUIParameterTableItem< T >::update().
| virtual const std::string& GUIParameterTableItemInterface::getName | ( | ) | const throw () [pure virtual] |
Returns the name of the value.
Implemented in GUIParameterTableItem< T >.
Referenced by GUIParameterTableWindow::onRightButtonPress().
| virtual ValueSource<SUMOReal>* GUIParameterTableItemInterface::getSUMORealSourceCopy | ( | ) | const throw () [pure virtual] |
Returns a SUMOReal-typed copy of the value-source.
Implemented in GUIParameterTableItem< T >.
Referenced by GUIParameterTableWindow::onRightButtonPress().
| virtual void GUIParameterTableItemInterface::update | ( | ) | throw () [pure virtual] |
1.5.6