ForwardingCarrier(SharedLibraryClassFactory<Carrier> *factory, Carrier *owner) : factory(factory), owner(owner) { factory->addRef(); car.open(*factory); }
void init() { if (plugin.open(settings)) { dev.open(*plugin.getFactory()); settings.setLibraryMethodName(plugin.getFactory()->getName(), settings.getMethodName()); settings.setClassInfo(plugin.getFactory()->getClassName(), plugin.getFactory()->getBaseClassName()); } }
void init() { YarpPluginSelector selector; selector.scan(); settings.setSelector(selector); if (plugin.open(settings)) { dev.open(*plugin.getFactory()); settings.setLibraryMethodName(plugin.getFactory()->getName(), settings.getMethodName()); } }