Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 3, 2005, 1:21:05 AM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: track: doxy-tags, redesign, and minor speed-update

File:
1 edited

Legend:

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

    r4320 r4489  
    148148   \brief checks if there are any BackLoops in the Track (Backloops only
    149149   \param trackElem the trackElement to check about
     150   \param depth the depth to search in
    150151   \returns true if NO loop was found, false Otherwise
    151152   You actually have to act on false!!
    152153   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
    153156*/
    154157bool TrackElement::backLoopCheck(const TrackElement* trackElem, unsigned int depth) const
     
    177180
    178181/**
    179    \param childNumber which child to return
     182   \param childCount which child to return
    180183   \returns the n-the children (starting at 0).
    181184   Be aware, that when the trackElement has no Children, NULL will be returned
     
    217220
    218221/**
    219    \returns The name of this TrackElement
    220 */
    221 const char* TrackElement::getName(void) const
    222 {
    223   return this->name;
    224 }
    225 
    226 /**
    227222   \brief prints out debug information about this TrackElement
    228223*/
     
    404399   \param root the TiXmlElement to load the Data from
    405400*/
    406 bool TrackManager::load( TiXmlElement* root)
     401bool TrackManager::loadParams( TiXmlElement* root)
    407402{
    408403  TiXmlElement* element;
     
    489484}
    490485
    491 
    492 
    493486/**
    494487   \brief standard destructor
     
    509502//! Singleton Reference to TrackManager
    510503TrackManager* 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 
    524504
    525505// INITIALIZE //
     
    655635   \brief adds save/splitpoint.
    656636   \param newPoint The point to add.
     637   \param trackElem if supplied it will add a hotpoint on this TrackElement
    657638   \returns A Pointer to a newly appended Curve
    658639*/
     
    721702
    722703/**
    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
    724706   \see TrackManager::fork(unsigned int count, ...)
    725707
     
    760742   \param count The Count of childrens the current HotPoint will have.
    761743   \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
    762745   \param trackElem The TrackElement to appy this to. (if NULL choose this->currentTrackElement)
    763746   \see TrackManager::fork(unsigned int count, ...)
Note: See TracChangeset for help on using the changeset viewer.