Changeset 9727 in orxonox.OLD for branches/new_class_id/src/lib/util/executor/executor.cc
- Timestamp:
- Sep 14, 2006, 5:24:31 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/new_class_id/src/lib/util/executor/executor.cc
r9715 r9727 19 19 20 20 21 ObjectListDefinition(Executor );21 ObjectListDefinition(ExecutorBase); 22 22 23 23 /** … … 27 27 * @param paramCount the count of parameters this command takes 28 28 */ 29 Executor::Executor(const MultiType& param0, 30 const MultiType& param1, 31 const MultiType& param2, 32 const MultiType& param3, 33 const MultiType& param4, 34 const MultiType& param5, 35 const MultiType& param6) 29 ExecutorBase::ExecutorBase(bool hasRetVal, 30 const MultiType& param0, 31 const MultiType& param1, 32 const MultiType& param2, 33 const MultiType& param3, 34 const MultiType& param4, 35 const MultiType& param5, 36 const MultiType& param6) 37 : bRetVal(hasRetVal) 36 38 { 37 this->registerObject(this, Executor ::_objectList);39 this->registerObject(this, ExecutorBase::_objectList); 38 40 39 41 // What Parameters have we got … … 58 60 59 61 /** 60 * deconstructs a Executor 62 * clones this element into executor. 63 * @param executor the Executor to clone 61 64 */ 62 Executor::~Executor() 63 {} 64 65 /** 66 * clones this element into executor. 67 */ 68 void Executor::cloning(Executor* executor) const 65 void ExecutorBase::cloning(ExecutorBase* executor) const 69 66 { 70 67 executor->functorType = this->functorType; … … 83 80 * @returns itself 84 81 */ 85 Executor* Executor::defaultValues(const MultiType& value0,82 void ExecutorBase::defaultValues(const MultiType& value0, 86 83 const MultiType& value1, 87 84 const MultiType& value2, … … 91 88 const MultiType& value6) 92 89 { 93 if (this == NULL)94 return NULL;95 96 90 const MultiType* value[5]; 97 91 value[0] = &value0; … … 109 103 } 110 104 } 111 return this;112 105 } 113 106 … … 115 108 * @brief prints out nice information about the Executor 116 109 */ 117 void Executor ::debug()110 void ExecutorBase::debug() 118 111 { 119 120 112 }
Note: See TracChangeset
for help on using the changeset viewer.