#include "/cvmfs/nova.opensciencegrid.org/externals/cetlib/v3_06_01/source/cetlib/PluginFactory.h"
|
| PluginFactory (cet::search_path const &search_path, std::string const &suffix="plugin") |
|
void | setDiagReleaseVersion (std::string const &rv) |
|
void | setDiagReleaseVersion (std::function< std::string()> rvf) |
|
template<typename RESULT_TYPE , typename... ARGS> |
RESULT_TYPE | call (std::string const &libspec, std::string const &funcname, ARGS &&...args) const |
|
template<typename RESULT_TYPE , typename... ARGS> |
auto | find (std::string const &funcname, std::string const &libspec) const -> RESULT_TYPE(*)(ARGS...) |
|
template<typename RESULT_TYPE , typename... ARGS> |
auto | find (std::string const &funcname, std::string const &libspec, LibraryManager::nothrow_t) const -> RESULT_TYPE(*)(ARGS...) |
|
template<typename FUNCTION_TYPE > |
std::enable_if_t< std::is_function< FUNCTION_TYPE >::value, FUNCTION_TYPE * > | find (std::string const &funcname, std::string const &libspec) const |
|
virtual | ~PluginFactory ()=default |
|
Definition at line 34 of file PluginFactory.h.
virtual cet::PluginFactory::~PluginFactory |
( |
| ) |
|
|
virtualdefault |
template<typename RESULT_TYPE , typename... ARGS>
RESULT_TYPE cet::PluginFactory::call |
( |
std::string const & |
libspec, |
|
|
std::string const & |
funcname, |
|
|
ARGS &&... |
args |
|
) |
| const |
|
inline |
template<typename RESULT_TYPE , typename... ARGS>
auto cet::PluginFactory::find |
( |
std::string const & |
funcname, |
|
|
std::string const & |
libspec |
|
) |
| const -> RESULT_TYPE (*)(ARGS...) |
|
inline |
Definition at line 126 of file PluginFactory.h.
References resolveSymbolOrThrow_().
130 RESULT_TYPE (*symbol)(ARGS...) =
nullptr;
void resolveSymbolOrThrow_(std::string const &libspec, std::string const &funcname, T &symbol) const
template<typename RESULT_TYPE , typename... ARGS>
template<typename FUNCTION_TYPE >
std::enable_if_t< std::is_function< FUNCTION_TYPE >::value, FUNCTION_TYPE * > cet::PluginFactory::find |
( |
std::string const & |
funcname, |
|
|
std::string const & |
libspec |
|
) |
| const |
|
inline |
Definition at line 116 of file PluginFactory.h.
References resolveSymbolOrThrow_().
119 FUNCTION_TYPE** symbol{
nullptr};
void resolveSymbolOrThrow_(std::string const &libspec, std::string const &funcname, T &symbol) const
std::string cet::PluginFactory::releaseVersion_ |
( |
| ) |
const |
|
private |
void cet::PluginFactory::setDiagReleaseVersion |
( |
std::function< std::string()> |
rvf | ) |
|
|
inline |
std::function<std::string()> cet::PluginFactory::releaseVersionFunc_ {} |
|
private |
std::string cet::PluginFactory::releaseVersionString_ {} |
|
private |
The documentation for this class was generated from the following file: