Changeset 5041 in orxonox.OLD for orxonox/trunk/src/util
- Timestamp:
- Aug 16, 2005, 7:56:48 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/util/fast_factory.cc
r4980 r5041 16 16 17 17 #include "fast_factory.h" 18 18 19 #include "compiler.h" 19 20 #include "debug.h" 20 #include "string.h"21 #include <string.h> 21 22 22 23 using namespace std; … … 144 145 while (tmpFac != NULL) 145 146 { 146 printf("DELETEING ALL OF %s\n",tmpFac->getName());147 PRINTF(4)("DELETEING ALL OF %s\n",tmpFac->getName()); 147 148 tmpFac->flush(hardFLUSH); 148 149 tmpFac = tmpFac->next; … … 163 164 if (hardFLUSH) 164 165 { 165 PRINTF(1)("COOL\n");166 166 delete delMember->objectPointer; 167 167 } … … 205 205 if (unlikely(this->deadList == NULL)) 206 206 { 207 PRINTF(2)("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 "Fabricating a new %s\n", this->getName(), this->getName()); 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 " Developer: try increasing the count with FastFactory::prepare(contHigher than actual)\n" \ 209 " Fabricating a new %s\n", this->getName(), this->getName()); 209 210 this->fabricate(); 210 211 return this->resurrect();
Note: See TracChangeset
for help on using the changeset viewer.