| 102 | } |
| 103 | |
| 104 | void FactoryManager::destroyObject(IObject* _object) |
| 105 | { |
| 106 | delete _object; |
| 107 | |
| 108 | /*MapRegisterFactoryItem::iterator category = mRegisterFactoryItems.find(_category); |
| 109 | if (category == mRegisterFactoryItems.end()) |
| 110 | { |
| 111 | return; |
| 112 | } |
| 113 | MapFactoryItem::iterator type = category->second.find(_type); |
| 114 | if (type == category->second.end()) |
| 115 | { |
| 116 | return; |
| 117 | } |
| 118 | if (type->second.empty()) |
| 119 | { |
| 120 | return; |
| 121 | } |
| 122 | |
| 123 | type->second(_object, nullptr, _version);*/ |
| 124 | } |
| 125 | |
| 126 | bool FactoryManager::isFactoryExist(std::string_view _category, std::string_view _type) |
| 127 | { |