Mkd64 module API  1.3b
API for creating own mkd64 modules
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
ModRepo Class Reference

Module repository class. More...

#include <mkd64/modrepo.h>

Related Functions

(Note that these are not member functions.)

IModuleModRepo_moduleInstance (ModRepo *self, const char *id)
 Get instance of a module.
int ModRepo_isActive (const ModRepo *self, const char *id)
 Check wheter a given module is instantiated.

Detailed Description

Module repository class.

handles searching for modules, loading and instantiating them and checking dependencies and conflicts between modules, as well as calling functions on all currently loaded modules

Friends And Related Function Documentation

int ModRepo_isActive ( const ModRepo self,
const char *  id 
)
related

Check wheter a given module is instantiated.

Parameters
selfthe modrepo
idthe id of the module
Returns
1 if module is active (instantiated), 0 otherwise
IModule * ModRepo_moduleInstance ( ModRepo self,
const char *  id 
)
related

Get instance of a module.

if the module is not currently instantiated, Modrepo tries to instantiate it first.

Parameters
selfthe modrepo
idthe id of the module
Returns
the module instance or 0 if not found and/or not loadable

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