Otclient  14/8/2020
ModuleManager Class Reference

#include <modulemanager.h>

Public Member Functions

void clear ()
 
void discoverModules ()
 
void autoLoadModules (int maxPriority)
 
ModulePtr discoverModule (const std::string &moduleFile)
 
void ensureModuleLoaded (const std::string &moduleName)
 
void unloadModules ()
 
void reloadModules ()
 
ModulePtr getModule (const std::string &moduleName)
 
std::deque< ModulePtrgetModules ()
 

Protected Member Functions

void updateModuleLoadOrder (ModulePtr module)
 

Friends

class Module
 

Detailed Description

Definition at line 29 of file modulemanager.h.

Member Function Documentation

◆ autoLoadModules()

void ModuleManager::autoLoadModules ( int  maxPriority)

Definition at line 55 of file modulemanager.cpp.

Here is the caller graph for this function:

◆ clear()

void ModuleManager::clear ( )

Definition at line 31 of file modulemanager.cpp.

Here is the caller graph for this function:

◆ discoverModule()

ModulePtr ModuleManager::discoverModule ( const std::string &  moduleFile)

Definition at line 66 of file modulemanager.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ discoverModules()

void ModuleManager::discoverModules ( )

Definition at line 37 of file modulemanager.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ensureModuleLoaded()

void ModuleManager::ensureModuleLoaded ( const std::string &  moduleName)

Definition at line 92 of file modulemanager.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getModule()

ModulePtr ModuleManager::getModule ( const std::string &  moduleName)

Definition at line 125 of file modulemanager.cpp.

Here is the caller graph for this function:

◆ getModules()

std::deque<ModulePtr> ModuleManager::getModules ( )
inline

Definition at line 42 of file modulemanager.h.

Here is the caller graph for this function:

◆ reloadModules()

void ModuleManager::reloadModules ( )

Definition at line 106 of file modulemanager.cpp.

Here is the caller graph for this function:

◆ unloadModules()

void ModuleManager::unloadModules ( )

Definition at line 99 of file modulemanager.cpp.

Here is the caller graph for this function:

◆ updateModuleLoadOrder()

void ModuleManager::updateModuleLoadOrder ( ModulePtr  module)
protected

Definition at line 133 of file modulemanager.cpp.

Here is the caller graph for this function:

Friends And Related Function Documentation

◆ Module

friend class Module
friend

Definition at line 47 of file modulemanager.h.


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