![]() |
OGRE 1.11.6
Object-Oriented Graphics Rendering Engine
|
Abstract factory class, archive codec plugins can register concrete subclasses of this. More...
#include <OgreArchiveFactory.h>
Inheritance diagram for Ogre::ArchiveFactory:Public Member Functions | |
| virtual | ~ArchiveFactory () |
| virtual Archive * | createInstance (const String &name) OGRE_NODISCARD |
| Creates a new object. | |
| virtual Archive * | createInstance (const String &name, bool readOnly) OGRE_NODISCARD=0 |
| Creates a new object. | |
| virtual void | destroyInstance (Archive *ptr)=0 |
| Destroys an object which was created by this factory. | |
| virtual const String & | getType () const=0 |
| Returns the factory type. | |
Abstract factory class, archive codec plugins can register concrete subclasses of this.
|
inlinevirtual |
|
pure virtual |
Creates a new object.
| name | Name of the object to create |
| readOnly | whether the Archive is read only |
Implemented in Ogre::FileSystemArchiveFactory, Ogre::APKFileSystemArchiveFactory, Ogre::ZipArchiveFactory, Ogre::EmbeddedZipArchiveFactory, Ogre::FileSystemArchiveFactory, Ogre::ZipArchiveFactory, and Ogre::EmbeddedZipArchiveFactory.
Creates a new object.
| name | Name of the object to create |
Implements Ogre::FactoryObj< Archive >.
Reimplemented in Ogre::FileSystemArchiveFactory, Ogre::ZipArchiveFactory, and Ogre::EmbeddedZipArchiveFactory.
References createInstance().
Referenced by createInstance().
|
pure virtualinherited |
Returns the factory type.
Implemented in Ogre::FileSystemArchiveFactory, Ogre::APKFileSystemArchiveFactory, Ogre::ZipArchiveFactory, and Ogre::EmbeddedZipArchiveFactory.
|
pure virtualinherited |
Destroys an object which was created by this factory.
| ptr | Pointer to the object to destroy |
Implemented in Ogre::FileSystemArchiveFactory, Ogre::APKFileSystemArchiveFactory, and Ogre::ZipArchiveFactory.