Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 7720 in orxonox.OLD for trunk/src/orxonox.cc


Ignore:
Timestamp:
May 19, 2006, 3:29:21 AM (18 years ago)
Author:
bensch
Message:

orxonox/trunk: strings work too now :)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/orxonox.cc

    r7718 r7720  
    431431  void printTestBool(bool b) { printf("%d\n", (int)b); };
    432432  void printTwoVals(int b, int i) { printf ("%d %d\n", b, i); };
    433 
     433  void printStrings(const std::string& name) { printf("String:: '%s'\n", name.c_str()); };
    434434  static void printStatic() { printf("STATIC\n");};
    435435};
     
    444444  (*createExecutor<TestClass>(&TestClass::printTwoVals))(&test, testStrings);
    445445  (*createExecutor<TestClass>(&TestClass::printStatic))(&test, testStrings);
     446  (*createExecutor<TestClass>(&TestClass::printStrings))(&test, testStrings);
    446447
    447448}
Note: See TracChangeset for help on using the changeset viewer.