osrm-backend/include/engine/datafacade/contiguous_block_allocator.hpp

21 lines
523 B
C++
Raw Permalink Normal View History

#ifndef OSRM_ENGINE_DATAFACADE_CONTIGUOUS_BLOCK_ALLOCATOR_HPP_
#define OSRM_ENGINE_DATAFACADE_CONTIGUOUS_BLOCK_ALLOCATOR_HPP_
2018-04-04 19:05:34 -04:00
#include "storage/shared_data_index.hpp"
namespace osrm::engine::datafacade
{
class ContiguousBlockAllocator
{
public:
virtual ~ContiguousBlockAllocator() = default;
// interface to give access to the datafacades
2018-04-04 19:05:34 -04:00
virtual const storage::SharedDataIndex &GetIndex() = 0;
};
2022-12-20 12:00:11 -05:00
} // namespace osrm::engine::datafacade
#endif // OSRM_ENGINE_DATAFACADE_CONTIGUOUS_BLOCK_ALLOCATOR_HPP_