|
GlsRSOLoader API 1.6.2
|
#include <gls_rso_loader.h>
Public Types | |
| typedef void(T::* | Callback) (disti::RSOInterface2::ResourceHandle) |
| The class method pointer type that is called. | |
Public Member Functions | |
| ResourceMethodCallback (T *object, Callback method) | |
| virtual void | Call (disti::RSOInterface2::ResourceHandle handle) |
| virtual void | Destroy () |
| Frees this observer. More... | |
| virtual void | Call (ResourceHandle handle)=0 |
| virtual void | Destroy ()=0 |
Protected Attributes | |
| Callback | _method |
| The class method to call. | |
| T * | _object |
| The object to call the method on. | |
Template for a ResourceObserver that will call a class method whenever the attribute changes. Don't use this directly, use GlsRSOLoader::CreateResourceMethodCallback instead.
|
inline |
| object | The object to call the method on. |
| method | The class method to call. |
|
inlinevirtual |
Calls the method on the object.
| handle | The resource that changed. |
Implements RSOInterface4::ResourceObserver.
|
inlinevirtual |
Frees this observer.
Implements RSOInterface4::ResourceObserver.