Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5161 in orxonox.OLD for trunk/src/util/loading/factory.cc


Ignore:
Timestamp:
Sep 5, 2005, 10:19:44 PM (20 years ago)
Author:
bensch
Message:

orxonox/trunk: better method to register Shell-Commands (now via the Factory-algorithm proposed)

BUT!! NOW ONLY SINGLETON IS SUPPORTED → fixing!!

File:
1 edited

Legend:

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

    r5156 r5161  
    7171  {
    7272    Factory::first = factory;
    73     ShellCommand<Factory>::registerCommand("create", CL_FACTORY, &Factory::fabricate);
     73    ShellCommand<Factory>::registerCommand("create", "Factory", &Factory::fabricate);
    7474  }
    7575  else
Note: See TracChangeset for help on using the changeset viewer.