|
template<class IType > |
bool | WireCell::Factory::associate (const std::string &classname, WireCell::INamedFactory *factory) |
| Associate a factory with the type it makes. More...
|
|
template<class IType > |
WireCell::INamedFactory * | WireCell::Factory::lookup_factory (const std::string &classname) |
| Lookup up a factory for the given type. More...
|
|
template<class IType > |
std::shared_ptr< IType > | WireCell::Factory::lookup (const std::string &classname, const std::string &instname="", bool create=true, bool nullok=false) |
|
template<class IType > |
std::shared_ptr< IType > | WireCell::Factory::find (const std::string &classname, const std::string &instname="") |
|
template<class IType > |
std::shared_ptr< IType > | WireCell::Factory::find_maybe (const std::string &classname, const std::string &instname="") |
| As above but quietly returns nullptr on failure. More...
|
|
template<class IType > |
std::shared_ptr< IType > | WireCell::Factory::lookup_tn (const std::string &tn, bool create=true, bool nullok=false) |
| Lookup an interface by a type:name pair. More...
|
|
template<class IType > |
std::shared_ptr< IType > | WireCell::Factory::find_tn (const std::string &tn) |
| Like lookup_tn but with create false. More...
|
|
template<class IType > |
std::shared_ptr< IType > | WireCell::Factory::find_maybe_tn (const std::string &tn) |
| Like find_tn but with nullok true. More...
|
|
template<class IType > |
std::vector< std::string > | WireCell::Factory::known_classes () |
| Return a vector of all known classes of given interface. More...
|
|
template<class IType > |
std::vector< std::string > | WireCell::Factory::known_types () |
|
template<class Concrete , class... Interface> |
void * | make_named_factory_factory (std::string name) |
|
template<class Concrete , class... Interface> |
size_t | namedfactory_hello (std::string name) |
|