Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 4508 in orxonox.OLD for orxonox/trunk/src/util/track/track_manager.h


Ignore:
Timestamp:
Jun 4, 2005, 2:29:11 PM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: implemented a better backloop-check in the track-system
also implemented a new function in tList: inList() that returns tru, if a certain element is already in the List and false otherwise

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/util/track/track_manager.h

    r4502 r4508  
    4848  TrackElement* findByID(unsigned int trackID);
    4949  TrackElement* findByName(const char* trackName);
    50   bool backLoopCheck(const TrackElement* trackElem, unsigned int depth = 0) const;
     50  bool backLoopCheck(void) const;
    5151
    5252  TrackElement* getChild(int childNumber) const;
     
    5555  inline const char* getName(void) const { return this->name; };
    5656
    57 
     57 private:
     58  bool backLoopCheckAtomic(tList<const TrackElement>* trackList) const;
     59
     60 public:
    5861  // atributes
    5962  bool                  isFresh;              //!< If no Points where added until now
Note: See TracChangeset for help on using the changeset viewer.