Changeset 2084 for code/branches/objecthierarchy/src/core/CoreIncludes.h
- Timestamp:
- Nov 1, 2008, 2:51:02 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/objecthierarchy/src/core/CoreIncludes.h
r2034 r2084 46 46 #include "Factory.h" 47 47 #include "ClassFactory.h" 48 #include "Functor.h" 48 49 #include "util/Debug.h" 49 50 … … 128 129 orxonox::Factory::getIdentifier(networkID) 129 130 131 /** 132 @brief Registers a member function as callback when an object of 'type' is created. 133 @param 134 */ 135 #define RegisterConstructionCallback(ThisClassName, TargetClassName, FunctionName) \ 136 orxonox::ClassIdentifier<TargetClassName>::getIdentifier()->addConstructionCallback( \ 137 createFunctor(&ThisClassName::FunctionName)->setObject(this)) 138 130 139 #endif /* _CoreIncludes_H__ */
Note: See TracChangeset
for help on using the changeset viewer.