CallBack Class Reference
This class provides a compatible callback-method for the Registry -class. More...
#include <Registry.h>
Inherited by Registry::Registry::Container, and testcallback.
Public Member Functions | |
| virtual void | invoke (const char *name, const char *value)=0 |
| virtual | ~CallBack () |
Detailed Description
This class provides a compatible callback-method for the Registry -class.Classes, which like to register themselves at the Registry -class, have to use this class as superclass.
This class is abstract, because it should be used like an interface. You have to implement the method void invoke(const char *symbol). Use the method Registry::registerCallBack(CallBack *callback, const char* symbol) for registering an object at the Registry -class.
- Date:
- 21st of April 2007
Constructor & Destructor Documentation
| virtual CallBack::~CallBack | ( | ) | [inline, virtual] |
The destructor has nothing to do.
Member Function Documentation
| virtual void CallBack::invoke | ( | const char * | name, | |
| const char * | value | |||
| ) | [pure virtual] |
This method will be called by the Registry. Because an object can be multiple registered using different symbols, the symbol which triggered the invocation, is passed back to the registered object.
- Parameters:
-
name The method invoke() has been triggered by an object with this name. value The value contains information about the reason why this the method invoke() has been called.
Implemented in Registry::Registry::Container, and testcallback.
The documentation for this class was generated from the following file:
- tools/libraries/3DMenu/core/Registry.h
Generated on Wed Oct 20 16:11:54 2010 for inVRs by
1.5.8