summaryrefslogtreecommitdiff
path: root/include/llmr/map/layer.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/llmr/map/layer.hpp')
-rw-r--r--include/llmr/map/layer.hpp44
1 files changed, 24 insertions, 20 deletions
diff --git a/include/llmr/map/layer.hpp b/include/llmr/map/layer.hpp
index c6a10b9218..2e4db2997a 100644
--- a/include/llmr/map/layer.hpp
+++ b/include/llmr/map/layer.hpp
@@ -2,29 +2,33 @@
#define LLMR_MAP_LAYER
#include <string>
+#include <forward_list>
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;
-};
+// class Bucket;
+
+// class Layer {
+// public:
+// Layer(const std::string& name, const std::shared_ptr<Bucket>& bucket)
+// : name(name),
+// bucket(bucket) {}
+
+// Layer(const std::string& name)
+// : name(name) {}
+
+// public:
+// std::string name;
+// std::shared_ptr<Bucket> bucket;
+// std::forward_list<Layer> child_layers;
+
+// private:
+// // Make noncopyable
+// // Layer(const Layer&) = delete;
+// // Layer(const Layer&&) = delete;
+// // Layer& operator=(const Layer&) = delete;
+// // Layer& operator=(const Layer && ) = delete;
+// };
}