Changeset 9737 in orxonox.OLD for branches/new_class_id/src/lib/util/executor/executor.h
- Timestamp:
- Sep 16, 2006, 12:39:23 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/new_class_id/src/lib/util/executor/executor.h
r9735 r9737 44 44 //! an enumerator for the definition of the Type. 45 45 typedef enum { 46 Function Default,//!< The function is neither Static nor Constant46 FunctionMember, //!< The function is neither Static nor Constant 47 47 FunctionStatic, //!< The Function is Static and pointing to either a Static Member or a C-style function. 48 FunctionConst ,//!< The Function is Constant and pointing to a Member that does not change the Object.48 FunctionConstMember, //!< The Function is Constant and pointing to a Member that does not change the Object. 49 49 } FunctionType; 50 50 … … 109 109 protected: 110 110 //! Now follows a List of Executor Constructors, to be fast in creating. 111 Executor(bool hasRetVal, FunctionType functionType = Function Default)111 Executor(bool hasRetVal, FunctionType functionType = FunctionMember) 112 112 : bRetVal(hasRetVal), paramCount(0), functionType(functionType) 113 113 { }; 114 114 115 115 Executor(bool hasRetVal, const MultiType& param0, 116 FunctionType functionType = Function Default)116 FunctionType functionType = FunctionMember) 117 117 : bRetVal(hasRetVal), paramCount(1), functionType(functionType) 118 118 { … … 121 121 122 122 Executor(bool hasRetVal, const MultiType& param0, const MultiType& param1, 123 FunctionType functionType = Function Default)123 FunctionType functionType = FunctionMember) 124 124 : bRetVal(hasRetVal), paramCount(2), functionType(functionType) 125 125 { … … 130 130 Executor(bool hasRetVal, const MultiType& param0, const MultiType& param1, 131 131 const MultiType& param2, 132 FunctionType functionType = Function Default)132 FunctionType functionType = FunctionMember) 133 133 : bRetVal(hasRetVal), paramCount(3), functionType(functionType) 134 134 { … … 140 140 Executor(bool hasRetVal, const MultiType& param0, const MultiType& param1, 141 141 const MultiType& param2, const MultiType& param3, 142 FunctionType functionType = Function Default)142 FunctionType functionType = FunctionMember) 143 143 : bRetVal(hasRetVal), paramCount(4), functionType(functionType) 144 144 { … … 152 152 const MultiType& param2, const MultiType& param3, 153 153 const MultiType& param4, 154 FunctionType functionType = Function Default)154 FunctionType functionType = FunctionMember) 155 155 : bRetVal(hasRetVal), paramCount(5), functionType(functionType) 156 156 { … … 165 165 const MultiType& param2, const MultiType& param3, 166 166 const MultiType& param4, const MultiType& param5, 167 FunctionType functionType = Function Default)167 FunctionType functionType = FunctionMember) 168 168 : bRetVal(hasRetVal), paramCount(6), functionType(functionType) 169 169 { … … 180 180 const MultiType& param4, const MultiType& param5, 181 181 const MultiType& param6, 182 FunctionType functionType = Function Default)182 FunctionType functionType = FunctionMember) 183 183 : bRetVal(hasRetVal), paramCount(7), functionType(functionType) 184 184 {
Note: See TracChangeset
for help on using the changeset viewer.