Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 12, 2009, 1:46:26 PM (15 years ago)
Author:
rgrieder
Message:

Removing superfluous feature: construction callbacks.
If we ever need them again (which I highly doubt since you can achieve the same with an interface class), SVN is at our service.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/pch/src/core/CoreIncludes.h

    r2171 r3151  
    4646#include "Factory.h"
    4747#include "ClassFactory.h"
    48 #include "Functor.h"
    4948#include "util/Debug.h"
    5049
     
    129128    orxonox::Factory::getIdentifier(networkID)
    130129
    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         orxonox::createFunctor(&ThisClassName::FunctionName)->setObject(this))
    138 
    139130#endif /* _CoreIncludes_H__ */
Note: See TracChangeset for help on using the changeset viewer.