TePDIStrategyFactory Class Reference

#include <TePDIStrategyFactory.hpp>

Inheritance diagram for TePDIStrategyFactory:

TeFactory< TePDIStrategy, TePDIParameters >

Detailed Description

This is the class for digital image processing strategy factory.
Author:
Emiliano F. Castejon <castejon@dpi.inpe.br>

Definition at line 46 of file TePDIStrategyFactory.hpp.


Public Types

typedef const
TeSharedPtr
< TePDIStrategyFactory
const_pointer
typedef TeSharedPtr
< TePDIStrategyFactory
pointer
typedef map< string,
TeFactory
< TePDIStrategy,
TePDIParameters > * > 
TeFactoryMap
 Dictionary of factories (indexed by name).

Public Member Functions

virtual ~TePDIStrategyFactory ()

Static Public Member Functions

static TeFactoryMapinstance ()
 Returns the single instance of the factory dictionay.
static TePDIStrategymake (const TePDIParameters &arg)
 Virtual constructor using arguments.
static TePDIStrategymake (string name, const TePDIParameters &arg)
 Virtual constructor using name.

Protected Member Functions

virtual TePDIStrategybuild (const TePDIParameters &arg)=0
 Builds a new type (should be implemented by descendants).
 TePDIStrategyFactory (const std::string &factoryName)

Member Typedef Documentation

typedef const TeSharedPtr< TePDIStrategyFactory > TePDIStrategyFactory::const_pointer

Definition at line 53 of file TePDIStrategyFactory.hpp.

typedef TeSharedPtr< TePDIStrategyFactory > TePDIStrategyFactory::pointer

Definition at line 51 of file TePDIStrategyFactory.hpp.

typedef map<string, TeFactory<TePDIStrategy ,TePDIParameters >* > TeFactory< TePDIStrategy , TePDIParameters >::TeFactoryMap [inherited]

Definition at line 54 of file TeFactory.h.


Constructor & Destructor Documentation

TePDIStrategyFactory::~TePDIStrategyFactory (  )  [virtual]

Default Destructor

Definition at line 9 of file TePDIStrategyFactory.cpp.

00010 {
00011 };

TePDIStrategyFactory::TePDIStrategyFactory ( const std::string factoryName  )  [protected]

Default constructor

Parameters:
factoryName Factory name.

Definition at line 4 of file TePDIStrategyFactory.cpp.

00005 : TeFactory< TePDIStrategy, TePDIParameters >( factoryName )
00006 {
00007 };      


Member Function Documentation

virtual TePDIStrategy * TeFactory< TePDIStrategy , TePDIParameters >::build ( const TePDIParameters arg  )  [protected, pure virtual, inherited]

static TeFactoryMap& TeFactory< TePDIStrategy , TePDIParameters >::instance (  )  [inline, static, inherited]

Definition at line 57 of file TeFactory.h.

00058         { 
00059                 static TeFactoryMap Fmap_;
00060                 return Fmap_;
00061                 
00062         }

static TePDIStrategy * TeFactory< TePDIStrategy , TePDIParameters >::make ( const TePDIParameters arg  )  [static, inherited]

Builds an object, based on the input parameters.

static TePDIStrategy * TeFactory< TePDIStrategy , TePDIParameters >::make ( string  name,
const TePDIParameters arg 
) [static, inherited]

Builds an object, based on the input parameters.


The documentation for this class was generated from the following files:
Generated on Sun Jul 29 04:08:30 2012 for TerraLib - Development Source by  doxygen 1.5.3