Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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


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

trunk: output of EventListener Nicer

Location:
trunk/src/lib/util
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lib/util/file.h

    r7661 r8148  
    2828  File(const std::string& fileName);
    2929  File(const File& file);
    30   ~File();
     30  virtual ~File();
    3131  void setFileName(const std::string& fileName);
    3232  File& operator=(const std::string& fileName);
  • 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.