Welcome to mirror list, hosted at ThFree Co, Russian Federation.

emitter_coastline.hpp « generator - github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 14b5cd2774564d127e97e84cf5b886fdaf4cdd8d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
#pragma once

#include "generator/emitter_interface.hpp"

#include <memory>
#include <string>
#include <vector>

class FeatureBuilder1;
class CoastlineFeaturesGenerator;
namespace feature
{
struct GenerateInfo;
}  // namespace feature

namespace generator
{
class CityBoundaryProcessor;
class CountryMapper;
class LayerBase;
// This class is implementation of EmitterInterface for coastlines.
class EmitterCoastline : public EmitterInterface
{
public:
  explicit EmitterCoastline(feature::GenerateInfo const & info);

  // EmitterInterface overrides:
  void Process(FeatureBuilder1 & feature) override;
  bool Finish() override;
  void GetNames(std::vector<std::string> & names) const override;

private:
  std::shared_ptr<CityBoundaryProcessor> m_cityBoundaryProcessor;
  std::shared_ptr<CoastlineFeaturesGenerator> m_generator;
  std::shared_ptr<LayerBase> m_processingChain;
  std::string m_coastlineGeomFilename;
  std::string m_coastlineRawGeomFilename;
};
}  // namespace generator