39 if not self._creators.has_key(id):
48 for id
in self._creators.keys():
61 if self._creators.has_key(id):
70 if not self._creators.has_key(id):
79 if not self._creators.has_key(id):
80 print "Factory.createObject return None id: ", id
88 if not self._creators.has_key(id):
99 Factory.__init__(self)
111 instance = staticmethod(instance)
def hasFactory(self, id)
bool hasFactory(const Identifier& id)
def deleteObject(self, obj, id=None)
void deleteObject(const Identifier& id, AbstractClass*& obj)
def createObject(self, id)
AbstractClass* createObject(const Identifier& id)
def removeFactory(self, id)
ReturnCode removeFactory(const Identifier& id)
def addFactory(self, id, creator, destructor)
ReturnCode addFactory(const Identifier& id, Creator creator, Destructor destructor) ...
def getIdentifiers(self)
std::vector<Identifier> getIdentifiers()