class
ConcreteVar
: public AbstractVar
(Return to index)
Concrete class for a matching variable.
Implements the setting and retrieving of the value in the system
to be adjusted.
Type: |
Instantiable |
Superclasses: |
public AbstractVar |
Include file: |
./Match/ConcreteVar.hh |
Inheritance
Synopsis (including inherited members):
Documentation:
- Public members:
-
ConcreteVar
(const string&,Attribute&,int,double[4])
;
- Constructor.
Uses the following arguments:
- The variable name.
- An attribute containing a reference to thevalue to be adjusted.
- A code for limit values: 0=no limit, 1=lower, 2=upper, 3=both.
- Value, lower, upper, and step.
-
virtual double getExternalValue
()const
;
- Get the current external parameter value.
The external value should be consistent with the given limits.
-
virtual double getInternalValue
()const
;
- Get the current internal parameter value.
The internal value is unlimited, it maps to the external value
so as to keep the latter constrained.
-
virtual void print
(std::ostream&)const
;
- Print the variable name and value.
-
virtual void setExternalValue
(double)
;
- Set the current external parameter value.
The external value should be consistent with the given limits.
-
virtual void setInternalValue
(double)
;
- Set the current internal parameter value.
The internal value is unlimited, it maps to the external value
so as to keep the latter constrained.
Documentation generated by fci on Mon Feb 7 12:29:48 2000