Crazy Eddie's GUI System  0.8.2
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Pages
CEGUI::ImageFactory Class Referenceabstract

Interface for factory objects that create instances of classes derived from the Image class. More...

+ Inheritance diagram for CEGUI::ImageFactory:
+ Collaboration diagram for CEGUI::ImageFactory:

Public Member Functions

virtual ~ImageFactory ()
 base class virtual destructor.
 
virtual Imagecreate (const String &name)=0
 Create an instance of the Image subclass that this factory creates.
 
virtual Imagecreate (const XMLAttributes &attributes)=0
 
virtual void destroy (Image &image)=0
 Destroy an instance of the Image subclass that this factory creates.
 

Detailed Description

Interface for factory objects that create instances of classes derived from the Image class.

Note
This interface is intended for internal use only.

Member Function Documentation

virtual Image& CEGUI::ImageFactory::create ( const XMLAttributes attributes)
pure virtual

Create an instance of the Image subclass that this factory creates using the given XMLAttributes object.

Implemented in CEGUI::TplImageFactory< T >.