Changeset 9738 in orxonox.OLD for branches/new_class_id
- Timestamp:
- Sep 16, 2006, 12:44:02 PM (18 years ago)
- Location:
- branches/new_class_id/src/lib/util/executor
- Files:
-
- 1 edited
- 2 copied
Legend:
- Unmodified
- Added
- Removed
-
branches/new_class_id/src/lib/util/executor/executor_const_member.h
r9737 r9738 25 25 26 26 //! The Name to be attached to the functional (for normal, static, and const modes) 27 #define __EXECUTOR_FUNCTIONAL_NAME(ParamCount) Executor##ParamCount##Params 27 #define __EXECUTOR_FUNCTIONAL_NAME(ParamCount) Executor##ParamCount##Params_const 28 28 29 29 //! if Functional is constant calling 30 #define __EXECUTOR_FUNCTIONAL_CONST 30 #define __EXECUTOR_FUNCTIONAL_CONST const 31 31 //! The Execution-mode (either static or objective) 32 32 #define __EXECUTOR_FUNCTIONAL_FUNCTION_EXEC dynamic_cast<T*>(object)->*(functionPointer) … … 34 34 #define __EXECUTOR_FUNCTIONAL_FUNCTION_POINTER T::*functionPointer 35 35 //! The Type of Function 36 #define __EXECUTOR_FUNCTIONAL_FUNCTIONTYPE Executor<CallType, BaseClass>::Function Default36 #define __EXECUTOR_FUNCTIONAL_FUNCTIONTYPE Executor<CallType, BaseClass>::FunctionConstMember 37 37 38 38 -
branches/new_class_id/src/lib/util/executor/executor_functional.h
r9737 r9738 127 127 #endif 128 128 #undef __EXECUTOR_FUNCTIONAL_CONST 129 #define __EXECUTOR_FUNCTIONAL_CONST const129 #define __EXECUTOR_FUNCTIONAL_CONST const 130 130 #undef __EXECUTOR_FUNCTIONAL_FUNCTIONTYPE 131 131 #define __EXECUTOR_FUNCTIONAL_FUNCTIONTYPE Executor<CallType, BaseClass>::FunctionConstMember 132 132 #undef __EXECUTOR_FUNCTIONAL_NAME 133 #define __EXECUTOR_FUNCTIONAL_NAME(ParamCount) Executor##ParamCount##Params_const133 #define __EXECUTOR_FUNCTIONAL_NAME(ParamCount) Executor##ParamCount##Params_const 134 134 //#endif /* EXECUTOR_FUNCTIONAL_USE_CONST */ 135 135 -
branches/new_class_id/src/lib/util/executor/executor_static.h
r9737 r9738 25 25 26 26 //! The Name to be attached to the functional (for normal, static, and const modes) 27 #define __EXECUTOR_FUNCTIONAL_NAME(ParamCount) Executor##ParamCount##Params 27 #define __EXECUTOR_FUNCTIONAL_NAME(ParamCount) Executor##ParamCount##Params_static 28 28 29 29 //! if Functional is constant calling 30 30 #define __EXECUTOR_FUNCTIONAL_CONST 31 31 //! The Execution-mode (either static or objective) 32 #define __EXECUTOR_FUNCTIONAL_FUNCTION_EXEC dynamic_cast<T*>(object)->*(functionPointer)32 #define __EXECUTOR_FUNCTIONAL_FUNCTION_EXEC functionPointer 33 33 //! The Function-Pointer, and how to save it internally. 34 #define __EXECUTOR_FUNCTIONAL_FUNCTION_POINTER T::*functionPointer34 #define __EXECUTOR_FUNCTIONAL_FUNCTION_POINTER *functionPointer 35 35 //! The Type of Function 36 #define __EXECUTOR_FUNCTIONAL_FUNCTIONTYPE Executor<CallType, BaseClass>::Function Default36 #define __EXECUTOR_FUNCTIONAL_FUNCTIONTYPE Executor<CallType, BaseClass>::FunctionStatic 37 37 38 38
Note: See TracChangeset
for help on using the changeset viewer.