19 #ifndef GUIParameterTableWindow_h 20 #define GUIParameterTableWindow_h 121 void mkItem(
const char* name,
bool dynamic, std::string value);
131 void mkItem(
const char* name,
bool dynamic,
unsigned value);
141 void mkItem(
const char* name,
bool dynamic,
int value);
151 void mkItem(
const char* name,
bool dynamic,
long long int value);
161 void mkItem(
const char* name,
bool dynamic,
double value);
172 long onSimStep(FXObject*, FXSelector,
void*);
229 std::vector<GUIParameterTableItemInterface*>
myItems;
void closeBuilding(const Parameterised *p=0)
Closes the building of the table.
void removeObject(GUIGlObject *const o)
Lets this window know the object shown is being deleted.
void mkItem(const char *name, bool dynamic, ValueSource< T > *src)
Adds a row which obtains its value from a ValueSource.
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 int numParams(const GUIGlObject *obj)
returns the number of parameters if obj is Parameterised and 0 otherwise
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.
An upper class for objects with additional parameters.
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.
GUIGlObject * myObject
The object to get the information from.
static void updateAll()
Updates all instances.
Instance of a single line in a parameter window.
long onTableSelected(FXObject *, FXSelector, void *)
Does nothing.
std::vector< GUIParameterTableItemInterface * > myItems
The list of table rows.
A window containing a gl-object's parameter.
static FXMutex myGlobalContainerLock
The mutex used to avoid concurrent updates of the instance container.
FXMutex myLock
A lock assuring save updates in case of object deletion.