Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 10, 2008, 4:28:26 PM (15 years ago)
Author:
chpeter
Message:

added fct pri- and pubRemoveClient to help remove Info in lists when client is gone

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/presentation/src/network/TrafficControl.cc

    r2382 r2387  
    398398    }
    399399  }
    400 
     400 
     401  void TrafficControl::priRemoveClient(int clientID)
     402  {
     403    assert(clientListTemp_.find(clientID) != clientListTemp_.end() );
     404    assert(clientListPerm_.find(clientID) != clientListPerm_.end() );
     405    clientListTemp_.erase(clientListTemp_.find(clientID));
     406    clientListPerm_.erase(clientListPerm_.find(clientID));
     407  }
     408  void TrafficControl::pubRemoveClient(int clientID)
     409  {
     410    priRemoveClient(clientID);
     411  }
    401412
    402413/*
Note: See TracChangeset for help on using the changeset viewer.