API Documentation
Loading...
Searching...
No Matches
ModuleManager Class Reference

#include <ModuleManager.h>

Collaboration diagram for ModuleManager:
[legend]

Static Public Member Functions

static File MainModuleFolder ()
 
static void SetMainProgramModuleName (const String &name)
 
static void FindModules (const File &module_folder)
 
static void FindModules (const Buffer< String > &module_list, const File &module_folder)
 
static void FindModules (const File &module_list, const File &module_folder)
 
static void AddModule (const File &module_file)
 
static void CallModuleFunction (const String &function)
 
static void CallModuleFunction (const String &function, QTModelManager *model_manager, QTWindowManager *window_manager)
 
static void DefineModuleResources (const String &module_name, ModuleResourceManager *resources)
 
static void AddModule (const Module &module)
 
static void SaveModuleSettings ()
 
static void SetupModuleRegistration ()
 
static void OnExit ()
 
static bool HasActiveModule (const String &module_name)
 
static bool IsModuleActive (const String &module_name)
 
static void ReadModuleSettings ()
 
static void SetErrorCallback (const std::function< void(const Exception &e)> &callback)
 
static void * LoadDynamicLibrary (const String &library)
 
static void * LoadFromDynamicLibrary (void *library, const String &function)
 
static void * LoadFromDynamicLibrary (const String &library, const String &function)
 

Static Public Attributes

static Buffer< Stringordered_modules
 
static Dictionary< String, Modulemodules
 
static Dictionary< String, bool > module_active_list
 
static Dictionary< String, Dictionary< String, void * > > functions
 
static String main_program_module_name = "NDEVR"
 

Member Function Documentation

◆ AddModule() [1/2]

void AddModule ( const File & module_file)
static

◆ AddModule() [2/2]

void AddModule ( const Module & module)
static

◆ CallModuleFunction() [1/2]

void CallModuleFunction ( const String & function)
static

◆ CallModuleFunction() [2/2]

void CallModuleFunction ( const String & function,
QTModelManager * model_manager,
QTWindowManager * window_manager )
static

◆ DefineModuleResources()

void DefineModuleResources ( const String & module_name,
ModuleResourceManager * resources )
static

◆ FindModules() [1/3]

void FindModules ( const Buffer< String > & module_list,
const File & module_folder )
static

◆ FindModules() [2/3]

void FindModules ( const File & module_folder)
static

◆ FindModules() [3/3]

void FindModules ( const File & module_list,
const File & module_folder )
static

◆ HasActiveModule()

bool HasActiveModule ( const String & module_name)
static

◆ IsModuleActive()

bool IsModuleActive ( const String & module_name)
static

◆ LoadDynamicLibrary()

void * LoadDynamicLibrary ( const String & library)
static

◆ LoadFromDynamicLibrary() [1/2]

void * LoadFromDynamicLibrary ( const String & library,
const String & function )
static

◆ LoadFromDynamicLibrary() [2/2]

void * LoadFromDynamicLibrary ( void * library,
const String & function )
static

◆ MainModuleFolder()

File MainModuleFolder ( )
static

◆ OnExit()

void OnExit ( )
static

◆ ReadModuleSettings()

void ReadModuleSettings ( )
static

◆ SaveModuleSettings()

void SaveModuleSettings ( )
static

◆ SetErrorCallback()

void SetErrorCallback ( const std::function< void(const Exception &e)> & callback)
static

◆ SetMainProgramModuleName()

void SetMainProgramModuleName ( const String & name)
static

◆ SetupModuleRegistration()

void SetupModuleRegistration ( )
static

Member Data Documentation

◆ functions

Dictionary< String, Dictionary< String, void * > > functions
static

◆ main_program_module_name

String main_program_module_name = "NDEVR"
static

◆ module_active_list

Dictionary< String, bool > module_active_list
static

◆ modules

Dictionary< String, Module > modules
static

◆ ordered_modules

Buffer< String > ordered_modules
static

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