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