Home | Namespaces | Hierarchy | Alphabetical List | Class list | Files | Namespace Members | Class members | File members |
#include <ResourceFactory.h>
Public Member Functions | |
virtual Resource * | createResource (const std::string &filename, Serializer *serializer)=0 |
Creates a new resource object. | |
virtual void | destroyResource (Resource *resource)=0 |
Destroys a resource object which was created by this factory. |
virtual Resource* resource::ResourceFactory::createResource | ( | const std::string & | filename, |
Serializer * | serializer | ||
) | [pure virtual] |
Creates a new resource object.
Implemented in physics::BodyDataFactory, render::FontFactory, render::MaterialFactory, render::MeshDataFactory, and scene::SceneFactory.
Referenced by resource::ResourceManager::createResource().
virtual void resource::ResourceFactory::destroyResource | ( | Resource * | resource | ) | [pure virtual] |
Destroys a resource object which was created by this factory.
Implemented in physics::BodyDataFactory, render::FontFactory, render::MaterialFactory, render::MeshDataFactory, and scene::SceneFactory.
Referenced by resource::ResourceManager::removeAllResources(), and resource::ResourceManager::removeResource().
The KG Game Engine
Documentation © 2006-2011 by Kat'Oun. Generated on Sat Jul 2 2011 00:50:10 by
Doxygen
(1.7.4)
|