From 21e55ae8a1b3ddd4dff6c24a57bdc7d7272fff16 Mon Sep 17 00:00:00 2001 From: Nicolas James Date: Sun, 5 Apr 2026 18:30:25 +1000 Subject: Add boilerplate for separate implementations --- src/strategies/low_latency2/device_strategy.cc | 10 ++++++++++ src/strategies/low_latency2/device_strategy.hh | 18 ++++++++++++++++++ src/strategies/low_latency2/queue_strategy.cc | 10 ++++++++++ src/strategies/low_latency2/queue_strategy.hh | 18 ++++++++++++++++++ 4 files changed, 56 insertions(+) create mode 100644 src/strategies/low_latency2/device_strategy.cc create mode 100644 src/strategies/low_latency2/device_strategy.hh create mode 100644 src/strategies/low_latency2/queue_strategy.cc create mode 100644 src/strategies/low_latency2/queue_strategy.hh (limited to 'src/strategies/low_latency2') 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 -- cgit v1.2.3