#include <TePDIStrategyFactory.hpp>

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 TeFactoryMap & | instance () |
| Returns the single instance of the factory dictionay. | |
| static TePDIStrategy * | make (const TePDIParameters &arg) |
| Virtual constructor using arguments. | |
| static TePDIStrategy * | make (string name, const TePDIParameters &arg) |
| Virtual constructor using name. | |
Protected Member Functions | |
| virtual TePDIStrategy * | build (const TePDIParameters &arg)=0 |
| Builds a new type (should be implemented by descendants). | |
| TePDIStrategyFactory (const std::string &factoryName) | |
| typedef const TeSharedPtr< TePDIStrategyFactory > TePDIStrategyFactory::const_pointer |
Definition at line 53 of file TePDIStrategyFactory.hpp.
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.
| TePDIStrategyFactory::~TePDIStrategyFactory | ( | ) | [virtual] |
| TePDIStrategyFactory::TePDIStrategyFactory | ( | const std::string & | factoryName | ) | [protected] |
Default constructor
| factoryName | Factory name. |
Definition at line 4 of file TePDIStrategyFactory.cpp.
00005 : TeFactory< TePDIStrategy, TePDIParameters >( factoryName ) 00006 { 00007 };
| 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.
1.5.3