Crazy Eddies GUI System
0.7.2
|
A class that manages the creation of, access to, and destruction of GUI Scheme objects. More...
Public Types | |
typedef ConstBaseIterator < 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. | |
Public Member Functions inherited from CEGUI::NamedXMLResourceManager< Scheme, Scheme_xmlHandler > | |
NamedXMLResourceManager (const String &resource_type) | |
Constructor. More... | |
virtual | ~NamedXMLResourceManager () |
Destructor. | |
Scheme & | create (const String &xml_filename, const String &resource_group="", XMLResourceExistsAction action=XREA_RETURN) |
Creates a new T object from an XML file and adds it to the collection. More... | |
void | destroy (const String &object_name) |
Destroy the object named object_name, or do nothing if such an object does not exist in the collection. More... | |
void | destroy (const Scheme &object) |
Destroy the object object, or do nothing if such an object does not exist in the collection. More... | |
void | destroyAll () |
Destroy all objects. | |
Scheme & | get (const String &object_name) const |
Return a reference to the object named object_name. More... | |
bool | isDefined (const String &object_name) const |
Return whether an object named object_name exists. | |
void | createAll (const String &pattern, const String &resource_group) |
Create a new T object from files with names matching pattern in resource_group. | |
Protected Member Functions | |
void | doPostObjectAdditionAction (Scheme &object) |
Function called each time a new object is added to the collection. | |
Protected Member Functions inherited from CEGUI::NamedXMLResourceManager< Scheme, Scheme_xmlHandler > | |
void | destroyObject (typename ObjectRegistry::iterator ob) |
implementation of object destruction. | |
Scheme & | doExistingObjectAction (const String object_name, Scheme *object, const XMLResourceExistsAction action) |
function to enforce XMLResourceExistsAction policy. | |
Additional Inherited Members | |
Static Public Member Functions inherited from CEGUI::Singleton< SchemeManager > | |
static SchemeManager & | getSingleton (void) |
static SchemeManager * | getSingletonPtr (void) |
Static Public Attributes inherited from CEGUI::ResourceEventSet | |
static const String | EventNamespace |
Namespace name for all resource managers. | |
static const String | EventResourceCreated |
static const String | EventResourceDestroyed |
static const String | EventResourceReplaced |
Protected Types inherited from CEGUI::NamedXMLResourceManager< Scheme, Scheme_xmlHandler > | |
typedef std::map< String, Scheme *, String::FastLessCompare > | ObjectRegistry |
type of collection used to store and manage objects | |
Protected Attributes inherited from CEGUI::NamedXMLResourceManager< Scheme, Scheme_xmlHandler > | |
const String | d_resourceType |
String holding the text for the resource type managed. | |
ObjectRegistry | d_objects |
the collection of objects | |
Static Protected Attributes inherited from CEGUI::Singleton< SchemeManager > | |
static SchemeManager * | ms_Singleton |
A class that manages the creation of, access to, and destruction of GUI Scheme objects.