Skip to content
Snippets Groups Projects
map_details.h 1.3 KiB
Newer Older
/*******************************************************************************
Andreas Rauschert's avatar
Andreas Rauschert committed
 * Copyright (c) 2021-2024, Bayerische Motoren Werke Aktiengesellschaft (BMW AG)
 *
 * This program and the accompanying materials are made
 * available under the terms of the Eclipse Public License 2.0
 * which is available at https://www.eclipse.org/legal/epl-2.0/
 *
 * SPDX-License-Identifier: EPL-2.0
 *******************************************************************************/

//-----------------------------------------------------------------------------
/** @file  map_details.h */
//-----------------------------------------------------------------------------

#ifndef MANTLEAPI_MAP_MAP_DETAILS_H
#define MANTLEAPI_MAP_MAP_DETAILS_H
Andreas Rauschert's avatar
Andreas Rauschert committed
#include <memory>
/// Definition of the map area
  virtual ~MapDetails() = default;
Andreas Rauschert's avatar
Andreas Rauschert committed
  /// Cloning MapDetails for usage as unique ptr in ScenarioInfo. Can be overwritten in derived classes.
  /// @return Copy of MapDetails
  virtual std::unique_ptr<MapDetails> Clone() const
  {
    return std::make_unique<MapDetails>(*this);
  }

  /// Area of the map (e.g. GPS latitude, GPS longitude)
  std::vector<Position> map_region;
#endif  // MANTLEAPI_MAP_MAP_DETAILS_H