Horizon
pool_cached.hpp
1 #pragma once
2 #include "pool.hpp"
3 
4 namespace horizon {
5 class PoolCached : public Pool {
6 public:
7  PoolCached(const std::string &base_path, const std::string &cache_path);
8  const std::string &get_cache_path() const;
9  std::string get_filename(ObjectType type, const UUID &uu) override;
10 
11 private:
12  std::string cache_path;
13 };
14 } // namespace horizon
Definition: pool_cached.hpp:5
This class encapsulates a UUID and allows it to be uses as a value type.
Definition: uuid.hpp:16
Stores objects (Unit, Entity, Symbol, Part, etc.) from the pool.
Definition: pool.hpp:18
Definition: block.cpp:7