blob: cb4fbc6f600081dcec3c322d5f086d1bcb7c2821 (
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 CoastlineFeaturesGenerator;
namespace feature
{
struct GenerateInfo;
class FeatureBuilder;
} // 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(feature::FeatureBuilder & 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
|