|
libGimbal 0.1.0
C17-Based Extended Standard Library and Cross-Language Runtime Framework
|
Go to the source code of this file.
Data Structures | |
| struct | GblIEventReceiverClass |
Macros | |
Type System | |
Type UUID and cast operators. | |
| #define | GBL_IEVENT_RECEIVER_TYPE |
| #define | GBL_IEVENT_RECEIVER(self) |
| #define | GBL_IEVENT_RECEIVER_CLASS(klass) |
| #define | GBL_IEVENT_RECEIVER_CLASSOF(self) |
Typedefs | |
| typedef struct GblIEventReceiver | GblIEventReceiver |
Functions | |
| GblType | GblIEventReceiver_type (void) |
| GBL_RESULT | GblIEventReceiver_receiveEvent (GblIEventReceiver *pSelf, GblIEventReceiver *pDest, GblEvent *pEvent) |
GblIEventReciever abstract event listener interface.
This file provides the interface type definition and API for listening to and receiving GblEvents.
Definition in file gimbal_ievent_receiver.h.
| #define GBL_IEVENT_RECEIVER_TYPE |
Type UUID for GblIEventReceiver.
Definition at line 21 of file gimbal_ievent_receiver.h.
| #define GBL_IEVENT_RECEIVER | ( | self | ) |
Casts a GblInstance to a GblIEventReceiver.
Definition at line 22 of file gimbal_ievent_receiver.h.
| #define GBL_IEVENT_RECEIVER_CLASS | ( | klass | ) |
Casts a GblClass to a GblIEventReceiverClass.
Definition at line 23 of file gimbal_ievent_receiver.h.
| #define GBL_IEVENT_RECEIVER_CLASSOF | ( | self | ) |
Extracts a GblIEventReceiverClass from a GblInstance.
Definition at line 24 of file gimbal_ievent_receiver.h.
| typedef struct GblIEventReceiver GblIEventReceiver |
Definition at line 52 of file gimbal_ievent_receiver.h.
| GblType GblIEventReceiver_type | ( | void | ) |
Returns the GblType UUID associated with the GBL_IEVENT_RECEIVER_TYPE.
| GBL_RESULT GblIEventReceiver_receiveEvent | ( | GblIEventReceiver * | pSelf, |
| GblIEventReceiver * | pDest, | ||
| GblEvent * | pEvent ) |
Forwards the given event, sent to the given destination, to the current receiver.