GlsMenu
1.5.4
|
#include <gls_menu_data.h>
Public Member Functions | |
GlsMenuData (const std::string &name, bool localStorage) | |
virtual | ~GlsMenuData () |
virtual void | Inc (long amount=1) |
The GlsMenuData is the base class for all simulation menu meta-data. Simulation menu meta-data can be read from and written to streams in order to initialize a menu system, save the state of a menu system (persistence), send the state of a menu system over a network, and to change the state of a menu system at run-time from outside of the program (scripting).
Definition at line 65 of file gls_menu_data.h.
GlsMenuData::GlsMenuData | ( | const std::string & | name, |
bool | localStorage | ||
) |
Class constructor.
name | name of the data item used for look up. |
localStorage | tells whether the data being referenced is local to the item or references and external variable. |
|
virtual |
Class destructor.
|
virtual |
Increment the data item. Derived classes must override this as the default is a no-op.
Reimplemented in GlsMenuDiscrete_T< T >.
Referenced by GlsMenuSet_T< MenuType_t, DataFactory_t >::IncData().