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

#include <gimbal_type.h>

Data Fields

GblClassInitFn pFnClassInit
 
GblClassFinalFn pFnClassFinal
 
size_t classSize
 
size_t classPrivateSize
 
const void * pClassData
 
uint8_t interfaceCount
 
const GblInterfaceImplpInterfaceImpls
 
uint8_t dependencyCount
 
const GblTypepDependencies
 
GblInstanceInitFn pFnInstanceInit
 
size_t instanceSize
 
size_t instancePrivateSize
 

Detailed Description

Provides type information when registering a new GblType.

Definition at line 78 of file gimbal_type.h.

Field Documentation

◆ pFnClassInit

GblClassInitFn GblTypeInfo::pFnClassInit

Function used to initialize the values a GblType's associated GblClass.

Definition at line 79 of file gimbal_type.h.

◆ pFnClassFinal

GblClassFinalFn GblTypeInfo::pFnClassFinal

Function used to finalize the values of a GblType's associated GblClass.

Definition at line 80 of file gimbal_type.h.

◆ classSize

size_t GblTypeInfo::classSize

Size of a GblType's associated GblClass structure.

Definition at line 81 of file gimbal_type.h.

◆ classPrivateSize

size_t GblTypeInfo::classPrivateSize

Size of extra private storage to be associated with a GblType's GblClass.

Definition at line 82 of file gimbal_type.h.

◆ pClassData

const void* GblTypeInfo::pClassData

Size of extra private storage to be associated with a GblType's GblClass.

Definition at line 83 of file gimbal_type.h.

◆ interfaceCount

uint8_t GblTypeInfo::interfaceCount

Number of GblInterface mappings in pInterfaceImpls array.

Definition at line 84 of file gimbal_type.h.

◆ pInterfaceImpls

const GblInterfaceImpl* GblTypeInfo::pInterfaceImpls

Array providing information for each interface implemented by the type.

Definition at line 85 of file gimbal_type.h.

◆ dependencyCount

uint8_t GblTypeInfo::dependencyCount

Number of dependent GblTypes in pDependencies array.

Definition at line 86 of file gimbal_type.h.

◆ pDependencies

const GblType* GblTypeInfo::pDependencies

Array providing a list of type dependencies that must be implemented a GblType.

Definition at line 87 of file gimbal_type.h.

◆ pFnInstanceInit

GblInstanceInitFn GblTypeInfo::pFnInstanceInit

Function used to initialize the values a GblType's associated GblInstance.

Definition at line 88 of file gimbal_type.h.

◆ instanceSize

size_t GblTypeInfo::instanceSize

Size of a GblType's associated GblInstance structure.

Definition at line 89 of file gimbal_type.h.

◆ instancePrivateSize

size_t GblTypeInfo::instancePrivateSize

Size of extra private storage to be associated with a GblType's GblInstance.

Definition at line 90 of file gimbal_type.h.


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