SmartSpectra C++ SDK
Measure human vitals from video with SmartSpectra C++ SDK.
Loading...
Searching...
No Matches
log_stream_reactor.hpp
1#pragma once
2
3#include <on_prem/log/log_buffer.hpp>
4#include <smartspectra/cpp/physiology_service.grpc.pb.h>
5#include <grpcpp/grpcpp.h>
6#include "reactor_with_wait_until_done.hpp"
7
8namespace presage::smartspectra::grpc_bindings {
9
10class LogStreamReactor : public ReactorWithWaitUntilDone<grpc::ServerWriteReactor<presage::smartspectra::LogEntry>> {
11public:
12 explicit LogStreamReactor(LogBuffer& buffer);
13
14 void OnWriteDone(bool ok) override;
15
16private:
17 LogBuffer& buffer;
18 ::presage::smartspectra::LogEntry log_entry;
19};
20
21} // namespace presage::smartspectra::grpc_bindings
Definition reactor_with_wait_until_done.hpp:32