Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 7742 in orxonox.OLD for trunk/src/lib/util/executor


Ignore:
Timestamp:
May 20, 2006, 3:53:37 PM (19 years ago)
Author:
bensch
Message:

trying to fix a strange bug of the static initialisation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lib/util/executor/executor.cc

    r7721 r7742  
    106106
    107107/**
    108  * prints out nice information about the Executor
     108 * @brief prints out nice information about the Executor
    109109 */
    110110void Executor::debug()
    111111{
    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");
    127112
    128         elem = iterator->nextElement();
    129       }
    130       delete iterator;
    131       elemCL = iteratorCL->nextElement();
    132     }
    133     delete iteratorCL;*/
    134113}
Note: See TracChangeset for help on using the changeset viewer.