summaryrefslogtreecommitdiff
path: root/lib/c++/component.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/c++/component.hpp')
-rw-r--r--lib/c++/component.hpp38
1 files changed, 38 insertions, 0 deletions
diff --git a/lib/c++/component.hpp b/lib/c++/component.hpp
new file mode 100644
index 0000000..1e5dbbf
--- /dev/null
+++ b/lib/c++/component.hpp
@@ -0,0 +1,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, typename Encode = saw::encode::Native>
+class component {};
+}
+}