Go to the documentation of this file.
28#ifndef _FactoryObj_H__
29#define _FactoryObj_H__
virtual T * createInstance(const String &name)=0
Creates a new object.
virtual void destroyInstance(T *ptr)=0
Destroys an object which was created by this factory.
virtual const String & getType() const =0
Returns the factory type.
Copyright © 2012 Torus Knot Software Ltd

This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.