SatDump 2.0.0-alpha-520736c72
Loading...
Searching...
No Matches
satdump::handlers::RemoteHandlerBackend Class Referenceabstract
Inheritance diagram for satdump::handlers::RemoteHandlerBackend:
satdump::handlers::RecBackend satdump::handlers::TestHttpBackend satdump::handlers::TestHttpClientBackend satdump::handlers::TestRemoteHandlerBackend

Public Types

enum  cfg_res_t { RES_OK = 0 , RES_LISTUPD = 1 , RES_ERR = 2 }

Public Member Functions

void set_stream_rx_handler (std::function< void(std::string, uint8_t *, size_t)> f)
nlohmann::ordered_json get_cfg_list ()
nlohmann::ordered_json get_cfg (std::string key)
cfg_res_t set_cfg (std::string key, nlohmann::ordered_json v)
nlohmann::ordered_json get_cfg ()
cfg_res_t set_cfg (nlohmann::ordered_json v)

Protected Member Functions

void push_stream_data (std::string id, uint8_t *data, size_t size)

Protected Attributes

std::function< void(std::string, uint8_t *, size_t)> stream_rx
std::mutex stream_rx_mtx

The documentation for this class was generated from the following file: