Changeset 9748 in orxonox.OLD for branches/new_class_id/src/lib/util/executor/executor.h
- Timestamp:
- Sep 16, 2006, 10:09:59 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/new_class_id/src/lib/util/executor/executor.h
r9737 r9748 16 16 17 17 18 18 /** @returns the Type of an Argument taken by the Executor */ 19 19 template<typename type> MT_Type ExecutorParamType() { return MT_EXT1; }; 20 20 template<> MT_Type ExecutorParamType<bool>(); … … 66 66 inline bool hasRetVal() const { return bRetVal; }; 67 67 68 /** executes a Command. @param objec the Object, @param count how many values, @param values the Values*/68 /** executes a Command. @param object the Object, @param values The Value of type CallType to pass to the Executor. */ 69 69 virtual void operator()(BaseClass* object, CallType& values) const = 0; 70 70 … … 76 76 * @param value3 the fourth default value 77 77 * @param value4 the fifth default value 78 * @param value5 the sixth default value 79 * @param value6 the seventh default value 78 80 * @returns itself 79 81 * @note: THIS FUNCTION WILL BE REPLACED BY A CONFIGURATOR (most probably). … … 109 111 protected: 110 112 //! Now follows a List of Executor Constructors, to be fast in creating. 113 //! Creates an Executor with no Argument. 111 114 Executor(bool hasRetVal, FunctionType functionType = FunctionMember) 112 115 : bRetVal(hasRetVal), paramCount(0), functionType(functionType) 113 116 { }; 114 117 118 //! Creates an Executor with 1 Argument. 115 119 Executor(bool hasRetVal, const MultiType& param0, 116 120 FunctionType functionType = FunctionMember) … … 120 124 }; 121 125 126 //! Creates an Executor with 2 Arguments. 122 127 Executor(bool hasRetVal, const MultiType& param0, const MultiType& param1, 123 128 FunctionType functionType = FunctionMember) … … 128 133 }; 129 134 135 //! Creates an Executor with 3 Arguments. 130 136 Executor(bool hasRetVal, const MultiType& param0, const MultiType& param1, 131 137 const MultiType& param2, … … 138 144 }; 139 145 146 //! Creates an Executor with 4 Arguments. 140 147 Executor(bool hasRetVal, const MultiType& param0, const MultiType& param1, 141 148 const MultiType& param2, const MultiType& param3, … … 149 156 }; 150 157 158 //! Creates an Executor with 5 Arguments. 151 159 Executor(bool hasRetVal, const MultiType& param0, const MultiType& param1, 152 160 const MultiType& param2, const MultiType& param3, … … 162 170 }; 163 171 172 //! Creates an Executor with 6 Arguments. 164 173 Executor(bool hasRetVal, const MultiType& param0, const MultiType& param1, 165 174 const MultiType& param2, const MultiType& param3, … … 176 185 }; 177 186 187 //! Creates an Executor with 7 Arguments. 178 188 Executor(bool hasRetVal, const MultiType& param0, const MultiType& param1, 179 189 const MultiType& param2, const MultiType& param3,
Note: See TracChangeset
for help on using the changeset viewer.