modules/planning/tasks/traffic_decider/stop_sign.cc
/**
 * @brief: update drop box with watch vehicles
 */
@brief: update drop box with watch vehicles
@brief : update drop box with watch vehicles
int StopSign::UpdateWatchVehicles(StopSignLaneVehicles* watch_vehicles) {
  for (StopSignLaneVehicles::iterator it = watch_vehicles->begin();
      it != watch_vehicles->end(); ++it) {
    std::string associate_lane_id = it->first;
    std::string db_key_watch_vehicle =
        db_key_stop_sign_watch_vehicle_prefix_ + associate_lane_id;
    Dropbox<std::vector<std::string>>::Open()->Set(
        db_key_watch_vehicle, it->second);
  }
  return 0;
}
int StopSign :: UpdateWatchVehicles ( StopSignLaneVehicles * watch_vehicles ) { for ( StopSignLaneVehicles :: iterator it = watch_vehicles -> begin ( ) ; it != watch_vehicles -> end ( ) ; ++ it ) { std :: string associate_lane_id = it -> first ; std :: string db_key_watch_vehicle = db_key_stop_sign_watch_vehicle_prefix_ + associate_lane_id ; Dropbox < std :: vector < std :: string > > :: Open ( ) -> Set ( db_key_watch_vehicle , it -> second ) ; } return 0 ; }
@brief: update drop box with watch vehicles
@brief : update drop box with watch vehicles