Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Sep 14, 2006, 5:24:31 PM (18 years ago)
Author:
bensch
Message:

orxonox/new_class_id: new Executor construct, that is much more typesafe, faster, and easier to extend…

Also changed the LoadParam process, and adapted ScriptEngine calls

Then at the end, some missing headers appeared, and appended them to all the cc-files again.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/new_class_id/src/lib/shell/shell_command.h

    r9715 r9727  
    7171    ShellCommand* completionPlugin(unsigned int parameter, const CompletorPlugin& completorPlugin);
    7272
    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);
    7474    static void unregisterCommand(const std::string& commandName, const std::string& className);
    7575    static const ShellCommand* const getCommand(const std::string& commandName, const std::string& className);
     
    8787
    8888  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);
    9090    virtual ~ShellCommand();
    9191
     
    9999    std::string                      description;           //!< A description for this commnand. (initially ""). Assigned with (create)->describe("blablabla");
    100100    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.
    102102  };
    103103
Note: See TracChangeset for help on using the changeset viewer.