|
PACS System 0.1.0
PACS DICOM system library
|
Job management REST API and WebSocket endpoints implementation. More...
#include "crow.h"#include "kcenon/pacs/client/job_manager.h"#include "kcenon/pacs/client/job_types.h"#include "kcenon/pacs/web/endpoints/jobs_endpoints.h"#include "kcenon/pacs/web/endpoints/system_endpoints.h"#include "kcenon/pacs/web/rest_config.h"#include "kcenon/pacs/web/rest_types.h"#include <chrono>#include <mutex>#include <shared_mutex>#include <sstream>#include <unordered_map>#include <unordered_set>
Go to the source code of this file.
Namespaces | |
| namespace | kcenon |
| namespace | kcenon::pacs |
| namespace | kcenon::pacs::web |
| namespace | kcenon::pacs::web::endpoints |
Functions | |
| void | kcenon::pacs::web::endpoints::register_jobs_endpoints_impl (crow::SimpleApp &app, std::shared_ptr< rest_server_context > ctx) |
Job management REST API and WebSocket endpoints implementation.
Definition in file jobs_endpoints.cpp.
| std::unordered_set<crow::websocket::connection*> all_jobs_subscribers |
Connections subscribed to all job updates.
Definition at line 61 of file jobs_endpoints.cpp.
| std::unordered_map<std::string, std::unordered_set<crow::websocket::connection*> > job_subscribers |
Connections subscribed to specific job progress.
Definition at line 58 of file jobs_endpoints.cpp.
|
mutable |
Mutex for thread-safe access.
Definition at line 64 of file jobs_endpoints.cpp.