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 | GblSignalClosureClass |
struct | GblSignalClosure |
Macros | |
#define | GBL_SIGNAL_CLOSURE_TYPE |
#define | GBL_SIGNAL_CLOSURE(self) |
#define | GBL_SIGNAL_CLOSURE_CLASS(klass) |
#define | GBL_SIGNAL_CLOSURE_GET_CLASS(self) |
Functions | |
GblType | GblSignalClosure_type (void) |
GblSignalClosure * | GblSignalClosure_create (const char *pSignalName, void *pUserdata) |
GblSignalClosure, signal-emitting closurure, and API.
This file contains the GblSignalClosure type and its associated methods. It is used to forward a generic function invocation to a signal emission, which can then be received again by any GblClosure instances connected to the signal.
Definition in file gimbal_signal_closure.h.
#define GBL_SIGNAL_CLOSURE_TYPE |
Definition at line 18 of file gimbal_signal_closure.h.
#define GBL_SIGNAL_CLOSURE | ( | self | ) |
Definition at line 20 of file gimbal_signal_closure.h.
#define GBL_SIGNAL_CLOSURE_CLASS | ( | klass | ) |
Definition at line 21 of file gimbal_signal_closure.h.
#define GBL_SIGNAL_CLOSURE_GET_CLASS | ( | self | ) |
Definition at line 22 of file gimbal_signal_closure.h.
GblType GblSignalClosure_type | ( | void | ) |
Returns the GblType UUID associated with GblSignalClosure.
GblSignalClosure * GblSignalClosure_create | ( | const char * | pSignalName, |
void * | pUserdata | ||
) |
Creates a new GblSignalClosure, with the given pSignalName
, capturing the given pUserdata
.