libGimbal 0.1.0
C17-Based Extended Standard Library and Cross-Language Runtime Framework
Loading...
Searching...
No Matches
GblSignalClosure Struct Reference

#include <gimbal_signal_closure.h>

Inheritance diagram for GblSignalClosure:
Collaboration diagram for GblSignalClosure:

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 GblInstance
GblClasspClass
 

Related Symbols

(Note that these are not member symbols.)

Accessor Method(s)

Setter methods for GblSignalClosure

GBL_RESULT GblSignalClosure_setSignal (GblSignalClosure *pSelf, const char *pSignalName)
 

Detailed Description

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.

Friends And Related Symbol Documentation

◆ GblSignalClosure_setSignal()

GBL_RESULT GblSignalClosure_setSignal ( GblSignalClosure * pSelf,
const char * pSignalName )
related

Sets the signal for the closure to invoke to the given pSignalName.

Field Documentation

◆ pClass

GblSignalClosureClass* GblSignalClosure::pClass

Pointer to class/vtable structure.

Definition at line 48 of file gimbal_signal_closure.h.

◆ base

GblClosure GblSignalClosure::base

Inherited base instance structure.

Definition at line 48 of file gimbal_signal_closure.h.

◆ signalName

GblQuark GblSignalClosure::signalName

PRIVATE: Name of the signal to forward arguments to.

Definition at line 50 of file gimbal_signal_closure.h.


The documentation for this struct was generated from the following file: