Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 8148 in orxonox.OLD for trunk/src/lib/util/loading


Ignore:
Timestamp:
Jun 5, 2006, 12:46:02 PM (18 years ago)
Author:
bensch
Message:

trunk: output of EventListener Nicer

Location:
trunk/src/lib/util/loading
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lib/util/loading/factory.cc

    r7676 r8148  
    2929 */
    3030Factory::Factory (const std::string& factoryName, ClassID classID)
    31   : className(factoryName), classID(classID)
     31  : classID(classID), className(factoryName)
    3232{
    3333  this->setClassID(CL_FACTORY, "Factory");
  • trunk/src/lib/util/loading/factory.h

    r7221 r8148  
    3636#define CREATE_FACTORY(CLASS_NAME, CLASS_ID) \
    3737    tFactory<CLASS_NAME>* global_##CLASS_NAME##_Factory = new tFactory<CLASS_NAME>(#CLASS_NAME, CLASS_ID)
    38 
    39 // #define CREATE_DYNAMIC_FACTORY(CLASS_NAME, CLASS_ID) \
    40 //     tFactory<CLASS_NAME>* global_##CLASS_NAME##_Dynamic_Factory = new DynamicLoader<CLASS_NAME>(#CLASS_NAME, CLASS_ID)
    4138
    4239//! The Factory is a loadable object handler
Note: See TracChangeset for help on using the changeset viewer.