Changeset 4947 in orxonox.OLD for orxonox/trunk/src/util
- Timestamp:
- Jul 23, 2005, 11:17:27 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/util/fast_factory.h
r4941 r4947 64 64 65 65 /** @returns the first FastFactory */ 66 static FastFactory* getFirst() 67 { 68 return FastFactory::first; 69 }; 66 inline static FastFactory* getFirst() { return FastFactory::first; }; 67 68 static FastFactory* searchFastFactory(ClassID classID, const char* fastFactoryName = NULL); 70 69 71 70 protected: … … 73 72 74 73 /** sets the Next factory in the list @param nextFactory the next factory */ 75 inline void setNext( FastFactory* nextFastFactory) 76 { 77 this->next = nextFastFactory; 78 }; 74 inline void setNext( FastFactory* nextFastFactory) { this->next = nextFastFactory; }; 79 75 /** @returns the next FastFactory */ 80 FastFactory* getNext() const 81 { 82 return this->next; 83 }; 76 FastFactory* getNext() const { return this->next; }; 84 77 85 78 /** generates a new Object of the Class T */ 86 79 virtual void fabricate() = NULL; 87 static FastFactory* searchFastFactory(ClassID classID, const char* fastFactoryName = NULL);88 80 89 81 private:
Note: See TracChangeset
for help on using the changeset viewer.