Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Mar 28, 2008, 10:13:58 PM (16 years ago)
Author:
landauf
Message:
  • added CommandExecutor
  • added ConsoleCommand macros
  • added getTypename to all MultiTypes
  • added 2 static maps to Identifier that contain all existing Identifiers with their names and lowercase names respectively.
  • added 2 maps to each Identifier that contain all console commands of the Identifier with their names and lowercase names respectively
  • using tolower(.) and toupper(.) instead of selfmade hacks in String.h
  • added AccessLevel enum
  • added some test-console-commands to OutputHandler, Ambient and SpaceShip
File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/core2/src/orxonox/core/Executor.cc

    r939 r947  
    3232namespace orxonox
    3333{
    34     Executor::Executor(Functor* functor, const std::string& name)
     34    Executor::Executor(Functor* functor, const std::string& name, AccessLevel::Level level)
    3535    {
    3636        this->functor_ = functor;
    3737        this->name_ = name;
     38        this->accessLevel_ = level;
     39
    3840        this->bAddedDescription_ = false;
    3941        this->bAddedDescriptionReturnvalue_ = false;
     
    6062    {
    6163        EXECUTOR_PARSE(normal);
    62     }
    63 
    64     void Executor::setName(const std::string name)
    65     {
    66         this->name_ = name;
    67     }
    68 
    69     const std::string& Executor::getName() const
    70     {
    71         return this->name_;
    7264    }
    7365
Note: See TracChangeset for help on using the changeset viewer.