class DtVrfObjectPredicateEvaluator:
More...
| DtVrfObjectPredicateEvaluator::DtVrfObjectPredicateEvaluator |
( |
| ) |
|
| DtVrfObjectPredicateEvaluator::DtVrfObjectPredicateEvaluator |
( |
const DtVrfObjectPredicate & |
predicate | ) |
|
constructor with predicate supplied
| virtual DtVrfObjectPredicateEvaluator::~DtVrfObjectPredicateEvaluator |
( |
| ) |
|
|
virtual |
equality operators for comparing predicate evaluators
| virtual bool DtVrfObjectPredicateEvaluator::isTrue |
( |
const DtVrfObject * |
vrfObject | ) |
const |
|
virtual |
This function evaluates the supplied predicate.
Set/get the predicate to use. This makes a local copy of the predicate.
| virtual void DtVrfObjectPredicateEvaluator::setTestInterval |
( |
DtTime |
intervalInSeconds | ) |
|
|
virtual |
Set/get the time interval to take between tests.
This is the time that should be taken between successive calls to isTrue(). By default, the test interval is 0.0 (every call to isTimeToTest() will return true). If you call setTestInterval() to set the time interval to a non-zero value, make sure that you also set the clock.
| virtual DtTime DtVrfObjectPredicateEvaluator::testInterval |
( |
| ) |
const |
|
virtual |
| virtual bool DtVrfObjectPredicateEvaluator::isTimeToTest |
( |
| ) |
const |
|
virtual |
Returns true if the time since our last call to isTrue() exceeds the the test interval time period.
| virtual const DtClock* DtVrfObjectPredicateEvaluator::clock |
( |
| ) |
const |
|
virtual |
Get/Set the clock being used for establishing the rate at which isTrue() tests should be performed.
If you call setTestInterval() to to set a non-zero interval at which isTrue() should be called, then you must have a valid pointer to a clock.
| virtual void DtVrfObjectPredicateEvaluator::setClock |
( |
const DtClock * |
clock | ) |
|
|
virtual |
This is the predicate to evaluate.
| DtTime DtVrfObjectPredicateEvaluator::myTimeToNextTest |
|
protected |
The time until our next isTrue() test may be performed.
| DtTime DtVrfObjectPredicateEvaluator::myTestInterval |
|
protected |
Time interval between tests. By default, the interval is 0,.
| const DtClock* DtVrfObjectPredicateEvaluator::myClock |
|
protected |
The clock being used for establishing the rate at which isTrue() tests should be performed.
The documentation for this class was generated from the following file: