Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5149 in orxonox.OLD for trunk/src/util


Ignore:
Timestamp:
Aug 27, 2005, 12:27:50 PM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: ok, now testS and testI from shell work

Location:
trunk/src/util
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/util/shell.cc

    r5148 r5149  
    8686void Shell::testI (int i)
    8787{
    88   printf("This is the Test for one Int '%d'\n", i);
     88  PRINTF(3)("This is the Test for one Int '%d'\n", i);
    8989}
    9090
    9191void Shell::testS (const char* s)
    9292{
    93   printf("This is the Test for one String '%s'\n", s);
     93  PRINTF(3)("This is the Test for one String '%s'\n", s);
    9494}
    9595
  • trunk/src/util/shell_command.h

    r5148 r5149  
    161161    virtual void executeCommand (BaseObject* object, const char* parameters)
    162162    {
    163       if (parameters != NULL)
     163//      if (parameters != NULL)
    164164        //SubString params(parameters, ',');
    165165#define FUNCTOR_LIST(x) ShellCommandExecute ## x
     
    167167  FUNCTOR_LIST(0);
    168168  FUNCTOR_LIST(1)(l_INT);
    169   //FUNCTOR_LIST(1)(l_STRING);
     169  FUNCTOR_LIST(1)(l_STRING);
    170170#undef FUNCTOR_LIST
    171171    }
Note: See TracChangeset for help on using the changeset viewer.