Changeset 4939 in orxonox.OLD for orxonox/trunk/src/util/object_manager.h
- Timestamp:
- Jul 23, 2005, 12:15:03 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/util/object_manager.h
r4938 r4939 60 60 static BaseObject* resurrect(ClassID classID); 61 61 void kill(BaseObject* object); 62 static void kill(BaseObject* object, ClassID classID);62 static void kill(BaseObject* object, bool searchForFastFactory); 63 63 64 64 void prepare(unsigned int count); … … 80 80 FastFactory* getNext() const { return this->next; }; 81 81 82 // virtual BaseObject* fabricate(ClassID classID) = NULL; 82 /** generates a new Object of the Class T */ 83 83 virtual void fabricate() = NULL; 84 84 static FastFactory* searchFastFactory(ClassID classID, const char* fastFactoryName = NULL); … … 119 119 * @param fastFactoryName the name of the FastFactory 120 120 * @param fastFactory the ID of the class 121 * @todo (can this be written in another form??) 121 122 */ 122 123 template<class T> … … 126 127 } 127 128 129 /** 130 * creates (if not existent) a Factory of Class T, and assigns some values to it 131 * @param classID the ClassID to assign to this class 132 * @param fastFactoryName the name to assign 133 * @returns The FastFactory if existent a new Factory if not. 134 */ 128 135 template<class T> 129 136 tFastFactory<T>* tFastFactory<T>::getFastFactory(ClassID classID, const char* fastFactoryName) … … 140 147 141 148 149 /** 150 * fabricates an Object of Class T, that corresponds to classID. 151 */ 142 152 template<class T> 143 153 void tFastFactory<T>::fabricate()
Note: See TracChangeset
for help on using the changeset viewer.