Changeset 4872 in orxonox.OLD for orxonox/trunk/src/lib
- Timestamp:
- Jul 15, 2005, 1:38:05 AM (19 years ago)
- Location:
- orxonox/trunk/src/lib
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/lib/event/event_handler.cc
r4866 r4872 292 292 } 293 293 294 295 void EventHandler::debug() const 296 { 297 PRINT(0)("===============================\n"); 298 PRINT(0)(" EventHandle Debug Information \n"); 299 PRINT(0)("===============================\n"); 300 for(int i = 0; i < ES_NUMBER; ++i) 301 { 302 for(int j = 0; j < EV_NUMBER; ++j) 303 { 304 if( this->listeners[i][j] != NULL) 305 { 306 PRINT(0)("Event %d of State %d subscribed to %s\n", j, i, this->listeners[i][j]->getName()); 307 } 308 } 309 } 310 PRINT(0)("============================EH=\n"); 311 } -
orxonox/trunk/src/lib/event/event_handler.h
r4866 r4872 35 35 void process(); 36 36 37 void debug() const; 38 37 39 private: 38 40 EventHandler(); -
orxonox/trunk/src/lib/lang/class_list.cc
r4871 r4872 213 213 void ClassList::debug(unsigned int debugLevel, long classID) 214 214 { 215 if (debugLevel > 2)216 debugLevel = 2;215 if (debugLevel > 3) 216 debugLevel = 3; 217 217 PRINT(0)("==========================\n"); 218 218 PRINT(0)("= CLASS_LIST (level %d) =\n", debugLevel); … … 245 245 { 246 246 PRINT(0)("| (class %s): NAME(%s)->%p\n", enumBO->getClassName(), enumBO->getName(), enumBO); 247 if (debugLevel == 3) 248 enumBO->whatIs(); 247 249 enumBO = iterator->nextElement(); 248 250 }
Note: See TracChangeset
for help on using the changeset viewer.