libGimbal 0.1.0
C17-Based Extended Standard Library and Cross-Language Runtime Framework
|
#include <gimbal_signal_closure.h>
Data Fields | ||
union { | ||
GblSignalClosureClass * pClass | ||
GblClosure base | ||
}; | ||
struct { | ||
GblQuark signalName | ||
} | private_ | |
Data Fields inherited from GblClosure | ||
union { | ||
GblClosureClass * pClass | ||
GblBox base | ||
}; | ||
struct { | ||
GblMarshalFn pFnMarshal | ||
} | private_ | |
Data Fields inherited from GblBox | ||
union { | ||
GblBoxClass * pClass | ||
GblInstance base | ||
}; | ||
struct { | ||
GblArrayMap * pFields | ||
volatile uint16_t refCounter | ||
uint16_t contextType: 1 | ||
uint16_t constructedInPlace: 1 | ||
uint16_t derivedFlags: 14 | ||
} | private_ | |
Data Fields inherited from GblInstance | ||
GblClass * | pClass | |
Closure type for invoking signals.
GblSignalClosure is a closure type which marshals its arguments into a signal invocation. The first argument of the invoke function is expected to be the instance which emits the signal.
Definition at line 48 of file gimbal_signal_closure.h.
|
related |
Sets the signal for the closure to invoke to the given pSignalName
.
GblSignalClosureClass* GblSignalClosure::pClass |
Pointer to class/vtable structure.
Definition at line 48 of file gimbal_signal_closure.h.
GblClosure GblSignalClosure::base |
Inherited base instance structure.
Definition at line 48 of file gimbal_signal_closure.h.
GblQuark GblSignalClosure::signalName |
PRIVATE: Name of the signal to forward arguments to.
Definition at line 50 of file gimbal_signal_closure.h.