FactoryObjectConfigs.h File Reference

Factory that creates instances of object configs derived from the Object::Config class. More...

#include "tinyxml/tinyxml.h"
#include "objects/Object.h"
#include "Factory.h"
#include "Singleton.h"
#include "common.h"

Go to the source code of this file.

Namespaces

namespace  FactoryObjectConfigsDeclar

Classes

class  FactoryObjectConfigsDeclar::FactoryObjectConfigsError< IdentifierType, AbstractProduct >
 Manages the "Unknown Type" error in the FactoryObjectConfigs. More...

Typedefs

typedef Object::Config FactoryObjectConfigsDeclar::ProductType
 Type of basic product.
typedef string FactoryObjectConfigsDeclar::IdentifierType
 Type of identifier used to create instances.
typedef TiXmlElement * FactoryObjectConfigsDeclar::InitializerType
 Initializer type of the product (passed as constructor argument).
typedef Object::Config *(*) FactoryObjectConfigsDeclar::CreateFunctionType (const InitializerType &)
 Function that will create instance of a selected product.
typedef Singleton< Factory<
FactoryObjectConfigsDeclar::ProductType,
FactoryObjectConfigsDeclar::IdentifierType,
FactoryObjectConfigsDeclar::InitializerType,
FactoryObjectConfigsDeclar::CreateFunctionType,
FactoryObjectConfigsDeclar::FactoryObjectConfigsError >> 
FactoryObjectConfigs
 Factory that creates instances of object's configs derived from the Object::Config class.


Detailed Description

Factory that creates instances of object configs derived from the Object::Config class.

Author:
Libor Polcak, xpolca03@stud.fit.vutbr.cz

Boris Prochazka, xproch63@stud.fit.vutbr.cz

Martin Rapavy, xrapav00@stud.fit.vutbr.cz

Petr Zemek, xzemek02@stud.fit.vutbr.cz

Date:
16.3.2007
Implementation is using "Object factory" and "Singleton" design patterns.

Typedef Documentation

typedef Singleton< Factory< FactoryObjectConfigsDeclar::ProductType, FactoryObjectConfigsDeclar::IdentifierType, FactoryObjectConfigsDeclar::InitializerType, FactoryObjectConfigsDeclar::CreateFunctionType, FactoryObjectConfigsDeclar::FactoryObjectConfigsError >> FactoryObjectConfigs

Factory that creates instances of object's configs derived from the Object::Config class.


Generated on Sun Apr 29 11:46:10 2007 for IPP/ICP2007 by  doxygen 1.4.7