36 template <
typename Impl,
typename Base>
46 const auto implType = cras::getTypeName<Impl>();
47 const auto baseType = cras::getTypeName<Base>();
49 metaObject->addOwningClassLoader(
this);
50 class_loader::impl::getFactoryMapForBaseClass<Base>()[implType] = metaObject;
56 const auto implType = cras::getTypeName<Impl>();
57 auto metaObject = class_loader::impl::getFactoryMapForBaseClass<Base>()[implType];
58 metaObject->removeOwningClassLoader(
this);
59 class_loader::impl::getFactoryMapForBaseClass<Base>().erase(implType);
70 const auto implType = cras::getTypeName<Impl>();
71 const auto baseType = cras::getTypeName<Base>();
73 loader.
classes_available_.insert({pluginlibType, {pluginlibType, implType, baseType,
"",
"",
"",
""}});