CatapultServer  v0.5.0.1 (Elephant)
catapult::tools::nemgen::PluginLoader Class Reference

Loads plugins into a plugin manager. More...

Collaboration diagram for catapult::tools::nemgen::PluginLoader:

Public Member Functions

 PluginLoader (const config::CatapultConfiguration &config)
 Creates a loader around config. More...
 
plugins::PluginManagermanager ()
 Gets the plugin manager. More...
 
void loadAll ()
 Loads all configured plugins. More...
 

Private Member Functions

void loadPlugin (const std::string &pluginName)
 

Private Attributes

const config::CatapultConfigurationm_config
 
std::vector< plugins::PluginModulem_pluginModules
 
plugins::PluginManager m_pluginManager
 

Detailed Description

Loads plugins into a plugin manager.

Constructor & Destructor Documentation

◆ PluginLoader()

catapult::tools::nemgen::PluginLoader::PluginLoader ( const config::CatapultConfiguration config)
explicit

Creates a loader around config.

Member Function Documentation

◆ loadAll()

void catapult::tools::nemgen::PluginLoader::loadAll ( )

Loads all configured plugins.

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

◆ loadPlugin()

void catapult::tools::nemgen::PluginLoader::loadPlugin ( const std::string &  pluginName)
private
Here is the call graph for this function:
Here is the caller graph for this function:

◆ manager()

plugins::PluginManager & catapult::tools::nemgen::PluginLoader::manager ( )

Gets the plugin manager.

Here is the caller graph for this function:

Member Data Documentation

◆ m_config

const config::CatapultConfiguration& catapult::tools::nemgen::PluginLoader::m_config
private

◆ m_pluginManager

plugins::PluginManager catapult::tools::nemgen::PluginLoader::m_pluginManager
private

◆ m_pluginModules

std::vector<plugins::PluginModule> catapult::tools::nemgen::PluginLoader::m_pluginModules
private

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