← Documentation
ADS-IDAC Engine 5.0.0
VisualizationServer.h
Go to the documentation of this file.
1
4
5#ifndef VISUALIZATION_SERVER_H
6#define VISUALIZATION_SERVER_H
7
8#include <thread>
9#include <memory>
10
11struct TreeState;
12
16public:
19 VisualizationServer(std::shared_ptr<TreeState> state, int port);
21
23 void start();
24
26 void stop();
27
28private:
29 struct Impl;
30 std::unique_ptr<Impl> impl_;
31};
32
33#endif // VISUALIZATION_SERVER_H
Lightweight HTTP server serving a D3.js DET visualization page. Runs in a background thread alongside...
void stop()
Stop the HTTP server and join the thread.
VisualizationServer(std::shared_ptr< TreeState > state, int port)
std::unique_ptr< Impl > impl_
void start()
Launch the HTTP listener in a background thread.
Shared state between MPI server loop and visualization HTTP server.
Definition: Server.h:39