Changeset 7198 in orxonox.OLD for trunk/src/lib/shell/shell_command.cc
- Timestamp:
- Mar 8, 2006, 2:30:19 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/shell/shell_command.cc
r6222 r7198 292 292 293 293 /** 294 * sets default Values of the Commands 295 * @param count how many default Values to set. 296 * @param ... the default Values in order. They will be cast to the right type 297 * @returns itself 298 * 299 * Be aware, that when you use this Function, you !!MUST!! match the input as 300 * count, [EXACTLY THE SAME AS IF YOU WOULD CALL THE FUNCTION UP TO count ARGUMENTS] 301 */ 302 ShellCommand* ShellCommand::defaultValues(unsigned int count, ...) 294 * @brief set the default values of the executor 295 * @param value0 the first default value 296 * @param value1 the second default value 297 * @param value2 the third default value 298 * @param value3 the fourth default value 299 * @param value4 the fifth default value 300 */ 301 ShellCommand* ShellCommand::defaultValues(const MultiType& value0, const MultiType& value1, 302 const MultiType& value2, const MultiType& value3, 303 const MultiType& value4) 303 304 { 304 305 if (this == NULL) 305 306 return NULL; 306 307 307 va_list values; 308 va_start(values, count); 309 310 this->executor->defaultValues(count, values); 308 this->executor->defaultValues(value0, value1, value2, value3, value4); 311 309 312 310 return this;
Note: See TracChangeset
for help on using the changeset viewer.