DUECA/DUSIME
|
Element of a parameter table for configuration of modules. More...
#include <ParameterTable.hxx>
Public Attributes | |
const char * | name |
Name of parameter, as used from Scheme. | |
const GenericVarIO * | probe |
Pointer to MemberCall or VarProbe object that gets the data into the module. | |
const char * | description |
An additional comment to describe the required use of the parameter. | |
Element of a parameter table for configuration of modules.
Modules can be extensively configured from the Scheme creation script. A parameter table, with ParameterTable objects, defines the names of parameters and the probing object to set these parameters in the module class.
Note that the table always has to be closed off with a row of NULL pointers. Typical use would be:
Note the use of the REF_MEMBER define, this is needed for compatibility with older versions of gcc compilers (2.95).
The third element of the ParameterTable class point to a description of the variable, and for the very last element in the table it points to a string with a description of the complete module. Note that older code (where this third element was not present), still compiles, only there are no descriptions.
You can list all descriptions in a DUECA executable by starting it with the environment variable DUECA_SCRIPTINSTRUCTIONS set, e.g.:
In this way you can get some documentation for writing the dueca.cnf and dueca.mod scripts.
An additional comment to describe the required use of the parameter.
If not added to the "table", it will be NULL.