summaryrefslogtreecommitdiff
path: root/include/llmr/map/layer.hpp
blob: c6a10b9218ee996b8ea1050af0de75773c79cbcc (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
#ifndef LLMR_MAP_LAYER
#define LLMR_MAP_LAYER

#include <string>

namespace llmr {

class Bucket;
class Tile;

class Layer {
public:
    Layer(const std::string& name, const std::shared_ptr<Bucket>& bucket)
        : name(name),
          bucket(bucket) {}

public:
    std::string name;
    std::shared_ptr<Bucket> bucket;

private:
    // Make noncopyable
    Layer(const Layer&) = delete;
    Layer(const Layer&&) = delete;
    Layer& operator=(const Layer&) = delete;
    Layer& operator=(const Layer && ) = delete;
};

}

#endif