22 #ifndef GUIParameterTableWindow_h 23 #define GUIParameterTableWindow_h 141 void mkItem(
const char* name,
bool dynamic, std::string value);
151 void mkItem(
const char* name,
bool dynamic,
unsigned value);
161 void mkItem(
const char* name,
bool dynamic,
int value);
171 void mkItem(
const char* name,
bool dynamic,
long long int value);
181 void mkItem(
const char* name,
bool dynamic,
double value);
192 long onSimStep(FXObject*, FXSelector,
void*);
249 std::vector<GUIParameterTableItemInterface*>
myItems;
void removeObject(GUIGlObject *const o)
Lets this window know the object shown is being deleted.
unsigned myCurrentPos
The index of the next row to add - used while building.
FXTable * myTable
The table to display the information in.
GUIMainWindow * myApplication
The main application window.
void updateTable()
Updates the table.
static MFXMutex myGlobalContainerLock
The mutex used to avoid concurrent updates of the instance container.
Interface to a single line in a parameter window.
static std::vector< GUIParameterTableWindow * > myContainer
The container of items that shall be updated.
long onRightButtonPress(FXObject *, FXSelector, void *)
Shows a popup.
long onSimStep(FXObject *, FXSelector, void *)
Updates the table due to a simulation step.
long onTableDeselected(FXObject *, FXSelector, void *)
Does nothing.
~GUIParameterTableWindow()
Destructor.
GUIParameterTableWindow()
FOX needs this.
MFXMutex myLock
A lock assuring save updates in case of object deletion.
A mutex encapsulator which locks/unlocks the given mutex on construction/destruction, respectively.
GUIGlObject * myObject
The object to get the information from.
static void updateAll()
Updates all instances.
long onTableSelected(FXObject *, FXSelector, void *)
Does nothing.
std::vector< GUIParameterTableItemInterface * > myItems
The list of table rows.
void mkItem(const char *name, bool dynamic, ValueSource< unsigned > *src)
Adds a row which obtains its value from an unsigned-ValueSource.
void closeBuilding()
Closes the building of the table.
A window containing a gl-object's parameter.