summaryrefslogtreecommitdiff
path: root/c++/component.hpp
diff options
context:
space:
mode:
authorClaudius "keldu" Holeksa <mail@keldu.de>2025-04-03 15:55:22 +0200
committerClaudius "keldu" Holeksa <mail@keldu.de>2025-04-03 15:55:22 +0200
commit4ffcce338176350465dbd4245ad443b766d196f0 (patch)
treeef3f7293ae3fb3582bb82d68293c62e026a85ca7 /c++/component.hpp
parent6b1a01d1cbf3809ddcf6bfb14c337d89f6f7c2b5 (diff)
wip
Diffstat (limited to 'c++/component.hpp')
-rw-r--r--c++/component.hpp21
1 files changed, 21 insertions, 0 deletions
diff --git a/c++/component.hpp b/c++/component.hpp
index 08be2f5..14f908a 100644
--- a/c++/component.hpp
+++ b/c++/component.hpp
@@ -1,8 +1,29 @@
#pragma once
+#include "descriptor.hpp"
+
namespace kel {
namespace lbm {
+namespace cmpt {
+template<saw::string_literal Name, uint64_t Dist, bool Read, bool Write>
+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;
+};
+
+template<typename... Acc>
+class access_tuple {
+public:
+};
+}
+
+/**
+ * Compponent class which forms the basis of the
+ */
template<typename T>
class component {};
}