aboutsummaryrefslogtreecommitdiff
path: root/src/strategies/low_latency2
diff options
context:
space:
mode:
authorNicolas James <Eele1Ephe7uZahRie@tutanota.com>2026-04-05 18:30:25 +1000
committerNicolas James <Eele1Ephe7uZahRie@tutanota.com>2026-04-05 18:30:25 +1000
commit21e55ae8a1b3ddd4dff6c24a57bdc7d7272fff16 (patch)
tree1b13d5ea55c38d41becd64b003cdb0645159970a /src/strategies/low_latency2
parent411f7acb1f92db88d2a3c92bb40da2133852b40e (diff)
Add boilerplate for separate implementations
Diffstat (limited to 'src/strategies/low_latency2')
-rw-r--r--src/strategies/low_latency2/device_strategy.cc10
-rw-r--r--src/strategies/low_latency2/device_strategy.hh18
-rw-r--r--src/strategies/low_latency2/queue_strategy.cc10
-rw-r--r--src/strategies/low_latency2/queue_strategy.hh18
4 files changed, 56 insertions, 0 deletions
diff --git a/src/strategies/low_latency2/device_strategy.cc b/src/strategies/low_latency2/device_strategy.cc
new file mode 100644
index 0000000..7c10088
--- /dev/null
+++ b/src/strategies/low_latency2/device_strategy.cc
@@ -0,0 +1,10 @@
+#include "device_strategy.hh"
+
+namespace low_latency {
+
+LowLatency2DeviceStrategy::LowLatency2DeviceStrategy(DeviceContext& device)
+ : DeviceStrategy(device) {}
+
+LowLatency2DeviceStrategy::~LowLatency2DeviceStrategy() {}
+
+} // namespace low_latency
diff --git a/src/strategies/low_latency2/device_strategy.hh b/src/strategies/low_latency2/device_strategy.hh
new file mode 100644
index 0000000..18f8bd9
--- /dev/null
+++ b/src/strategies/low_latency2/device_strategy.hh
@@ -0,0 +1,18 @@
+#ifndef STRATEGIES_LOW_LATENCY2_DEVICE_STRATEGY_HH_
+#define STRATEGIES_LOW_LATENCY2_DEVICE_STRATEGY_HH_
+
+#include "strategies/device_strategy.hh"
+
+namespace low_latency {
+
+class DeviceContext;
+
+class LowLatency2DeviceStrategy final : public DeviceStrategy {
+ public:
+ LowLatency2DeviceStrategy(DeviceContext& device);
+ virtual ~LowLatency2DeviceStrategy();
+};
+
+} // namespace low_latency
+
+#endif
diff --git a/src/strategies/low_latency2/queue_strategy.cc b/src/strategies/low_latency2/queue_strategy.cc
new file mode 100644
index 0000000..85e1aae
--- /dev/null
+++ b/src/strategies/low_latency2/queue_strategy.cc
@@ -0,0 +1,10 @@
+#include "queue_strategy.hh"
+
+namespace low_latency {
+
+LowLatency2QueueStrategy::LowLatency2QueueStrategy(QueueContext& queue)
+ : QueueStrategy(queue) {}
+
+LowLatency2QueueStrategy::~LowLatency2QueueStrategy() {}
+
+} // namespace low_latency
diff --git a/src/strategies/low_latency2/queue_strategy.hh b/src/strategies/low_latency2/queue_strategy.hh
new file mode 100644
index 0000000..9688cf4
--- /dev/null
+++ b/src/strategies/low_latency2/queue_strategy.hh
@@ -0,0 +1,18 @@
+#ifndef STRATEGIES_LOW_LATENCY2_QUEUE_STRATEGY_HH_
+#define STRATEGIES_LOW_LATENCY2_QUEUE_STRATEGY_HH_
+
+#include "strategies/queue_strategy.hh"
+
+namespace low_latency {
+
+class QueueContext;
+
+class LowLatency2QueueStrategy final : public QueueStrategy {
+ public:
+ LowLatency2QueueStrategy(QueueContext& queue);
+ virtual ~LowLatency2QueueStrategy();
+};
+
+} // namespace low_latency
+
+#endif