Crazy Eddie's GUI System 0.8.7
Loading...
Searching...
No Matches
CEGUI::ImageFactory Class Referenceabstract

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

#include <ImageFactory.h>

+ 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.
 
- Public Member Functions inherited from CEGUI::AllocatedObject< ImageFactory >

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

◆ create() [1/2]

virtual Image & CEGUI::ImageFactory::create ( const String & name)
pure virtual

Create an instance of the Image subclass that this factory creates.

Implemented in CEGUI::TplImageFactory< T >.

◆ create() [2/2]

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 >.

◆ destroy()

virtual void CEGUI::ImageFactory::destroy ( Image & image)
pure virtual

Destroy an instance of the Image subclass that this factory creates.

Implemented in CEGUI::TplImageFactory< T >.