Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

CEGUI::FactoryModule Class Reference

Class that encapsulates access to a dynamic loadable module containing implementations of Windows, Widgets, and their factories. More...

#include <CEGUIFactoryModule.h>

Collaboration diagram for CEGUI::FactoryModule:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 FactoryModule (const String &filename)
 Construct the FactoryModule object by loading the dynamic loadable module specified.
virtual ~FactoryModule (void)
 Destroys the FactoryModule object and unloads any loadable module.
void registerFactory (const String &type) const
 Register a WindowFactory for type Windows.
uint registerAllFactories () const
 Register all factories available in this module.

Detailed Description

Class that encapsulates access to a dynamic loadable module containing implementations of Windows, Widgets, and their factories.

Definition at line 69 of file CEGUIFactoryModule.h.


Constructor & Destructor Documentation

CEGUI::FactoryModule::FactoryModule const String filename  ) 
 

Construct the FactoryModule object by loading the dynamic loadable module specified.

Parameters:
filename String object holding the filename of a loadable module.
Returns:
Nothing

Definition at line 61 of file CEGUIFactoryModule.cpp.

References CEGUI::String::c_str(), CEGUI_LOAD_MODULE_DEBUG_SUFFIX, CEGUI::String::insert(), CEGUI::String::length(), and CEGUI::String::substr().

CEGUI::FactoryModule::~FactoryModule void   )  [virtual]
 

Destroys the FactoryModule object and unloads any loadable module.

Returns:
Nothing

Definition at line 106 of file CEGUIFactoryModule.cpp.


Member Function Documentation

uint CEGUI::FactoryModule::registerAllFactories  )  const
 

Register all factories available in this module.

Returns:
uint value indicating the number of factories registered.

Definition at line 126 of file CEGUIFactoryModule.cpp.

void CEGUI::FactoryModule::registerFactory const String type  )  const
 

Register a WindowFactory for type Windows.

Parameters:
type String object holding the name of the Window type a factory is to be registered for.
Returns:
Nothing.

Definition at line 115 of file CEGUIFactoryModule.cpp.


The documentation for this class was generated from the following files:
Generated on Wed Sep 7 10:06:08 2005 for Crazy Eddies GUI System by  doxygen 1.4.3