Changeset 9779 in orxonox.OLD for branches/new_class_id/src/lib/shell
- Timestamp:
- Sep 20, 2006, 10:08:58 AM (18 years ago)
- Location:
- branches/new_class_id/src/lib/shell
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/new_class_id/src/lib/shell/shell_command.h
r9777 r9779 56 56 */ 57 57 #define SHELL_COMMAND_STATIC(command, class, function) \ 58 OrxShell::ShellCommand* shell_command_##class##_##command = OrxShell::ShellCommand::registerCommand(#command, #class, createExecutor<class, BaseObject>( &class::function))58 OrxShell::ShellCommand* shell_command_##class##_##command = OrxShell::ShellCommand::registerCommand(#command, #class, createExecutor<class, BaseObject>(function)) 59 59 60 60 -
branches/new_class_id/src/lib/shell/some_shell_commands.cc
r9777 r9779 55 55 SHELL_COMMAND(debug, ResourceManager, debug); 56 56 #include "loading/load_param_class_description.h" 57 OrxShell::ShellCommand* shell_command_LPCD_printAll = 58 OrxShell::ShellCommand::registerCommand("printAll", "LoadParamClassDescription", 59 new Executor2_static<LoadParamClassDescription, const SubString, const std::string&, bool>(&LoadParamClassDescription::printAll)) 60 //SHELL_COMMAND_STATIC(print, LoadParamClassDescription, printAll) 57 SHELL_COMMAND_STATIC(printAll, LoadParamClassDescription, &LoadParamClassDescription::printAll) 61 58 ->defaultValues(MT_NULL, true); 59 SHELL_COMMAND_STATIC(capture, LoadParamClassDescription, &LoadParamClassDescription::captureDescriptions) 60 ->defaultValues(true);
Note: See TracChangeset
for help on using the changeset viewer.