Go to the source code of this file.
Definition at line 14 of file test_dlopen.cxx.
28 cerr <<
"Looking up WireParams factory in NFR: " << iwp1 <<
endl;
29 auto inst1 = iwp1->lookup_factory(
"WireParams");
30 auto inst2 = iwp1->lookup_factory(
"WireParams");
36 cerr <<
"Looking up WireParams factory \n";
37 auto factory = Factory::lookup_factory<IWireParameters>(
"WireParams");
40 cerr <<
"Looking up WireParams:\n";
41 auto wp1 = Factory::lookup<IWireParameters>(
"WireParams");
43 cerr <<
"Looking up WireParams, again:\n";
44 auto wp2 = Factory::lookup<IWireParameters>(
"WireParams");
46 cerr <<
"Looking up undefined WireParams\n";
47 auto wp3 = Factory::lookup<IWireParameters>(
"WireParams",
"MyWireParameters");
const std::string instance
Plugin * add(const std::string &plugin_name, const std::string &libname="")
Add a plugin. If libname is not given, try to derive it.
QTextStream & endl(QTextStream &s)