Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 9691 in orxonox.OLD for branches/new_class_id/src/lib/util


Ignore:
Timestamp:
Aug 22, 2006, 11:45:21 PM (18 years ago)
Author:
bensch
Message:

new_class_id: adapted Network

Location:
branches/new_class_id/src/lib/util/loading
Files:
2 edited

Legend:

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

    r9686 r9691  
    165165  return NULL;
    166166}
     167
     168
     169/**
     170 * @brief Creates a new Object of type classID
     171 * @param classID the ClassID to match for the newly created Object
     172 * @returns a new Object of Type classID on match, NULL otherwise
     173 */
     174BaseObject* Factory::fabricate(const NewClassID& classID)
     175{
     176  Factory::fabricate(classID.id());
     177}
  • branches/new_class_id/src/lib/util/loading/factory.h

    r9686 r9691  
    4747
    4848  static  BaseObject* fabricate(const std::string& className);
     49  static  BaseObject* fabricate(const NewClassID& classID);
    4950  static  BaseObject* fabricate(int classID);
    5051  static  BaseObject* fabricate(const TiXmlElement* root = NULL);
Note: See TracChangeset for help on using the changeset viewer.