|  | GL Studio C++ Runtime API
    | 
#include <input_handler.h>
 
  
| Public Types | |
| typedef void(T::* | Callback) (MouseEvent *ev) | 
| Typedef for a function pointer accepting a mouse event. | |
| Public Member Functions | |
| MouseMethodCallback (Callback method, T *object) | |
| void | Call (MouseEvent *ev) override | 
| virtual bool | IsValid () const override | 
| virtual void | Call (MouseEvent *ev)=0 | 
| virtual bool | IsValid () const =0 | 
| Protected Attributes | |
| Callback | _method | 
| The function pointer to call back. | |
| WeakRef< T > | _object | 
| The object containing the function pointer. | |
Interface for creating a callback from a class method. The class must implement WeakReferenceable. Don't use this directly. Use CreateInputHandlerCallback instead
| 
 | inline | 
Constructor
| method | Function pointer to call back. | 
| object | The object containing the function pointer. | 
| 
 | inlineoverridevirtual | 
Call the callback with the provided display event.
| ev | The event to process. | 
Implements MouseCallbackBase.
| 
 | inlineoverridevirtual | 
Implements MouseCallbackBase.