12 lines
259 B
C++
12 lines
259 B
C++
#pragma once
|
|
#include <string>
|
|
|
|
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();
|
|
|
|
}
|