2
3
4
5
6
7
8
11#ifndef GIMBAL_IEVENT_FILTER_H
12#define GIMBAL_IEVENT_FILTER_H
15#include "../instances/gimbal_instance.h"
17#define GBL_IEVENT_FILTER_TYPE (GBL_TYPEID(GblIEventFilter))
18#define GBL_IEVENT_FILTER(instance) (GBL_CAST(GblIEventFilter, instance))
19#define GBL_IEVENT_FILTER_CLASS(klass) (GBL_CLASS_CAST(GblIEventFilter, klass))
20#define GBL_IEVENT_FILTER_GET_CLASS(instance) (GBL_CLASSOF(GblIEventFilter, instance))
22#define GBL_SELF_TYPE GblIEventFilter
30
31
32
34 GBL_RESULT (*pFnEventFilter)(
GBL_SELF, GblIEventHandler* pHandler, GblEvent* pEvent);
40 GblIEventHandler* pHandler,
#define GBL_CLASS_CAST(cType, klass)
#define GBL_FORWARD_DECLARE_STRUCT(S)
#define GBL_TYPEID(instanceStruct)
#define GBL_INTERFACE_END
#define GBL_INTERFACE_DERIVE(...)
#define GBL_CLASSOF(cType, self)
#define GBL_CAST(cType, self)