Changeset 4489 in orxonox.OLD for orxonox/trunk/src/util/track/track_manager.cc
- Timestamp:
- Jun 3, 2005, 1:21:05 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/util/track/track_manager.cc
r4320 r4489 148 148 \brief checks if there are any BackLoops in the Track (Backloops only 149 149 \param trackElem the trackElement to check about 150 \param depth the depth to search in 150 151 \returns true if NO loop was found, false Otherwise 151 152 You actually have to act on false!! 152 153 it simply does this by looking if the current trackElem is found again somewhere else in the Track 154 155 \todo this has to be reimplemented 153 156 */ 154 157 bool TrackElement::backLoopCheck(const TrackElement* trackElem, unsigned int depth) const … … 177 180 178 181 /** 179 \param child Numberwhich child to return182 \param childCount which child to return 180 183 \returns the n-the children (starting at 0). 181 184 Be aware, that when the trackElement has no Children, NULL will be returned … … 217 220 218 221 /** 219 \returns The name of this TrackElement220 */221 const char* TrackElement::getName(void) const222 {223 return this->name;224 }225 226 /**227 222 \brief prints out debug information about this TrackElement 228 223 */ … … 404 399 \param root the TiXmlElement to load the Data from 405 400 */ 406 bool TrackManager::load ( TiXmlElement* root)401 bool TrackManager::loadParams( TiXmlElement* root) 407 402 { 408 403 TiXmlElement* element; … … 489 484 } 490 485 491 492 493 486 /** 494 487 \brief standard destructor … … 509 502 //! Singleton Reference to TrackManager 510 503 TrackManager* TrackManager::singletonRef = NULL; 511 512 /**513 \returns The reference on the TrackManager.514 515 If the TrackManager does not exist, it will be created.516 */517 TrackManager* TrackManager::getInstance(void)518 {519 if (!TrackManager::singletonRef)520 TrackManager::singletonRef = new TrackManager();521 return TrackManager::singletonRef;522 }523 524 504 525 505 // INITIALIZE // … … 655 635 \brief adds save/splitpoint. 656 636 \param newPoint The point to add. 637 \param trackElem if supplied it will add a hotpoint on this TrackElement 657 638 \returns A Pointer to a newly appended Curve 658 639 */ … … 721 702 722 703 /** 723 \param string the String to parse. 704 \param count how many children to produce 705 \param ... the information on the children (these are the Stings of their names 724 706 \see TrackManager::fork(unsigned int count, ...) 725 707 … … 760 742 \param count The Count of childrens the current HotPoint will have. 761 743 \param trackIDs A Pointer to an Array of ints which will hold the trackID's (the user will have to reserve space for this). 744 \param trackNames the names for the tracks as a char-arrey-array 762 745 \param trackElem The TrackElement to appy this to. (if NULL choose this->currentTrackElement) 763 746 \see TrackManager::fork(unsigned int count, ...)
Note: See TracChangeset
for help on using the changeset viewer.