Changeset 7216 in orxonox.OLD for branches/std/src/lib/util
- Timestamp:
- Mar 12, 2006, 8:54:30 AM (19 years ago)
- Location:
- branches/std/src/lib/util
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/std/src/lib/util/executor/executor.h
r7214 r7216 271 271 { 272 272 SubString sub; 273 printf("===%s\n", parameters.c_str());274 273 sub.split(parameters, " \n\t,", '\\'); 275 sub.debug();276 274 //! FUNCTOR_LIST is the List of Executive Functions 277 275 #define FUNCTOR_LIST(x) ExecutorExecute ## x -
branches/std/src/lib/util/executor/functor_list.h
r7214 r7216 98 98 99 99 FUNCTOR_LIST(0)(); 100 //! makes functions with one cstring101 FUNCTOR_LIST(1)(l_CSTRING);102 //! makes functions with two cstrings103 FUNCTOR_LIST(2)(l_CSTRING, l_CSTRING);104 //! makes functions with three cstrings105 FUNCTOR_LIST(3)(l_CSTRING, l_CSTRING, l_CSTRING);106 //! makes functions with four cstrings107 FUNCTOR_LIST(4)(l_CSTRING, l_CSTRING, l_CSTRING, l_CSTRING);108 109 100 //! makes functions with one string 110 101 FUNCTOR_LIST(1)(l_STRING); … … 151 142 152 143 //! mixed values: 153 FUNCTOR_LIST(2)(l_ CSTRING, l_FLOAT);144 FUNCTOR_LIST(2)(l_STRING, l_FLOAT); 154 145 FUNCTOR_LIST(2)(l_UINT, l_LONG); 155 FUNCTOR_LIST(2)(l_ CSTRING, l_UINT);146 FUNCTOR_LIST(2)(l_STRING, l_UINT); 156 147 157 FUNCTOR_LIST(3)(l_ CSTRING, l_FLOAT, l_UINT);148 FUNCTOR_LIST(3)(l_STRING, l_FLOAT, l_UINT); 158 149 159 150 -
branches/std/src/lib/util/helper_functions.cc
r7214 r7216 104 104 { 105 105 if (STRING.size() > 0) 106 {107 printf("DECISION1: %s\n", STRING.c_str());108 106 return STRING; 109 }110 107 else 111 {112 printf("DECISION2: %s\n", defaultValue.c_str());113 108 return defaultValue; 114 }115 109 } 116 110 -
branches/std/src/lib/util/loading/load_param.cc
r7214 r7216 66 66 ((this->executor->getType() & Executor_NoLoadString) == Executor_NoLoadString))) 67 67 { 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()); 69 69 this->executor->execute(this->object, loadString); 70 70 }
Note: See TracChangeset
for help on using the changeset viewer.