FactoryObjects.h File Reference

Factory that creates instances of objects derived from the Object class. More...

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

Go to the source code of this file.

Namespaces

namespace  FactoryObjectsDeclar

Classes

class  FactoryObjectsDeclar::FactoryObjectsError< IdentifierType, AbstractProduct >
 Manages the "Unknown Type" error in the FactoryObjects. More...

Typedefs

typedef Object FactoryObjectsDeclar::ProductType
 Type of basic product.
typedef string FactoryObjectsDeclar::IdentifierType
 Type of identifier used to create instances.
typedef Object::Config FactoryObjectsDeclar::InitializerType
 Initializer type of the product (passed as constructor argument).
typedef Object *(*) FactoryObjectsDeclar::CreateFunctionType (const InitializerType &)
 Function that will create instance of a selected product.
typedef Singleton< Factory<
FactoryObjectsDeclar::ProductType,
FactoryObjectsDeclar::IdentifierType,
FactoryObjectsDeclar::InitializerType,
FactoryObjectsDeclar::CreateFunctionType,
FactoryObjectsDeclar::FactoryObjectsError >> 
FactoryObjects
 Factory that creates instances of objects derived from the Object class.


Detailed Description

Factory that creates instances of objects derived from the Object 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< FactoryObjectsDeclar::ProductType, FactoryObjectsDeclar::IdentifierType, FactoryObjectsDeclar::InitializerType, FactoryObjectsDeclar::CreateFunctionType, FactoryObjectsDeclar::FactoryObjectsError >> FactoryObjects

Factory that creates instances of objects derived from the Object class.


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