Inheritance diagram for RS::Predicate:


Public Member Functions | |
| Predicate () | |
| Create a predicate with default behavior. | |
| Predicate (const Predicate &obj) | |
| Creates a predicate that is an exact copy of obj. | |
| virtual | ~Predicate () |
| Destroys the predicate. | |
| Predicate & | operator= (const Predicate &obj) |
| Assignment operator. | |
| virtual FuzzyBool | operator() () |
| Function application operator. | |
| virtual FuzzyBool | evaluate ()=0 |
| Should return the truth value of the predicate. | |
Protected Member Functions | |
| virtual void | update (const UInt32 update_number)=0 |
| The update function This should be used to update the value of the predicate if necessary. | |
| bool | needUpdate (const UInt32 update_number) const |
| Test to see if the predicate needs to be updated. | |
Protected Attributes | |
| ViewManager * | viewManager |
| A pointer to the view manager. | |
| UInt32 | lastUpdateNumber |
| The last update number the predicate is updated for. | |
Definition at line 81 of file Predicate.h.
|
|
Assignment operator. Assigns obj to this object. Definition at line 72 of file Predicate.cc. References lastUpdateNumber, and viewManager. |
|
|
Function application operator. Will call evalute(). Reimplemented in RS::AmIClosestToBall, RS::AmIFirstToBall, RS::IsBallKnown, RS::IsCatchAllowed, and RS::PassKick. Definition at line 60 of file Predicate.icc. References evaluate(). |
1.3-rc3