Changeset 9703 in orxonox.OLD for branches/new_class_id/src/util/fast_factory.cc
- Timestamp:
- Aug 25, 2006, 12:11:45 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/new_class_id/src/util/fast_factory.cc
r9406 r9703 22 22 23 23 24 25 /** 26 * Initializes a FastFactory 24 NewObjectListDefinition(FastFactory); 25 26 /** 27 * @brief Initializes a FastFactory 27 28 * @param classID the ClassID this Class belongs to (the top-most) 28 29 * @param fastFactoryName the Name of the ObjectClass-handled here 29 30 * @return a new FastFactory 30 31 */ 31 FastFactory::FastFactory ( ClassIDclassID, const std::string& fastFactoryName)32 { 33 this-> setClassID(CL_FAST_FACTORY, "FastFactory");32 FastFactory::FastFactory (const NewClassID& classID, const std::string& fastFactoryName) 33 { 34 this->registerObject(this, FastFactory::_objectList); 34 35 this->setName(fastFactoryName); 35 36 … … 97 98 * @returns true if found, false otherwise. 98 99 */ 99 FastFactory* FastFactory::searchFastFactory( ClassIDclassID)100 FastFactory* FastFactory::searchFastFactory(const NewClassID& classID) 100 101 { 101 102 if (FastFactory::first == NULL) … … 228 229 * @return the Object to resurrect, NULL if classID is not found. 229 230 */ 230 BaseObject* FastFactory::resurrect( ClassIDclassID)231 BaseObject* FastFactory::resurrect(const NewClassID& classID) 231 232 { 232 233 FastFactory* tmpFac = FastFactory::getFirst();
Note: See TracChangeset
for help on using the changeset viewer.