13 FacSupervisor* FacSupervisor::_instance = NULL;
21 if (_instance == NULL) {
31 _bomPool.push_back (ioFacBomAbstract_ptr);
37 _svcPool.push_back (ioFacServiceAbstract_ptr);
48 for (BomFactoryPool_T::const_iterator itFactory = _bomPool.begin();
49 itFactory != _bomPool.end(); itFactory++) {
51 assert (currentFactory_ptr != NULL);
53 delete (currentFactory_ptr); currentFactory_ptr = NULL;
62 for (ServiceFactoryPool_T::const_iterator itFactory = _svcPool.begin();
63 itFactory != _svcPool.end(); itFactory++) {
65 assert (currentFactory_ptr != NULL);
67 delete (currentFactory_ptr); currentFactory_ptr = NULL;
76 if (_instance != NULL) {
80 delete (_instance); _instance = NULL;