Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5115 in orxonox.OLD for trunk/src/util/track


Ignore:
Timestamp:
Aug 24, 2005, 1:30:13 AM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: reimplemented the list functions, as i did before in revision 5110.
This time, i looked out for the bugs, and i think i found one

@patrick: i know, that you do not want to code at the moment… :/ → see mail

File:
1 edited

Legend:

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

    r5111 r5115  
    7979    {
    8080      tIterator<TrackElement>* iterator = this->children->getIterator();
    81       TrackElement* enumElem = iterator->nextElement();
     81      TrackElement* enumElem = iterator->firstElement();
    8282      while (enumElem)
    8383        {
     
    104104    {
    105105      tIterator<TrackElement>* iterator = this->children->getIterator();
    106       TrackElement* enumElem = iterator->nextElement();
     106      TrackElement* enumElem = iterator->firstElement();
    107107      TrackElement* tmpElem;
    108108      while (enumElem)
     
    133133    {
    134134      tIterator<TrackElement>* iterator = this->children->getIterator();
    135       TrackElement* enumElem = iterator->nextElement();
     135      TrackElement* enumElem = iterator->firstElement();
    136136      TrackElement* tmpElem;
    137137      while (enumElem)
     
    179179    {
    180180      tIterator<TrackElement>* iterator = this->children->getIterator();
    181       TrackElement* enumElem = iterator->nextElement();
     181      TrackElement* enumElem = iterator->firstElement();
    182182      while (enumElem)
    183183        {
     
    206206
    207207  tIterator<TrackElement>* iterator = this->children->getIterator();
    208   TrackElement* enumElem = iterator->nextElement();
     208  TrackElement* enumElem = iterator->firstElement();
    209209  for (int i = 0; i < childCount; i++)
    210210    enumElem = iterator->nextElement();
     
    234234      //TrackElement* enumElem = this->children->enumerate();
    235235      tIterator<TrackElement>* iterator = this->children->getIterator();
    236       TrackElement* enumElem = iterator->nextElement();
     236      TrackElement* enumElem = iterator->firstElement();
    237237      while (enumElem)
    238238        {
     
    331331  //TrackElement* enumElem = this->children->enumerate();
    332332  tIterator<TrackElement>* iterator = this->children->getIterator();
    333   TrackElement* enumElem = iterator->nextElement();
     333  TrackElement* enumElem = iterator->firstElement();
    334334  while (enumElem)
    335335    {
     
    975975      //TrackElement* enumElem = firstJoint->children->enumerate();
    976976      tIterator<TrackElement>* iterator = firstJoint->children->getIterator();
    977       TrackElement* enumElem = iterator->nextElement();
     977      TrackElement* enumElem = iterator->firstElement();
    978978      while (enumElem)
    979979        {
     
    10011001        {
    10021002          tIterator<TrackElement>* iterator = tmpElem->children->getIterator();
    1003           TrackElement* enumElem = iterator->nextElement();
     1003          TrackElement* enumElem = iterator->firstElement();
    10041004          //TrackElement* enumElem = tmpElem->children->enumerate();
    10051005          while (enumElem)
Note: See TracChangeset for help on using the changeset viewer.