// SPDX-FileCopyrightText: 2025 Filip Leonarski, Paul Scherrer Institute // SPDX-License-Identifier: GPL-3.0-only #include "TestImagePuller.h" TestImagePuller::TestImagePuller(size_t fifo_size) : ImagePuller(fifo_size) {} void TestImagePuller::Put(const ImagePullerOutput &output) { // Put stands for the socket: a message without a receive time gets it here, as a real puller would. ImagePullerOutput out = output; if (out.received == std::chrono::steady_clock::time_point{}) out.received = std::chrono::steady_clock::now(); outside_fifo.Put(out); } void TestImagePuller::Disconnect() { }