Package rosetta :: Package basic :: Package resource_manager :: Module _basic_resource_manager_ :: Class ResourceManagerFactory
[hide private]
[frames] | no frames]

Class ResourceManagerFactory

                                                 object --+        
                                                          |        
                                                ??.instance --+    
                                                              |    
SingletonBase_T_basic_resource_manager_ResourceManagerFactory_T --+
                                                                  |
                                                                 ResourceManagerFactory

A factory class for managing the instantiation of the singleton ResourceManager: only one of the various derived classes will be instantiated. Currently, it asks for the JD2ResourceManager; in the future, this should be fixed so that it reads from the options system to figure out which ResourceManager to instantiate.

Instance Methods [hide private]
 
__init__(...)
Raises an exception This class cannot be instantiated from Python
 
create_resource_manager_from_options_system(...)
create_resource_manager_from_options_system( (ResourceManagerFactory)arg1) -> ResourceManager : Should only be called by the ResourceManager in its singleton construction!
 
factory_register(...)
factory_register( (ResourceManagerFactory)arg1, (ResourceManagerCreator)creator) -> None : basic/resource_manager/ResourceManagerFactory.hh:58

Inherited from SingletonBase_T_basic_resource_manager_ResourceManagerFactory_T: __reduce__

Inherited from unreachable.instance: __new__

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Static Methods [hide private]

Inherited from SingletonBase_T_basic_resource_manager_ResourceManagerFactory_T: get_instance

Class Variables [hide private]

Inherited from SingletonBase_T_basic_resource_manager_ResourceManagerFactory_T: __instance_size__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(...)
(Constructor)

 

Raises an exception This class cannot be instantiated from Python

Overrides: object.__init__

create_resource_manager_from_options_system(...)

 

create_resource_manager_from_options_system( (ResourceManagerFactory)arg1) -> ResourceManager :
    Should only be called by the ResourceManager in its singleton construction!
    

    C++ signature :
        basic::resource_manager::ResourceManager* create_resource_manager_from_options_system(basic::resource_manager::ResourceManagerFactory {lvalue})

factory_register(...)

 

factory_register( (ResourceManagerFactory)arg1, (ResourceManagerCreator)creator) -> None :
    basic/resource_manager/ResourceManagerFactory.hh:58

    C++ signature :
        void factory_register(basic::resource_manager::ResourceManagerFactory {lvalue},boost::shared_ptr<basic::resource_manager::ResourceManagerCreator>)