Changeset 9371 in orxonox.OLD for branches/proxy/src/util/fast_factory.cc
- Timestamp:
- Jul 20, 2006, 11:08:16 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/proxy/src/util/fast_factory.cc
r9357 r9371 79 79 void FastFactory::registerFastFactory(FastFactory* fastFactory) 80 80 { 81 PRINTF(4)("Registered FastFactory for '%s'\n", fastFactory->get Name());81 PRINTF(4)("Registered FastFactory for '%s'\n", fastFactory->getCName()); 82 82 83 83 if( FastFactory::first == NULL) … … 128 128 while (tmpFac != NULL) 129 129 { 130 if (fastFactoryName == tmpFac->get Name())130 if (fastFactoryName == tmpFac->getCName()) 131 131 return tmpFac; 132 132 tmpFac = tmpFac->next; … … 145 145 while (tmpFac != NULL) 146 146 { 147 PRINTF(4)("DELETEING ALL OF %s\n",tmpFac->get Name());147 PRINTF(4)("DELETEING ALL OF %s\n",tmpFac->getCName()); 148 148 tmpFac->flush(hardFLUSH); 149 149 tmpFac = tmpFac->next; … … 202 202 BaseObject* FastFactory::resurrect() 203 203 { 204 PRINTF(4)("Resurecting Object of type %s\n", this->get Name());204 PRINTF(4)("Resurecting Object of type %s\n", this->getCName()); 205 205 if (unlikely(this->deadList == NULL)) 206 206 { 207 207 PRINTF(3)("The deadList of Class %s is empty, this may be either because it has not been filled yet, or the cache is to small.\n" \ 208 208 " Developer: try increasing the count with FastFactory::prepare(contHigher than actual)\n" \ 209 " Fabricating a new %s\n", this->get Name(), this->getName());209 " Fabricating a new %s\n", this->getCName(), this->getCName()); 210 210 this->fabricate(); 211 211 return this->resurrect();
Note: See TracChangeset
for help on using the changeset viewer.