|
libGimbal 0.2.0
C17-Based Extended Standard Library and Cross-Language Runtime Framework
|
#include <gimbal_ievent_receiver.h>


Data Fields | ||
| GblInterface | base | |
| GBL_RESULT(* | pFnReceiveEvent )(GblIEventReceiver *pSelf, GblIEventReceiver *pDest, GblEvent *pEvent) | |
Data Fields inherited from GblInterface | ||
| GblClass | base | |
| size_t | outerClassOffset_ | |
Data Fields inherited from GblClass | ||
| struct { | ||
| uintptr_t metaClassInfo | ||
| } | private_ | |
GblClass structure for GblIEventReceiver.
A GblIEventReceiver is a type implementing the basic interface required for event processing. There are typically two different types of receivers:
The same interface can be used to implement both types of receivers, depending on whether the self parameter is the same instance which is the destination receiver of GblIEventReceiverClass::pFnReceiveEvent().
Once received, a GblEvent may either be ignored, allowing to potentially propagate onward through other chained receivers, or it may be "accepted," which terminates its propagation and marks it as handled.
Definition at line 52 of file gimbal_ievent_receiver.h.
| GblInterface GblIEventReceiverClass::base |
Inherited base class GblIEventReceiver.
Definition at line 52 of file gimbal_ievent_receiver.h.
| GBL_RESULT(* GblIEventReceiverClass::pFnReceiveEvent) (GblIEventReceiver *pSelf, GblIEventReceiver *pDest, GblEvent *pEvent) |
Invoked any time an event is received or intercepted by the given instance.
Definition at line 54 of file gimbal_ievent_receiver.h.