Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 7216 in orxonox.OLD for branches/std/src/lib/util


Ignore:
Timestamp:
Mar 12, 2006, 8:54:30 AM (19 years ago)
Author:
bensch
Message:

orxonox/std:: compile and run again, with many more std::strings….

Location:
branches/std/src/lib/util
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • branches/std/src/lib/util/executor/executor.h

    r7214 r7216  
    271271    {
    272272      SubString sub;
    273       printf("===%s\n", parameters.c_str());
    274273      sub.split(parameters, " \n\t,", '\\');
    275       sub.debug();
    276274//! FUNCTOR_LIST is the List of Executive Functions
    277275#define FUNCTOR_LIST(x) ExecutorExecute ## x
  • branches/std/src/lib/util/executor/functor_list.h

    r7214 r7216  
    9898
    9999  FUNCTOR_LIST(0)();
    100   //! makes functions with one cstring
    101   FUNCTOR_LIST(1)(l_CSTRING);
    102   //! makes functions with two cstrings
    103   FUNCTOR_LIST(2)(l_CSTRING, l_CSTRING);
    104   //! makes functions with three cstrings
    105   FUNCTOR_LIST(3)(l_CSTRING, l_CSTRING, l_CSTRING);
    106   //! makes functions with four cstrings
    107   FUNCTOR_LIST(4)(l_CSTRING, l_CSTRING, l_CSTRING, l_CSTRING);
    108 
    109100  //! makes functions with one string
    110101  FUNCTOR_LIST(1)(l_STRING);
     
    151142
    152143  //! mixed values:
    153   FUNCTOR_LIST(2)(l_CSTRING, l_FLOAT);
     144  FUNCTOR_LIST(2)(l_STRING, l_FLOAT);
    154145  FUNCTOR_LIST(2)(l_UINT, l_LONG);
    155   FUNCTOR_LIST(2)(l_CSTRING, l_UINT);
     146  FUNCTOR_LIST(2)(l_STRING, l_UINT);
    156147
    157   FUNCTOR_LIST(3)(l_CSTRING, l_FLOAT, l_UINT);
     148  FUNCTOR_LIST(3)(l_STRING, l_FLOAT, l_UINT);
    158149
    159150
  • branches/std/src/lib/util/helper_functions.cc

    r7214 r7216  
    104104{
    105105  if (STRING.size() > 0)
    106   {
    107     printf("DECISION1: %s\n", STRING.c_str());
    108106    return STRING;
    109   }
    110107  else
    111   {
    112     printf("DECISION2: %s\n", defaultValue.c_str());
    113108    return defaultValue;
    114   }
    115109}
    116110
  • branches/std/src/lib/util/loading/load_param.cc

    r7214 r7216  
    6666          ((this->executor->getType() & Executor_NoLoadString) == Executor_NoLoadString)))
    6767    {
    68       PRINTF(0)("Loading value '%s' with Parameters '%s' onto: %s::%s\n", this->paramName.c_str(), loadString.c_str(), this->object->getClassName(), this->object->getName());
     68      PRINTF(4)("Loading value '%s' with Parameters '%s' onto: %s::%s\n", this->paramName.c_str(), loadString.c_str(), this->object->getClassName(), this->object->getName());
    6969      this->executor->execute(this->object, loadString);
    7070    }
Note: See TracChangeset for help on using the changeset viewer.