WireCellToolkit
Wire Cell Simulation, Signal Process and Reconstruction Toolki for Liquid Argon Detectors
WireCell::PluginManager Class Reference

#include <PluginManager.h>

Public Member Functions

Pluginadd (const std::string &plugin_name, const std::string &libname="")
 Add a plugin. If libname is not given, try to derive it. More...
 
Pluginget (const std::string &plugin_name)
 
Pluginfind (const std::string &symbol_name)
 

Static Public Member Functions

static PluginManagerinstance ()
 

Detailed Description

This is meant to be used from a WireCell::Singleton.

Definition at line 32 of file PluginManager.h.

Member Function Documentation

◆ add()

WireCell::Plugin * WireCell::PluginManager::add ( const std::string &  plugin_name,
const std::string &  libname = "" 
)

Add a plugin. If libname is not given, try to derive it.

Definition at line 32 of file PluginManager.cxx.

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

◆ find()

WireCell::Plugin * WireCell::PluginManager::find ( const std::string &  symbol_name)

Definition at line 80 of file PluginManager.cxx.

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

◆ get()

WireCell::Plugin * WireCell::PluginManager::get ( const std::string &  plugin_name)

Definition at line 71 of file PluginManager.cxx.

◆ instance()

PluginManager & WireCell::PluginManager::instance ( )
static

Definition at line 26 of file PluginManager.cxx.

Here is the caller graph for this function:

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