 |
DAS
3.0
Das Analysis System
|
Go to the documentation of this file.
13 #include <type_traits>
29 std::filesystem::path
file;
50 cout <<
"IPlugin: destroying plugin from " <<
file << endl;
67 const boost::property_tree::ptree& = {}
71 template<
typename P> concept
Plugin = std::is_base_of_v<IPlugin, P>;
75 using PluginsVec = std::vector<std::unique_ptr<Darwin::Tools::IPlugin>>;
81 auto _ [[maybe_unused]] = (vec->emplace_back(make_unique<Plugins>()), ..., 0);
84 #define DARWIN_EXPORT_PLUGIN(...) \
85 extern "C" PluginsVec * CreatePlugin () { return plugins<__VA_ARGS__>(); }
PluginsVec * plugins()
Definition: IPlugin.h:77
std::vector< std::unique_ptr< Darwin::Tools::IPlugin > > PluginsVec
Definition: IPlugin.h:75