Crazy Eddie's GUI System  0.8.4
CEGUI::SchemeManager Class Reference

A class that manages the creation of, access to, and destruction of GUI Scheme objects. More...

+ Inheritance diagram for CEGUI::SchemeManager:
+ Collaboration diagram for CEGUI::SchemeManager:

List of all members.

Public Types

typedef ConstMapIterator
< ObjectRegistry
SchemeIterator
 Definition of SchemeIterator type.

Public Member Functions

 SchemeManager ()
 Constructor.
 ~SchemeManager ()
 Destructor.
SchemeIterator getIterator () const
 Return a SchemeManager::SchemeIterator object to iterate over the available schemes.
void setAutoLoadResources (bool enabled)
 If this is enabled, Schemas will immediately load their resources after they are created.
bool getAutoLoadResources () const
 Checks whether resources are loaded immediately after schemes are created.

Protected Member Functions

void doPostObjectAdditionAction (Scheme &object)
 Function called each time a new object is added to the collection.

Protected Attributes

bool d_autoLoadResources
 If true, Scheme::loadResources is called after "create" is called for it.

Detailed Description

A class that manages the creation of, access to, and destruction of GUI Scheme objects.


Member Function Documentation

Checks whether resources are loaded immediately after schemes are created.

See also:
SchemeManager::setAutoLoadResources

If this is enabled, Schemas will immediately load their resources after they are created.

It's sometimes useful to turn this off when you want to load things more selectively. This is enabled by default.

Parameters:
enabledIf true, you will have to load resources from the Scheme yourself!
Note:
Calling Scheme::loadResources after you create the Scheme is equivalent to this being enabled and creating the scheme.
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends