![]() |
Murl Engine API
Version 2018.3
|
The IFactoryRegistry interface. More...
#include <murl_resource_i_factory_registry.h>
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.
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... | |
|
pure virtual |
Register a collection factory class.
classInfo | The ClassInfo structure of the collection factory to register. |
|
pure virtual |
Unregister a previously registered collection factory class.
classInfo | The ClassInfo structure of the collection factory to unregister. |
|
pure virtual |
Register a package factory class.
classInfo | The ClassInfo structure of the package factory to register. |
|
pure virtual |
Unregister a previously registered package factory class.
classInfo | The ClassInfo structure of the package factory to unregister. |
|
pure virtual |
Register an object factory class.
classInfo | The ClassInfo structure of the object factory to register. |
|
pure virtual |
Unregister a previously registered object factory class.
classInfo | The ClassInfo structure of the object factory to unregister. |
|
pure virtual |
Get the total number of known collection factory registries.
|
pure virtual |
Get the registry interface of the collection factory at a given index.
index | The index, from 0 to GetNumberOfCollectionFactoryRegistries()-1. |
|
pure virtual |
Get the registry interface of the collection factory at a given index.
index | The index, from 0 to GetNumberOfCollectionFactoryRegistries()-1. |
|
pure virtual |
Get the registry interface of the default collection factory.
|
pure virtual |
Get the registry interface of the default collection factory.
|
pure virtual |
Get the registry interface of a known collection factory by its class name.
className | The class name of the factory to query. |
|
pure virtual |
Get the registry interface of a known collection factory by its class name.
className | The class name of the factory to query. |
|
pure virtual |
Get the registry interface of a known collection factory by its class info structure.
classInfo | The factory's ClassInfo structure. |
|
pure virtual |
Get the registry interface of a known collection factory by its class info structure.
classInfo | The factory's ClassInfo structure. |
|
pure virtual |
Get the total number of known package factory registries.
|
pure virtual |
Get the registry interface of the package factory at a given index.
index | The index, from 0 to GetNumberOfPackageFactoryRegistries()-1. |
|
pure virtual |
Get the registry interface of the package factory at a given index.
index | The index, from 0 to GetNumberOfPackageFactoryRegistries()-1. |
|
pure virtual |
Get the registry interface of the default package factory.
|
pure virtual |
Get the registry interface of the default package factory.
|
pure virtual |
Get the registry interface of a known package factory by its class name.
className | The class name of the factory to query. |
|
pure virtual |
Get the registry interface of a known package factory by its class name.
className | The class name of the factory to query. |
|
pure virtual |
Get the registry interface of a known package factory by its class info structure.
classInfo | The factory's ClassInfo structure. |
|
pure virtual |
Get the registry interface of a known package factory by its class info structure.
classInfo | The factory's ClassInfo structure. |
|
pure virtual |
Get the total number of known object factory registries.
|
pure virtual |
Get the registry interface of the object factory at a given index.
index | The index, from 0 to GetNumberOfObjectFactoryRegistries()-1. |
|
pure virtual |
Get the registry interface of the object factory at a given index.
index | The index, from 0 to GetNumberOfObjectFactoryRegistries()-1. |
|
pure virtual |
Get the registry interface of the default object factory.
|
pure virtual |
Get the registry interface of the default object factory.
|
pure virtual |
Get the registry interface of a known object factory by its class name.
className | The class name of the factory to query. |
|
pure virtual |
Get the registry interface of a known object factory by its class name.
className | The class name of the factory to query. |
|
pure virtual |
Get the registry interface of a known object factory by its class info structure.
classInfo | The factory's ClassInfo structure. |
|
pure virtual |
Get the registry interface of a known object factory by its class info structure.
classInfo | The factory's ClassInfo structure. |