Changeset 7994 in orxonox.OLD for branches/gui/src/lib/util/executor
- Timestamp:
- May 30, 2006, 9:54:28 PM (19 years ago)
- Location:
- branches/gui/src/lib/util/executor
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/gui/src/lib/util/executor/executor.h
r7985 r7994 42 42 43 43 virtual Executor* clone () const = 0; 44 // virtual bool operator==(const Executor* executor) const = 0; 44 45 45 46 // SETTING up the EXECUTOR … … 51 52 52 53 // EXECUTE 54 /** executes a Command. @param objec the Object, @param count how many values, @param values the Values */ 53 55 virtual void operator()(BaseObject* object, unsigned int count, const MultiType* values) const = 0; 54 55 56 /** executes a Command @param object the object to apply this to @param parameters the parameters the command takes */ 56 57 virtual void operator()(BaseObject* object, const SubString& sub = SubString()) const = 0; -
branches/gui/src/lib/util/executor/executor_functional.cc
r7985 r7994 40 40 template<> float fromMulti<float>(const MultiType& multi) { return multi.getFloat(); }; 41 41 template<> char fromMulti<char>(const MultiType& multi) { return multi.getChar(); }; 42 template<> const std::string& fromMulti<const std::string&>(const MultiType& multi) { return multi.get String(); };42 template<> const std::string& fromMulti<const std::string&>(const MultiType& multi) { return multi.getConstString(); }; 43 43 44 44 -
branches/gui/src/lib/util/executor/executor_functional.h
r7990 r7994 122 122 }; 123 123 124 /** executes a Command. @param objec the Object, @param count how many values, @param values the Values */ 124 125 virtual void operator()(BaseObject* object, unsigned int count, const MultiType* values) const 125 126 { … … 161 162 }; 162 163 164 /** executes a Command. @param objec the Object, @param count how many values, @param values the Values */ 163 165 virtual void operator()(BaseObject* object, unsigned int count, const MultiType* values) const 164 166 { … … 223 225 }; 224 226 227 /** executes a Command. @param objec the Object, @param count how many values, @param values the Values */ 225 228 virtual void operator()(BaseObject* object, unsigned int count, const MultiType* values) const 226 229 { … … 276 279 }; 277 280 281 /** executes a Command. @param objec the Object, @param count how many values, @param values the Values */ 278 282 virtual void operator()(BaseObject* object, unsigned int count, const MultiType* values) const 279 283 { … … 332 336 }; 333 337 338 /** executes a Command. @param objec the Object, @param count how many values, @param values the Values */ 334 339 virtual void operator()(BaseObject* object, unsigned int count, const MultiType* values) const 335 340 { … … 390 395 }; 391 396 397 /** executes a Command. @param objec the Object, @param count how many values, @param values the Values */ 392 398 virtual void operator()(BaseObject* object, unsigned int count, const MultiType* values) const 393 399 {
Note: See TracChangeset
for help on using the changeset viewer.