GlobalBase Class Reference

#include <global.h>

Detailed Description

GlobalBase is used as member of Global.

Public Member Functions

 GlobalBase (const Char *name, Result< void >(*init)(GlobalBase *global), void(*free)(GlobalBase *global), TranslationUnit *unit)
 

Private Attributes

EntityDefinition _super
 
Result< void >(*const _init )(GlobalBase *global)
 
void(*const _free )(GlobalBase *global)
 

Friends

class maxon::ObjectModel
 

Constructor & Destructor Documentation

◆ GlobalBase()

GlobalBase ( const Char name,
Result< void >(*)(GlobalBase *global)  init,
void(*)(GlobalBase *global)  free,
TranslationUnit *  unit 
)

Friends And Related Function Documentation

◆ maxon::ObjectModel

friend class maxon::ObjectModel
friend

Member Data Documentation

◆ _super

EntityDefinition _super
private

Base definition object.

◆ _init

Result<void>(* const _init) (GlobalBase *global)
private

Initialization function.

◆ _free

void(* const _free) (GlobalBase *global)
private

Shutdown function.