summaryrefslogtreecommitdiff
path: root/c++/component.hpp
blob: 87ac31cd7616fad4807f938eec4a0d65a78ff2d9 (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
29
30
31
32
33
34
35
36
37
38
#pragma once

#include "descriptor.hpp"

namespace kel {
namespace lbm {

namespace cmpt {

/**
 * Maybe for the future
 */
template<saw::string_literal Name, uint64_t Dist, bool Read, bool Write, bool SkipSync = false>
class access {
public:
	static constexpr saw::string_literal name = Name;
	static constexpr uint64_t distance = Dist;
	static constexpr bool read = Read;
	static constexpr bool write = Write;
	static constexpr bool skip_sync = SkipSync;
};

/**
 * Maybe for the future
 */
template<typename... Acc>
class access_tuple {
public:
};
}

/**
 * Component class which forms the basis of each processing step
 */
template<typename T, typename Descriptor, typename Cmpt>
class component {};
}
}