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

emitter_world.hpp « generator - github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: b03692d5c50db7a7ee95245fbb6576cfeced40ae (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
#pragma once

#include "generator/emitter_interface.hpp"

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

class FeatureBuilder1;

namespace feature
{
struct GenerateInfo;
}  // namespace feature

namespace generator
{
class CityBoundaryProcessor;
class WorldMapper;
class LayerBase;

// This class is implementation of EmitterInterface for the world.
class EmitterWorld : public EmitterInterface
{
public:
  explicit EmitterWorld(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<WorldMapper> m_worldMapper;
  std::shared_ptr<LayerBase> m_processingChain;
};
}  // namespace generator