40 #ifndef INCLUDED_INPUT_HANDLER_H
41 #define INCLUDED_INPUT_HANDLER_H
61 virtual bool IsValid()
const = 0;
88 ( _object.Get()->*( _method ) )( ev );
94 return !_object.IsNull();
106 template <
class Class>
119 typedef unsigned int ID;
KeyboardCallbackBase * CreateInputHandlerCallback(const typename KeyboardMethodCallback< Class >::Callback method, Class *const obj)
Definition: input_handler.h:107
virtual bool IsValid() const =0
virtual void Call(KeyboardEvent *ev)=0
virtual bool IsValid() const
Definition: input_handler.h:92
Definition: weak_reference.h:64
void Call(KeyboardEvent *ev)
Definition: input_handler.h:84
#define GLS_VERIFY(exp)
Definition: disti_assert.h:148
Definition: input_handler.h:70
#define DISTI_STATIC_ASSERT_IS_CONVERTIBLE_TO(T, ConvertsTo)
Definition: gls_cpp_lang_support.h:283
Definition: weak_reference.h:91
Contains the DistiAssert macro.
Macros and helper code to determine what subset of C++11/14/17 is available.
Definition: bmpimage.h:46
weak reference and related classes
Definition: input_handler.h:54