- Your Widget Set For OpenGL
#include <uobjectslot.hpp>
Public Types | |
| typedef void(UObject::* | Method )(void) |
Public Member Functions | |
| template<typename Obj> | UObjectSlotNode (ProxyPtr proxy, Obj *object, Method method) |
| virtual void | notify (bool from_child) |
| virtual bool | died () |
| virtual bool | equals (const USlotNode *node) const |
Public Attributes | |
| void * | m_object |
| UObject * | m_uobject |
| Method | m_method |
|
|
We could use a generic class, but why not simply UObject to cast to. |
|
||||||||||||||||||||
|
We need to make this a template for a compile-time check whether object is derived from UObject. |
|
|
The method to call. |
|
|
The object pointer. |
|
|
This pointer is only not NULL if the object is derived from UObject. |