Crazy Eddie's GUI System 0.8.7
Loading...
Searching...
No Matches
CEGUI::TplImageFactory< T > Class Template Reference

Templatised ImageFactory subclass used internally by the system. More...

#include <ImageFactory.h>

+ Inheritance diagram for CEGUI::TplImageFactory< T >:
+ Collaboration diagram for CEGUI::TplImageFactory< T >:

Public Member Functions

Imagecreate (const String &name)
 Create an instance of the Image subclass that this factory creates.
 
Imagecreate (const XMLAttributes &attributes)
 
void destroy (Image &image)
 Destroy an instance of the Image subclass that this factory creates.
 
- Public Member Functions inherited from CEGUI::ImageFactory
virtual ~ImageFactory ()
 base class virtual destructor.
 

Detailed Description

template<typename T>
class CEGUI::TplImageFactory< T >

Templatised ImageFactory subclass used internally by the system.

Member Function Documentation

◆ create() [1/2]

template<typename T >
Image & CEGUI::TplImageFactory< T >::create ( const String name)
virtual

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

Implements CEGUI::ImageFactory.

◆ create() [2/2]

template<typename T >
Image & CEGUI::TplImageFactory< T >::create ( const XMLAttributes attributes)
virtual

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

Implements CEGUI::ImageFactory.

◆ destroy()

template<typename T >
void CEGUI::TplImageFactory< T >::destroy ( Image image)
virtual

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

Implements CEGUI::ImageFactory.