Home | Trees | Indices | Help |
---|
|
object --+ | ??.instance --+ | SingletonBase_T_basic_resource_manager_ResourceLoaderFactory_T --+ | ResourceLoaderFactory
Instantiates ResourceLoaders. Creators may be registered with the Factory at any point, though it is recommended they be registered at load time. If two Creators are registered and they both give the same name for the ResourceLoader they say they will instantiate, then the Factory will exit with an error message.
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from Inherited from Inherited from |
|
|||
Inherited from |
|
|||
Inherited from |
|
|||
Inherited from |
|
Raises an exception This class cannot be instantiated from Python
|
available_resource_loaders( (ResourceLoaderFactory)arg1) -> object : Return a list of all the resource loaders available C++ signature : std::list<std::string, std::allocator<std::string> > available_resource_loaders(basic::resource_manager::ResourceLoaderFactory {lvalue}) |
create_resource_loader( (ResourceLoaderFactory)arg1, (str)loader_type) -> ResourceLoader : Instantiates a resource loader ofa given type; throws an exception if no loader with this type has been previously registered. C++ signature : boost::shared_ptr<basic::resource_manager::ResourceLoader> create_resource_loader(basic::resource_manager::ResourceLoaderFactory {lvalue},std::string) |
factory_register( (ResourceLoaderFactory)arg1, (__CPP_ResourceLoaderCreator__)creator) -> None : Register a ResourceLoaderCreator with the factory. The factory asks the Creator for the name of the ResourceLoader that it will create; if another Creator has already registered with the factory that proports to instantiate another ResourceLoader with the same name, then it will exit with an error message, or, if set_throw_on_double_registration() has previously been called, throw an exception. C++ signature : void factory_register(basic::resource_manager::ResourceLoaderFactory {lvalue},boost::shared_ptr<basic::resource_manager::ResourceLoaderCreator>) |
has_resource_loader( (ResourceLoaderFactory)arg1, (str)loader_type) -> bool : Returns true if a resource loader of the given type has been registered with the factory C++ signature : bool has_resource_loader(basic::resource_manager::ResourceLoaderFactory {lvalue},std::string) |
set_throw_on_double_registration( (ResourceLoaderFactory)arg1) -> None : Only useful for unit testing. Since factory registration happens (sometimes) at load time, there may be no one to catch a thrown exception in the event of a name collision two FallbackConfigurationCreators that register for the same C++ signature : void set_throw_on_double_registration(basic::resource_manager::ResourceLoaderFactory {lvalue}) |
Home | Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Sat Jun 6 00:11:01 2015 | http://epydoc.sourceforge.net |