Changeset 4739 in orxonox.OLD for orxonox/trunk/src/util/loading/factory.h
- Timestamp:
- Jun 30, 2005, 4:05:23 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/util/loading/factory.h
r4730 r4739 46 46 47 47 virtual BaseObject* fabricate(const TiXmlElement* root) = NULL; 48 void initialize(); 49 void registerFactory( Factory* factory);48 49 static void registerFactory( Factory* factory); 50 50 /** \brief sets the Next factory in the list \param nextFactory the next factory */ 51 51 inline void setNext( Factory* nextFactory) { this->next = nextFactory; }; 52 52 /** \returns the first factory */ 53 static Factory* getFirst( void) { return Factory::first; };53 static Factory* getFirst() { return Factory::first; }; 54 54 /** \returns the next factory */ 55 55 Factory* getNext(void) const { return this->next; }; 56 56 57 57 58 private: 59 Factory* next; //!< pointer to the next factory. 60 static Factory* first; //!< A pointer to the first factory. 58 private: 59 60 private: 61 Factory* next; //!< pointer to the next factory. 62 static Factory* first; //!< A pointer to the first factory. 61 63 }; 62 64
Note: See TracChangeset
for help on using the changeset viewer.