Changeset 7742 in orxonox.OLD for trunk/src/lib/util/executor
- Timestamp:
- May 20, 2006, 3:53:37 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/util/executor/executor.cc
r7721 r7742 106 106 107 107 /** 108 * prints out nice information about the Executor108 * @brief prints out nice information about the Executor 109 109 */ 110 110 void Executor::debug() 111 111 { 112 /* tIterator<ExecutorClass>* iteratorCL = ExecutorClass::commandClassList->getIterator();113 ExecutorClass* elemCL = iteratorCL->firstElement();114 while(elemCL != NULL)115 {116 PRINT(0)("Class:'%s' registered %d commands: \n", elemCL->className, elemCL->commandList->getSize());117 tIterator<Executor>* iterator = elemCL->commandList->getIterator();118 const Executor* elem = iterator->firstElement();119 while(elem != NULL)120 {121 PRINT(0)(" command:'%s' : params:%d: ", elem->getName(), elem->paramCount);122 for (unsigned int i = 0; i< elem->paramCount; i++)123 printf("%s ", Executor::paramToString(elem->parameters[i]));124 if (elem->description != NULL)125 printf("- %s", elem->description);126 printf("\n");127 112 128 elem = iterator->nextElement();129 }130 delete iterator;131 elemCL = iteratorCL->nextElement();132 }133 delete iteratorCL;*/134 113 }
Note: See TracChangeset
for help on using the changeset viewer.