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

#include <gimbal_module.h>

Inheritance diagram for GblModule:
GblContext GblObject GblBox GblITableVariant GblInstance

Data Fields

union { 
 
   GblModuleClass *   pClass 
 
   GblContext   base 
 
};  
 
GblVersion version
 
GblStringRefpPrefix
 
GblStringRefpAuthor
 
GblStringRefpDescription
 
GblOptionGrouppOptionGroup
 
- Data Fields inherited from GblContext
union { 
 
   GblContextClass *   pClass 
 
   GblObject   base 
 
};  
 
GblCallRecord lastIssue
 
uint32_t logStackDepth
 
GblFlags logFilter
 
- Data Fields inherited from GblObject
union { 
 
   GblObjectClass *   pClass 
 
   GblBox   base 
 
};  
 
- 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
GblClasspClass
 

Additional Inherited Members

Detailed Description

Dynamically loadable service and associated meta types.

A Module is a lazily-loaded object which is registered then later can be queried for by anywhere else in the application. This behavior lets you implement "services" as global singletons which can be accessed from anywhere. Modules also maintain their own inner registry of associated meta types, which is managed through the implemented GblIPlugin interface.

See also
GbModuleClass

Definition at line 75 of file gimbal_module.h.

Field Documentation

◆ pClass

GblModuleClass* GblModule::pClass

Pointer to class/vtable structure.

Definition at line 75 of file gimbal_module.h.

◆ base

GblContext GblModule::base

Inherited base instance structure.

Definition at line 75 of file gimbal_module.h.

◆ version

GblVersion GblModule::version

Version of a module.

Definition at line 76 of file gimbal_module.h.

◆ pPrefix

GblStringRef* GblModule::pPrefix

Namespace prefix of a module.

Definition at line 77 of file gimbal_module.h.

◆ pAuthor

GblStringRef* GblModule::pAuthor

Author(s) of a module.

Definition at line 78 of file gimbal_module.h.

◆ pDescription

GblStringRef* GblModule::pDescription

Description of a module.

Definition at line 79 of file gimbal_module.h.

◆ pOptionGroup

GblOptionGroup* GblModule::pOptionGroup

Command-line option handler of a module.

Definition at line 80 of file gimbal_module.h.


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