safesight-edge/include/edge_server_app.h

25 lines
402 B
C++

#pragma once
#include <atomic>
#include <thread>
#include <string>
#include "graph_manager.h"
namespace rk3588 {
class EdgeServerApp {
public:
explicit EdgeServerApp(std::string config_path);
int Start();
private:
std::string config_path_;
GraphManager graph_manager_{};
std::atomic<bool> stop_signal_thread_{false};
std::thread signal_thread_;
};
} // namespace rk3588