osrm-backend/include/engine/datafacade/contiguous_block_allocator.hpp
2018-04-07 00:22:29 +02:00

27 lines
573 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
{
namespace engine
{
namespace datafacade
{
class ContiguousBlockAllocator
{
public:
virtual ~ContiguousBlockAllocator() = default;
// interface to give access to the datafacades
virtual const storage::SharedDataIndex &GetIndex() = 0;
};
} // namespace datafacade
} // namespace engine
} // namespace osrm
#endif // OSRM_ENGINE_DATAFACADE_CONTIGUOUS_BLOCK_ALLOCATOR_HPP_