| VRS - The Virtual Rendering System |
| version 3.3 |
#include <vrs/methodcallback.h>

Public Types | |
| typedef void(CLASS::* | ConstMethod )() const |
Public Member Functions | |
| MethodCallback (CLASS *obj, void(CLASS::*meth)()) | |
| MethodCallback (const CLASS *obj, void(CLASS::*meth)() const) | |
| virtual void | callback () |
| See Callback::callback. | |
| VRS_TYPEINFO (MethodCallback, Callback) | |
| typedef void(CLASS::* VRS::MethodCallback< CLASS >::ConstMethod)() const |
| VRS::MethodCallback< CLASS >::MethodCallback | ( | CLASS * | obj, | |
| void(CLASS::*)() | meth | |||
| ) | [inline] |
| VRS::MethodCallback< CLASS >::MethodCallback | ( | const CLASS * | obj, | |
| void(CLASS::*)() const | meth | |||
| ) | [inline] |
The c'tor expects a pointer to an object of type CLASS and a method-pointer to a method of the appropriate type. Non-const- and const-methods are supported! Note that the object-pointer will be stored in a normal pointer (not a SO<CLASS>-pointer)!
| virtual void VRS::MethodCallback< CLASS >::callback | ( | ) | [inline, virtual] |
| VRS::MethodCallback< CLASS >::VRS_TYPEINFO | ( | MethodCallback< CLASS > | , | |
| Callback | ||||
| ) |