Template class for evaluating interpolated values between a start and end value.
More...
|
| TypeEvaluator () |
| Default constructor.
|
|
| TypeEvaluator (T start, T end) |
| Constructor initializing the start and end values.
|
|
void | setRange (T start, T end) |
| Sets the range for the interpolation.
|
|
void | copy (const TypeEvaluator< T > *src) |
| Copies the properties of another TypeEvaluator.
|
|
T | evaluate (float fraction) const |
| Evaluates the interpolated value between the start and end values.
|
|
| TObjRefImpl () |
| Constructor that initializes the reference count to 1.
|
|
virtual | ~TObjRefImpl () |
| Virtual destructor.
|
|
long | AddRef () override |
| Increments the reference count.
|
|
long | Release () override |
| Decrements the reference count and deletes the object if the count reaches zero.
|
|
void | OnFinalRelease () override |
| Deletes the object.
|
|
long | AddRef () PURE |
| Increases the reference count.
|
|
long | Release () PURE |
| Decreases the reference count.
|
|
void | OnFinalRelease () PURE |
| Called when the reference count reaches zero and the object is about to be released.
|
|
template<typename T>
class TypeEvaluator< T >
Template class for evaluating interpolated values between a start and end value.
- Template Parameters
-
T | The type of the values to evaluate. |
Definition at line 40 of file TypeEvaluator.h.