Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 4932 in orxonox.OLD for orxonox/trunk/src/util/loading


Ignore:
Timestamp:
Jul 22, 2005, 12:08:51 PM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: factory optimisations

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/util/loading/factory.h

    r4885 r4932  
    4848
    4949  static void registerFactory( Factory* factory);
    50   /** sets the Next factory in the list @param nextFactory the next factory */
    51   inline void setNext( Factory* nextFactory) { this->next = nextFactory; };
    5250  /** @returns the first factory */
    5351  static Factory* getFirst() { return Factory::first; };
    54   /** @returns the next factory */
    55   Factory* getNext() const { return this->next; };
     52
     53  protected:
     54    /** sets the Next factory in the list @param nextFactory the next factory */
     55    inline void setNext( Factory* nextFactory) { this->next = nextFactory; };
     56    /** @returns the next factory */
     57    Factory* getNext() const { return this->next; };
    5658
    5759  private:
Note: See TracChangeset for help on using the changeset viewer.