|
Gadget
|
This is the base class used to calculate the selection level as a function of length. More...
#include <selectfunc.h>


Public Member Functions | |
| SelectFunc (const char *givenname) | |
| This is the default SelectFunc constructor. More... | |
| virtual | ~SelectFunc () |
| This is the default SelectFunc destructor. More... | |
| void | readConstants (CommentStream &infile, const TimeClass *const TimeInfo, Keeper *const keeper) |
| This function will read the value of the selection function parameters from file. More... | |
| void | updateConstants (const TimeClass *const TimeInfo) |
| This function will update the selection function parameters. More... | |
| int | didChange (const TimeClass *const TimeInfo) |
| This function will check to see if the selection function parameters have changed. More... | |
| virtual double | calculate (double len)=0 |
| This will return the selection level that has been calculated. More... | |
| int | numConstants () |
| This will return the number of constants used to calculate the selection value. More... | |
Public Member Functions inherited from HasName | |
| HasName () | |
| This is the default HasName constructor. More... | |
| virtual | ~HasName () |
| This is the default HasName destructor. More... | |
| HasName (const char *givenname) | |
| This is the HasName constructor for a specified name. More... | |
| const char * | getName () const |
| This will return a null terminated text string containing the name of the object. More... | |
Protected Attributes | |
| ModelVariableVector | coeff |
| This is the ModelVariableVector of the selection function constants. More... | |
This is the base class used to calculate the selection level as a function of length.
|
inline |
This is the default SelectFunc constructor.
| givenname | is the name for the SelectFunc selection function |
|
inlinevirtual |
This is the default SelectFunc destructor.
|
pure virtual |
This will return the selection level that has been calculated.
| len | is the length of the length class that is selected |
Implemented in StraightSelectFunc, ExpSelectFunc, and ConstSelectFunc.
| int SelectFunc::didChange | ( | const TimeClass *const | TimeInfo | ) |
This function will check to see if the selection function parameters have changed.
| TimeInfo | is the TimeClass for the current model |
|
inline |
This will return the number of constants used to calculate the selection value.
| void SelectFunc::readConstants | ( | CommentStream & | infile, |
| const TimeClass *const | TimeInfo, | ||
| Keeper *const | keeper | ||
| ) |
This function will read the value of the selection function parameters from file.
| infile | is the CommentStream to read the parameters from |
| TimeInfo | is the TimeClass for the current model |
| keeper | is the Keeper for the current model |
| void SelectFunc::updateConstants | ( | const TimeClass *const | TimeInfo | ) |
This function will update the selection function parameters.
| TimeInfo | is the TimeClass for the current model |
|
protected |
This is the ModelVariableVector of the selection function constants.