40#ifndef INCLUDED_INPUT_HANDLER_H
41#define INCLUDED_INPUT_HANDLER_H
189 typedef unsigned int ID;
Definition: input_handler.h:56
virtual void Call(KeyboardEvent *ev)=0
virtual bool IsValid() const =0
Definition: input_handler.h:73
WeakRef< T > _object
The object containing the function pointer.
Definition: input_handler.h:104
KeyboardMethodCallback(Callback method, T *object)
Definition: input_handler.h:80
Callback _method
The function pointer to call back.
Definition: input_handler.h:103
void(T::* Callback)(KeyboardEvent *ev)
Typedef for a function pointer accepting a keyboard event.
Definition: input_handler.h:75
virtual bool IsValid() const override
Definition: input_handler.h:97
void Call(KeyboardEvent *ev) override
Definition: input_handler.h:89
Definition: input_handler.h:121
virtual void Call(MouseEvent *ev)=0
virtual bool IsValid() const =0
Definition: input_handler.h:138
void Call(MouseEvent *ev) override
Definition: input_handler.h:154
MouseMethodCallback(Callback method, T *object)
Definition: input_handler.h:145
WeakRef< T > _object
The object containing the function pointer.
Definition: input_handler.h:169
Callback _method
The function pointer to call back.
Definition: input_handler.h:168
void(T::* Callback)(MouseEvent *ev)
Typedef for a function pointer accepting a mouse event.
Definition: input_handler.h:140
virtual bool IsValid() const override
Definition: input_handler.h:162
Definition: weak_reference.h:92
Definition: weak_reference.h:65
Contains the DistiAssert macro.
#define GLS_VERIFY(exp)
Definition: disti_assert.h:170
Macros and helper code to determine what subset of C++11/14/17 is available.
#define DISTI_STATIC_ASSERT_IS_CONVERTIBLE_TO(T, ConvertsTo)
Definition: gls_cpp_lang_support.h:264
#define DISTI_METHOD_OVERRIDE
Macro to wrap the override keyword, removed on compilers that don't support it.
Definition: gls_cpp_lang_support.h:214
Force inclusion of the DirectShow library.
Definition: bmpimage.h:47
KeyboardCallbackBase * CreateInputHandlerCallback(const typename KeyboardMethodCallback< Class >::Callback method, Class *const obj)
Definition: input_handler.h:112
weak reference and related classes