Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5177 in orxonox.OLD for trunk/src/lib/shell/shell_buffer.cc


Ignore:
Timestamp:
Sep 12, 2005, 12:30:32 AM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: more integration/bugFix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lib/shell/shell_buffer.cc

    r5176 r5177  
    4040  this->bufferIterator = this->buffer->getIterator();
    4141
    42   this->setBufferSize(10);
     42  this->setBufferSize(100);
    4343}
    4444
     
    9191#endif
    9292
    93 //  vprintf(line, arguments);
     93  vprintf(line, arguments);
    9494#if DEBUG < 3
    9595  else
     
    195195  delete charIterator;
    196196}
     197
     198/**
     199 * displays some nice output from the Shell
     200 */
     201void ShellBuffer::debug() const
     202{
     203  PRINT(3)("Debugging output to console (not this shell)\n");
     204
     205  char* tmpChar = bufferIterator->firstElement();
     206  while(tmpChar != NULL)
     207  {
     208    printf(tmpChar);
     209    tmpChar = bufferIterator->nextElement();
     210  }
     211}
Note: See TracChangeset for help on using the changeset viewer.