CatapultServer
v0.5.0.1 (Elephant)
|
Go to the documentation of this file.
25 namespace catapult {
namespace plugins {
class PluginManager; } }
27 namespace catapult {
namespace plugins {
#define CATAPULT_LOG(SEV)
Writes a log entry to the default logger with SEV severity.
Definition: Logging.h:340
#define CATAPULT_THROW_AND_LOG_0(TYPE, MESSAGE)
Macro used to throw a catapult exception with zero parameters.
Definition: exceptions.h:146
const model::BlockChainConfiguration BlockChain
Block chain configuration.
Definition: CatapultConfiguration.h:48
std::string PluginsDirectory
Plugins directory.
Definition: UserConfiguration.h:38
Exception class that is thrown when an error is encountered while loading a plugin.
Definition: PluginExceptions.h:27
A manager for registering plugins.
Definition: PluginManager.h:51
bool PreferCacheDatabase
Prefer using a database for cache storage.
Definition: PluginManager.h:41
void RegisterCoreSystem(PluginManager &manager)
Definition: CoreSystem.cpp:81
std::vector< PluginModule > PluginModules
Container of plugin modules.
Definition: src/catapult/plugins/PluginLoader.h:30
void LoadPluginByName(MongoPluginManager &manager, PluginModules &modules, const std::string &directory, const std::string &name)
Loads a plugin named name with manager from directory into modules.
Definition: MongoPluginLoader.cpp:32
std::unordered_map< std::string, utils::ConfigurationBag > Plugins
Unparsed map of plugin configuration.
Definition: BlockChainConfiguration.h:100
Comprehensive configuration for a catapult process.
Definition: CatapultConfiguration.h:34
def info(*args)
Definition: forwardsValidation.py:12
plugins::PluginManager & m_pluginManager
Definition: Broker.cpp:123
void LoadPluginByName(PluginManager &manager, PluginModules &modules, const std::string &directory, const std::string &name)
Loads a plugin named name with manager from directory into modules.
Definition: src/catapult/plugins/PluginLoader.cpp:35
HarvestingConfiguration m_config
Definition: HarvestingService.cpp:126
const UserConfiguration User
User configuration.
Definition: CatapultConfiguration.h:57
Definition: AddressExtractionExtension.cpp:28
plugins::StorageConfiguration CreateStorageConfiguration(const config::CatapultConfiguration &config)
Creates plugin storage configuration from config.
Definition: PluginUtils.cpp:30