5 #ifndef CT_FACTORY_BASE
6 #define CT_FACTORY_BASE
29 std::vector< FactoryBase* >::iterator iter ;
33 (*iter)->deleteFactory() ;
virtual ~FactoryBase()
destructor
FactoryBase()
Constructor.
Base class for factories.
virtual void deleteFactory()=0
Virtual abstract function that deletes the factory.
static void deleteFactories()
static function that deletes all factories in the internal registry maintained in a static variable ...
static std::vector< FactoryBase * > s_vFactoryRegistry
statically held list of Factories.