Changeset 5619 in orxonox.OLD for branches/network/src/lib
- Timestamp:
- Nov 16, 2005, 7:23:40 PM (19 years ago)
- Location:
- branches/network/src/lib
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/network/src/lib/lang/class_list.cc
r5580 r5619 27 27 28 28 using namespace std; 29 /* 29 30 #ifndef NO_SHELL_COMMAND 30 31 SHELL_COMMAND_STATIC(debug, ClassList, ClassList::debugS) 31 32 ->describe("Shows all registered classes, if param1: is a valid ClassName only values of this class are shown. param2: how much output") 32 ->defaultValues(2, NULL, 1);*/ 33 ->defaultValues(2, NULL, 1); 34 #endif 33 35 34 36 /** -
branches/network/src/lib/shell/shell_command.h
r5391 r5619 35 35 * $ ClassName [ObjectName] commandNameInShell [parameters] 36 36 */ 37 #ifndef NO_SHELL_COMMAND 37 38 #define SHELL_COMMAND(command, class, function) \ 38 39 ShellCommandBase* shell_command_##class##_##command = ShellCommand<class>::registerCommand(#command, #class, &class::function) … … 52 53 #define SHELL_COMMAND_STATIC(command, class, function) \ 53 54 ShellCommandBase* shell_command_##class##_##command = ShellCommandStatic<class>::registerCommand(#command, #class, function) 54 55 #else /* NO_SHELL_COMMAND */ 56 #define SHELL_COMMAND(NO, NO2, NO3) 57 #define SHELL_COMMAND_STATIC(NO1, NO2, NO3) 58 #endif /* NO_SHELL_COMMAND */ 55 59 56 60 //! an enumerator for the definition of the Type.
Note: See TracChangeset
for help on using the changeset viewer.