Files
bolar_2/main/ports/sensor_message_sink.h
2026-11-27 16:38:11 +08:00

17 lines
384 B
C++

#pragma once
#include <cstddef>
namespace borla {
class ISensorMessageSink {
public:
virtual ~ISensorMessageSink() = default;
// Sensor data is best effort. A false result means the connection is not
// ready or the bounded transport queue is full; callers must drop it.
virtual bool SendSensorMessage(const char* data, size_t size) = 0;
};
} // namespace borla