Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Mar 31, 2008, 12:25:09 AM (16 years ago)
Author:
landauf
Message:

hum, i forgot what i was doing there… oh wait, i remember… it had something to do with executor evaluation. strange thing, no wonder my brain has a leak or something… what's that SVN thing all around my cursor? what's a cursor anyway? oh, and what am i doing here? i feel like having breakfast and it's all dark… stupid clock change…

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/core2/src/orxonox/core/CommandExecutor.h

    r965 r967  
    7777
    7878            inline void setAdditionalParameter(const std::string& param)
    79                 { this->additionalParameter_ = param; }
     79                { this->additionalParameter_ = param; this->bEvaluatedParams_ = false; }
    8080            inline std::string getAdditionalParameter() const
    8181                { return (this->additionalParameter_ != "") ? (" " + this->additionalParameter_) : ""; }
     82
     83            void setEvaluatedParameter(unsigned int index, MultiTypeMath param);
     84            MultiTypeMath getEvaluatedParameter(unsigned int index) const;
     85
     86            void evaluateParams();
    8287
    8388        private:
     
    102107            std::string errorMessage_;
    103108            CommandState state_;
     109
     110            bool bEvaluatedParams_;
     111            MultiTypeMath param_[5];
     112            ExecutorStatic* evaluatedExecutor_;
    104113    };
    105114
Note: See TracChangeset for help on using the changeset viewer.