Changeset 9727 in orxonox.OLD for branches/new_class_id/src/lib/shell/shell_command.h
- Timestamp:
- Sep 14, 2006, 5:24:31 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/new_class_id/src/lib/shell/shell_command.h
r9715 r9727 71 71 ShellCommand* completionPlugin(unsigned int parameter, const CompletorPlugin& completorPlugin); 72 72 73 static ShellCommand* registerCommand(const std::string& commandName, const std::string& className, Executor * executor);73 static ShellCommand* registerCommand(const std::string& commandName, const std::string& className, Executor<const SubString>* executor); 74 74 static void unregisterCommand(const std::string& commandName, const std::string& className); 75 75 static const ShellCommand* const getCommand(const std::string& commandName, const std::string& className); … … 87 87 88 88 protected: 89 ShellCommand(const std::string& commandName, const std::string& className, Executor * executor);89 ShellCommand(const std::string& commandName, const std::string& className, Executor<const SubString>* executor); 90 90 virtual ~ShellCommand(); 91 91 … … 99 99 std::string description; //!< A description for this commnand. (initially ""). Assigned with (create)->describe("blablabla"); 100 100 std::vector<CompletorPlugin*> completors; //!< Completors for the Parameters 101 Executor *executor; //!< The Executor, that really executes the Function.101 Executor<const SubString>* executor; //!< The Executor, that really executes the Function. 102 102 }; 103 103
Note: See TracChangeset
for help on using the changeset viewer.