osrm-backend/include/engine/datafacade/contiguous_block_allocator.hpp
2022-12-20 18:00:11 +01:00

21 lines
523 B
C++

#ifndef OSRM_ENGINE_DATAFACADE_CONTIGUOUS_BLOCK_ALLOCATOR_HPP_
#define OSRM_ENGINE_DATAFACADE_CONTIGUOUS_BLOCK_ALLOCATOR_HPP_
#include "storage/shared_data_index.hpp"
namespace osrm::engine::datafacade
{
class ContiguousBlockAllocator
{
public:
virtual ~ContiguousBlockAllocator() = default;
// interface to give access to the datafacades
virtual const storage::SharedDataIndex &GetIndex() = 0;
};
} // namespace osrm::engine::datafacade
#endif // OSRM_ENGINE_DATAFACADE_CONTIGUOUS_BLOCK_ALLOCATOR_HPP_