frepple::utils::Functor Class Reference
This abstract class is the base class used for callbacks. More...
#include <utils.h>
Inheritance diagram for frepple::utils::Functor:

Public Member Functions | |
virtual bool | callback (Object *v, const Signal a) const =0 |
virtual | ~Functor () |
Detailed Description
This abstract class is the base class used for callbacks.
- See also:
- MetaClass::callback
- FunctorStatic
- FunctorInstance
Constructor & Destructor Documentation
virtual frepple::utils::Functor::~Functor | ( | ) | [inline, virtual] |
Member Function Documentation
This is the callback method.
The return value should be true in case the action is allowed to happen. In case a subscriber disapproves the action false is returned.
It is important that the callback methods are implemented in a thread-safe and re-entrant way!!!
The documentation for this class was generated from the following file:
Documentation generated for frePPLe by
