Changeset 1786 for code/trunk
- Timestamp:
- Sep 15, 2008, 11:11:16 AM (16 years ago)
- Location:
- code/trunk/src
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/core/Executor.cc
r1747 r1786 130 130 } 131 131 132 Executor& Executor::setDescriptionParam( int param, const std::string& description)132 Executor& Executor::setDescriptionParam(unsigned int param, const std::string& description) 133 133 { 134 134 if (param >= 0 && param < MAX_FUNCTOR_ARGUMENTS) … … 148 148 } 149 149 150 const std::string& Executor::getDescriptionParam( int param) const150 const std::string& Executor::getDescriptionParam(unsigned int param) const 151 151 { 152 152 if (param >= 0 && param < MAX_FUNCTOR_ARGUMENTS) -
code/trunk/src/core/Executor.h
r1747 r1786 163 163 const std::string& getDescription() const; 164 164 165 Executor& setDescriptionParam( int param, const std::string& description);166 const std::string& getDescriptionParam( int param) const;165 Executor& setDescriptionParam(unsigned int param, const std::string& description); 166 const std::string& getDescriptionParam(unsigned int param) const; 167 167 168 168 Executor& setDescriptionReturnvalue(const std::string& description); -
code/trunk/src/core/Functor.h
r1784 r1786 39 39 namespace orxonox 40 40 { 41 const int MAX_FUNCTOR_ARGUMENTS = 5;41 const unsigned int MAX_FUNCTOR_ARGUMENTS = 5; 42 42 43 43 enum FunctionType -
code/trunk/src/core/TclThreadManager.cc
r1784 r1786 46 46 namespace orxonox 47 47 { 48 const int TCLTHREADMANAGER_MAX_QUEUE_LENGTH = 100;49 const int TCLTHREADMANAGER_MAX_CPU_USAGE = 0.50;48 const unsigned int TCLTHREADMANAGER_MAX_QUEUE_LENGTH = 100; 49 const float TCLTHREADMANAGER_MAX_CPU_USAGE = 0.50f; 50 50 51 51 SetConsoleCommandShortcutAlias(TclThreadManager, execute, "tclexecute").argumentCompleter(0, autocompletion::tclthreads()); -
code/trunk/src/ois/linux/LinuxKeyboard.cpp
r1505 r1786 283 283 } 284 284 285 for( int i = 1; i < len; i++)285 for(unsigned int i = 1; i < len; i++) 286 286 val = (val << 6) | (buf[i] & 0x3F); 287 287
Note: See TracChangeset
for help on using the changeset viewer.