|
STAR
Cal STAR — firmware, DAQ server, and engine design
|
Fake elodin-db: accept one connection, write blob, then hold the socket open. More...
Public Member Functions | |
| void | start (std::vector< uint8_t > blob, bool close_after_write) |
| void | stop () |
| void | start (std::vector< uint8_t > blob) |
| void | stop () |
Public Attributes | |
| std::thread | th |
| std::atomic< bool > | run {true} |
| std::atomic< uint16_t > | port {0} |
| std::atomic< bool > | closed_early {false} |
Fake elodin-db: accept one connection, write blob, then hold the socket open.
Fake elodin-db: accept one connection, drain whatever the client subscribes with, then write blob and hold the socket open so the feed stays connected.
Definition at line 62 of file test_elodin_read_path.cpp.
|
inline |
Definition at line 78 of file test_pressure_feed.cpp.
|
inline |
Definition at line 68 of file test_elodin_read_path.cpp.
References a, closed_early, port, send(), and th.
Referenced by main().
|
inline |
|
inline |
Definition at line 114 of file test_pressure_feed.cpp.
References th.
| std::atomic<bool> FakeDb::closed_early {false} |
Definition at line 66 of file test_elodin_read_path.cpp.
Referenced by start().
| std::atomic< uint16_t > FakeDb::port {0} |
Definition at line 65 of file test_elodin_read_path.cpp.
Referenced by calibration_server.ElodinWriter::connect(), main(), calibration_orchestrator.UDPSensorReceiver::run(), combined_fsw_gui.UDPReceiver::run(), imu_calibration_gui.UDPReceiver::run(), start(), and start().
| std::atomic< bool > FakeDb::run {true} |
Definition at line 64 of file test_elodin_read_path.cpp.
| std::thread FakeDb::th |
Definition at line 63 of file test_elodin_read_path.cpp.