GL Studio C++ Runtime API
KeyboardMethodCallback< T > Class Template Reference

#include <input_handler.h>

Inheritance diagram for KeyboardMethodCallback< T >:
KeyboardCallbackBase

Public Member Functions

void Call (KeyboardEvent *ev)
 
virtual bool IsValid () const
 

Detailed Description

template<class T>
class disti::KeyboardMethodCallback< T >

Interface for creating a callback from a class method. The class must implement WeakReferenceable. Don't use this directly. Use CreateInputHandlerCallback instead

Member Function Documentation

void Call ( KeyboardEvent ev)
inlinevirtual

call the callback with the provided display event

Implements KeyboardCallbackBase.

virtual bool IsValid ( ) const
inlinevirtual

returns true if the callback is valid to call

Implements KeyboardCallbackBase.


The documentation for this class was generated from the following file: