Changeset 4287 in orxonox.OLD for orxonox/trunk/src/util
- Timestamp:
- May 26, 2005, 12:22:19 AM (20 years ago)
- Location:
- orxonox/trunk/src/util
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/util/object_manager.cc
r4286 r4287 77 77 BaseObject* ObjectManager::getFromDeadList(const char* className, int number) 78 78 {} 79 80 81 void ObjectManager::debug() 82 { 83 PRINT(0)("\n==========================| ObjectManager::debug() |===\n"); 84 PRINT(0)("= Number of registerable classes: %i\n", CL_NUMBER ); 85 PRINT(0)("= Currently cached objects: \n"); 86 for(int i = 0; i < CL_NUMBER; ++i) 87 { 88 if(this->managedObjectList[i] != NULL) 89 PRINT(0)("= o Class Nr. %i has cached %i object(s)\n", i, this->managedObjectList[i]->getSize()); 90 else 91 PRINT(0)("= o Class Nr. %i has cached 0 object(s)\n", i); 92 } 93 PRINT(0)("=======================================================\n"); 94 } -
orxonox/trunk/src/util/object_manager.h
r4286 r4287 44 44 BaseObject* getFromDeadList(const char* className, int number = 1); 45 45 46 void debug(); 47 46 48 private: 47 49 ObjectManager(void);
Note: See TracChangeset
for help on using the changeset viewer.