summaryrefslogtreecommitdiffstats
path: root/include/framework/util/Configuration.h
blob: 04770958a7916053c62c7a04e461f4604c962110 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/*
 * include/framework/util/Configuration.h
 *
 * Copyright (C) 2023-2024 Douglas B. Rumbaugh <drumbaugh@psu.edu>
 *
 * Distributed under the Modified BSD License.
 *
 */
#pragma once

#include "framework/reconstruction/ReconstructionPolicy.h"
#include "util/types.h"
#include "framework/interface/Scheduler.h"
#include <cstdlib>

namespace de {

template <ShardInterface ShardType, QueryInterface<ShardType> QueryType,
DeletePolicy D, SchedulerInterface SchedType>
class DEConfiguration {
  DEConfiguration(std::unique_ptr<ReconstructionPolicy<ShardType, QueryType>> recon_policy) 
   : m_recon_policy(recon_policy) {}

   public:
    std::unique_ptr<ReconstructionPolicy<ShardType, QueryType>> m_recon_policy;
};

} // namespace de