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:
Collaboration diagram for GblModule:

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 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, GblIPlugin

Definition at line 98 of file gimbal_module.h.

Field Documentation

◆ pClass

GblModuleClass* GblModule::pClass

Pointer to class/vtable structure.

Definition at line 98 of file gimbal_module.h.

◆ base

GblContext GblModule::base

Inherited base instance structure.

Definition at line 98 of file gimbal_module.h.

◆ version

GblVersion GblModule::version

Version of a module.

Definition at line 99 of file gimbal_module.h.

◆ pPrefix

GblStringRef* GblModule::pPrefix

Namespace prefix of a module.

Definition at line 100 of file gimbal_module.h.

◆ pAuthor

GblStringRef* GblModule::pAuthor

Author(s) of a module.

Definition at line 101 of file gimbal_module.h.

◆ pDescription

GblStringRef* GblModule::pDescription

Description of a module.

Definition at line 102 of file gimbal_module.h.

◆ pOptionGroup

GblOptionGroup* GblModule::pOptionGroup

Command-line option handler of a module.

Definition at line 103 of file gimbal_module.h.


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