The IFactoryRegistry interface. More...
#include "murl_resource_i_factory_registry.h"
Public Member Functions | |
virtual Bool | RegisterCollectionFactoryClass (const ICollectionFactory::ClassInfo &classInfo)=0 |
Register a collection factory class. More... | |
virtual Bool | UnregisterCollectionFactoryClass (const ICollectionFactory::ClassInfo &classInfo)=0 |
Unregister a previously registered collection factory class. More... | |
virtual Bool | RegisterPackageFactoryClass (const IPackageFactory::ClassInfo &classInfo)=0 |
Register a package factory class. More... | |
virtual Bool | UnregisterPackageFactoryClass (const IPackageFactory::ClassInfo &classInfo)=0 |
Unregister a previously registered package factory class. More... | |
virtual Bool | RegisterObjectFactoryClass (const IObjectFactory::ClassInfo &classInfo)=0 |
Register an object factory class. More... | |
virtual Bool | UnregisterObjectFactoryClass (const IObjectFactory::ClassInfo &classInfo)=0 |
Unregister a previously registered object factory class. More... | |
virtual UInt32 | GetNumberOfCollectionFactoryRegistries () const =0 |
Get the total number of known collection factory registries. More... | |
virtual ICollectionFactoryRegistry * | GetCollectionFactoryRegistry (UInt32 index)=0 |
Get the registry interface of the collection factory at a given index. More... | |
virtual const ICollectionFactoryRegistry * | GetCollectionFactoryRegistry (UInt32 index) const =0 |
Get the registry interface of the collection factory at a given index. More... | |
virtual ICollectionFactoryRegistry * | GetDefaultCollectionFactoryRegistry ()=0 |
Get the registry interface of the default collection factory. More... | |
virtual const ICollectionFactoryRegistry * | GetDefaultCollectionFactoryRegistry () const =0 |
Get the registry interface of the default collection factory. More... | |
virtual ICollectionFactoryRegistry * | GetCollectionFactoryRegistry (const String &className)=0 |
Get the registry interface of a known collection factory by its class name. More... | |
virtual const ICollectionFactoryRegistry * | GetCollectionFactoryRegistry (const String &className) const =0 |
Get the registry interface of a known collection factory by its class name. More... | |
virtual ICollectionFactoryRegistry * | GetCollectionFactoryRegistry (const ICollectionFactory::ClassInfo &classInfo)=0 |
Get the registry interface of a known collection factory by its class info structure. More... | |
virtual const ICollectionFactoryRegistry * | GetCollectionFactoryRegistry (const ICollectionFactory::ClassInfo &classInfo) const =0 |
Get the registry interface of a known collection factory by its class info structure. More... | |
virtual UInt32 | GetNumberOfPackageFactoryRegistries () const =0 |
Get the total number of known package factory registries. More... | |
virtual IPackageFactoryRegistry * | GetPackageFactoryRegistry (UInt32 index)=0 |
Get the registry interface of the package factory at a given index. More... | |
virtual const IPackageFactoryRegistry * | GetPackageFactoryRegistry (UInt32 index) const =0 |
Get the registry interface of the package factory at a given index. More... | |
virtual IPackageFactoryRegistry * | GetDefaultPackageFactoryRegistry ()=0 |
Get the registry interface of the default package factory. More... | |
virtual const IPackageFactoryRegistry * | GetDefaultPackageFactoryRegistry () const =0 |
Get the registry interface of the default package factory. More... | |
virtual IPackageFactoryRegistry * | GetPackageFactoryRegistry (const String &className)=0 |
Get the registry interface of a known package factory by its class name. More... | |
virtual const IPackageFactoryRegistry * | GetPackageFactoryRegistry (const String &className) const =0 |
Get the registry interface of a known package factory by its class name. More... | |
virtual IPackageFactoryRegistry * | GetPackageFactoryRegistry (const IPackageFactory::ClassInfo &classInfo)=0 |
Get the registry interface of a known package factory by its class info structure. More... | |
virtual const IPackageFactoryRegistry * | GetPackageFactoryRegistry (const IPackageFactory::ClassInfo &classInfo) const =0 |
Get the registry interface of a known package factory by its class info structure. More... | |
virtual UInt32 | GetNumberOfObjectFactoryRegistries () const =0 |
Get the total number of known object factory registries. More... | |
virtual IObjectFactoryRegistry * | GetObjectFactoryRegistry (UInt32 index)=0 |
Get the registry interface of the object factory at a given index. More... | |
virtual const IObjectFactoryRegistry * | GetObjectFactoryRegistry (UInt32 index) const =0 |
Get the registry interface of the object factory at a given index. More... | |
virtual IObjectFactoryRegistry * | GetDefaultObjectFactoryRegistry ()=0 |
Get the registry interface of the default object factory. More... | |
virtual const IObjectFactoryRegistry * | GetDefaultObjectFactoryRegistry () const =0 |
Get the registry interface of the default object factory. More... | |
virtual IObjectFactoryRegistry * | GetObjectFactoryRegistry (const String &className)=0 |
Get the registry interface of a known object factory by its class name. More... | |
virtual const IObjectFactoryRegistry * | GetObjectFactoryRegistry (const String &className) const =0 |
Get the registry interface of a known object factory by its class name. More... | |
virtual IObjectFactoryRegistry * | GetObjectFactoryRegistry (const IObjectFactory::ClassInfo &classInfo)=0 |
Get the registry interface of a known object factory by its class info structure. More... | |
virtual const IObjectFactoryRegistry * | GetObjectFactoryRegistry (const IObjectFactory::ClassInfo &classInfo) const =0 |
Get the registry interface of a known object factory by its class info structure. More... | |
Detailed Description
The IFactoryRegistry interface.
The IFactoryRegistry interface provides methods to add, remove and query different sub-factory classes for creating collections, packages and individual objects. The Resource::IFactory interfaces derives from this interface, in order to be able to actually instantiate any entities via the set of classes present in the registry.
Member Function Documentation
◆ RegisterCollectionFactoryClass()
|
pure virtual |
Register a collection factory class.
- Parameters
-
classInfo The ClassInfo structure of the collection factory to register.
- Returns
- true if successful.
◆ UnregisterCollectionFactoryClass()
|
pure virtual |
Unregister a previously registered collection factory class.
- Parameters
-
classInfo The ClassInfo structure of the collection factory to unregister.
- Returns
- true if successful.
◆ RegisterPackageFactoryClass()
|
pure virtual |
Register a package factory class.
- Parameters
-
classInfo The ClassInfo structure of the package factory to register.
- Returns
- true if successful.
◆ UnregisterPackageFactoryClass()
|
pure virtual |
Unregister a previously registered package factory class.
- Parameters
-
classInfo The ClassInfo structure of the package factory to unregister.
- Returns
- true if successful.
◆ RegisterObjectFactoryClass()
|
pure virtual |
Register an object factory class.
- Parameters
-
classInfo The ClassInfo structure of the object factory to register.
- Returns
- true if successful.
◆ UnregisterObjectFactoryClass()
|
pure virtual |
Unregister a previously registered object factory class.
- Parameters
-
classInfo The ClassInfo structure of the object factory to unregister.
- Returns
- true if successful.
◆ GetNumberOfCollectionFactoryRegistries()
|
pure virtual |
Get the total number of known collection factory registries.
- Returns
- The number of known registries.
◆ GetCollectionFactoryRegistry() [1/6]
|
pure virtual |
Get the registry interface of the collection factory at a given index.
- Parameters
-
index The index, from 0 to GetNumberOfCollectionFactoryRegistries()-1.
- Returns
- A mutable pointer to the collection factory's registry interface.
◆ GetCollectionFactoryRegistry() [2/6]
|
pure virtual |
Get the registry interface of the collection factory at a given index.
- Parameters
-
index The index, from 0 to GetNumberOfCollectionFactoryRegistries()-1.
- Returns
- A constant pointer to the collection factory's registry interface.
◆ GetDefaultCollectionFactoryRegistry() [1/2]
|
pure virtual |
Get the registry interface of the default collection factory.
- Returns
- A mutable pointer to the default collection factory's registry interface.
◆ GetDefaultCollectionFactoryRegistry() [2/2]
|
pure virtual |
Get the registry interface of the default collection factory.
- Returns
- A constant pointer to the default collection factory's registry interface.
◆ GetCollectionFactoryRegistry() [3/6]
|
pure virtual |
Get the registry interface of a known collection factory by its class name.
- Parameters
-
className The class name of the factory to query.
- Returns
- A mutable pointer to the requested collection factory's registry interface, or null if not found.
◆ GetCollectionFactoryRegistry() [4/6]
|
pure virtual |
Get the registry interface of a known collection factory by its class name.
- Parameters
-
className The class name of the factory to query.
- Returns
- A constant pointer to the requested collection factory's registry interface, or null if not found.
◆ GetCollectionFactoryRegistry() [5/6]
|
pure virtual |
Get the registry interface of a known collection factory by its class info structure.
- Parameters
-
classInfo The factory's ClassInfo structure.
- Returns
- A mutable pointer to the requested collection factory's registry interface, or null if not found.
◆ GetCollectionFactoryRegistry() [6/6]
|
pure virtual |
Get the registry interface of a known collection factory by its class info structure.
- Parameters
-
classInfo The factory's ClassInfo structure.
- Returns
- A constant pointer to the requested collection factory's registry interface, or null if not found.
◆ GetNumberOfPackageFactoryRegistries()
|
pure virtual |
Get the total number of known package factory registries.
- Returns
- The number of known registries.
◆ GetPackageFactoryRegistry() [1/6]
|
pure virtual |
Get the registry interface of the package factory at a given index.
- Parameters
-
index The index, from 0 to GetNumberOfPackageFactoryRegistries()-1.
- Returns
- A mutable pointer to the package factory's registry interface.
◆ GetPackageFactoryRegistry() [2/6]
|
pure virtual |
Get the registry interface of the package factory at a given index.
- Parameters
-
index The index, from 0 to GetNumberOfPackageFactoryRegistries()-1.
- Returns
- A constant pointer to the package factory's registry interface.
◆ GetDefaultPackageFactoryRegistry() [1/2]
|
pure virtual |
Get the registry interface of the default package factory.
- Returns
- A mutable pointer to the default package factory's registry interface.
◆ GetDefaultPackageFactoryRegistry() [2/2]
|
pure virtual |
Get the registry interface of the default package factory.
- Returns
- A constant pointer to the default package factory's registry interface.
◆ GetPackageFactoryRegistry() [3/6]
|
pure virtual |
Get the registry interface of a known package factory by its class name.
- Parameters
-
className The class name of the factory to query.
- Returns
- A mutable pointer to the requested package factory's registry interface, or null if not found.
◆ GetPackageFactoryRegistry() [4/6]
|
pure virtual |
Get the registry interface of a known package factory by its class name.
- Parameters
-
className The class name of the factory to query.
- Returns
- A constant pointer to the requested package factory's registry interface, or null if not found.
◆ GetPackageFactoryRegistry() [5/6]
|
pure virtual |
Get the registry interface of a known package factory by its class info structure.
- Parameters
-
classInfo The factory's ClassInfo structure.
- Returns
- A mutable pointer to the requested package factory's registry interface, or null if not found.
◆ GetPackageFactoryRegistry() [6/6]
|
pure virtual |
Get the registry interface of a known package factory by its class info structure.
- Parameters
-
classInfo The factory's ClassInfo structure.
- Returns
- A constant pointer to the requested package factory's registry interface, or null if not found.
◆ GetNumberOfObjectFactoryRegistries()
|
pure virtual |
Get the total number of known object factory registries.
- Returns
- The number of known registries.
◆ GetObjectFactoryRegistry() [1/6]
|
pure virtual |
Get the registry interface of the object factory at a given index.
- Parameters
-
index The index, from 0 to GetNumberOfObjectFactoryRegistries()-1.
- Returns
- A mutable pointer to the object factory's registry interface.
◆ GetObjectFactoryRegistry() [2/6]
|
pure virtual |
Get the registry interface of the object factory at a given index.
- Parameters
-
index The index, from 0 to GetNumberOfObjectFactoryRegistries()-1.
- Returns
- A constant pointer to the object factory's registry interface.
◆ GetDefaultObjectFactoryRegistry() [1/2]
|
pure virtual |
Get the registry interface of the default object factory.
- Returns
- A mutable pointer to the default object factory's registry interface.
◆ GetDefaultObjectFactoryRegistry() [2/2]
|
pure virtual |
Get the registry interface of the default object factory.
- Returns
- A constant pointer to the default object factory's registry interface.
◆ GetObjectFactoryRegistry() [3/6]
|
pure virtual |
Get the registry interface of a known object factory by its class name.
- Parameters
-
className The class name of the factory to query.
- Returns
- A mutable pointer to the requested object factory's registry interface, or null if not found.
◆ GetObjectFactoryRegistry() [4/6]
|
pure virtual |
Get the registry interface of a known object factory by its class name.
- Parameters
-
className The class name of the factory to query.
- Returns
- A constant pointer to the requested object factory's registry interface, or null if not found.
◆ GetObjectFactoryRegistry() [5/6]
|
pure virtual |
Get the registry interface of a known object factory by its class info structure.
- Parameters
-
classInfo The factory's ClassInfo structure.
- Returns
- A mutable pointer to the requested object factory's registry interface, or null if not found.
◆ GetObjectFactoryRegistry() [6/6]
|
pure virtual |
Get the registry interface of a known object factory by its class info structure.
- Parameters
-
classInfo The factory's ClassInfo structure.
- Returns
- A constant pointer to the requested object factory's registry interface, or null if not found.
The documentation for this interface was generated from the following file:
- murl_resource_i_factory_registry.h