ns-allinone-2.35/nam-1.15/trafficsource.cc
void 
TrafficSource::placeNextTo(TrafficSource * neighbor)  {
  if (neighbor) {
    x_ = neighbor->x() + neighbor->width(); 
    y_ = neighbor->y(); 
    update_bb();
  }
}
//----------------------------------------------------------------------
// void 
// TrafficSource::placeNextTo(TrafficSource * neighbor)
//   - Place this traffic source to the right of its neighbor
//----------------------------------------------------------------------
void
TrafficSource::placeNextTo(TrafficSource * neighbor)
Place this traffic source to the right of its neighbor
void TrafficSource :: placeNextTo ( TrafficSource * neighbor ) Place this traffic source to the right of its neighbor
void 
TrafficSource::placeNextTo(TrafficSource * neighbor)  {
  if (neighbor) {
    x_ = neighbor->x() + neighbor->width(); 
    y_ = neighbor->y(); 
    update_bb();
  }
}
void TrafficSource :: placeNextTo ( TrafficSource * neighbor ) { if ( neighbor ) { x_ = neighbor -> x ( ) + neighbor -> width ( ) ; y_ = neighbor -> y ( ) ; update_bb ( ) ; } }
void
TrafficSource::placeNextTo(TrafficSource * neighbor)
 Place this traffic source to the right of its neighbor
void TrafficSource :: placeNextTo ( TrafficSource * neighbor ) Place this traffic source to the right of its neighbor