class
Action
: public Object
(Return to index)
The base class for all MAD actions.
It implements the common behaviour of actions, it can also be used via
dynamic casting to determine whether an object represents an action.
Type: |
Abstract |
Superclasses: |
public Object |
Include file: |
./AbstractObjects/Action.hh |
Inheritance
Synopsis (including inherited members):
- Public members:
- Protected Members:
Documentation:
- Public members:
-
virtual bool canReplaceBy
(Object*)
;
- Test if replacement is allowed.
Always return true.
-
virtual const string getCategory
()const
;
- Return the object category as a string.
Return the string "ACTION".
-
virtual bool shouldTrace
()const
;
- Trace flag.
If true, the object's execute() function should be traced.
Always true for actions.
-
virtual bool shouldUpdate
()const
;
- Update flag.
If true, the data structure should be updated before calling execute().
Always true for actions.
- Protected members:
-
Action
(int,const char*,const char*)
;
- Constructor for exemplars.
-
Action
(const string&,Action*)
;
- Constructor for cloning.
Documentation generated by fci on Mon Feb 7 12:29:43 2000