Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Aug 30, 2010, 6:27:59 PM (14 years ago)
Author:
landauf
Message:

use a base-functor instead of a base-executor in ConsoleCommand because the functor of a static executor changes if new functions are assigned to the command.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/consolecommands3/src/libraries/core/command/ConsoleCommand.h

    r7239 r7267  
    223223
    224224            const ExecutorPtr& getExecutor() const;
    225             inline const ExecutorPtr& getBaseExecutor() const
    226                 { return this->baseExecutor_; }
     225            inline const FunctorPtr& getBaseFunctor() const
     226                { return this->baseFunctor_; }
    227227
    228228            inline ConsoleCommand& setActive(bool bActive)
     
    311311            AccessLevel::Enum accessLevel_;
    312312            std::string baseName_;
    313             ExecutorPtr baseExecutor_;
     313            FunctorPtr baseFunctor_;
    314314
    315315            ExecutorPtr executor_;
Note: See TracChangeset for help on using the changeset viewer.