#pragma once #include namespace MockDDS { // Very small mock: single-writer, single-last-message per topic store. void publish(const std::string &topic, const std::string &msg); std::string take_last(const std::string &topic); void clear_all(); }