#include <Variable.h>
Public Member Functions | |
Variable () | |
Variable (const Variable &rhs) | |
virtual | ~Variable () |
void | setValue (double v) |
virtual void | epSetValue (const Eref &e, double v) |
double | getValue () const |
void | addMsgCallback (const Eref &e, const string &finfoName, ObjId msg, unsigned int msgLookup) |
Static Public Member Functions | |
static const Cinfo * | initCinfo () |
Public Attributes | |
double | value |
This class is used as FieldElement in Function. It is used as named variable of type double.
Variable::Variable | ( | ) | [inline] |
Variable::Variable | ( | const Variable & | rhs | ) | [inline] |
virtual Variable::~Variable | ( | ) | [inline, virtual] |
void Variable::addMsgCallback | ( | const Eref & | e, | |
const string & | finfoName, | |||
ObjId | msg, | |||
unsigned int | msgLookup | |||
) |
virtual void Variable::epSetValue | ( | const Eref & | e, | |
double | v | |||
) | [inline, virtual] |
double Variable::getValue | ( | ) | const [inline] |
References value.
Referenced by initCinfo().
const Cinfo * Variable::initCinfo | ( | ) | [static] |
Reimplemented in InputVariable.
References epSetValue(), getValue(), Neutral::initCinfo(), setValue(), and value.
Referenced by InputVariable::initCinfo(), and Function::initCinfo().
void Variable::setValue | ( | double | v | ) | [inline] |
References value.
Referenced by initCinfo().
double Variable::value |
Referenced by epSetValue(), getValue(), initCinfo(), and setValue().