PACS System 0.1.0
PACS DICOM system library
Loading...
Searching...
No Matches
verification_scp.h
Go to the documentation of this file.
1// BSD 3-Clause License
2// Copyright (c) 2021-2025, 🍀☀🌕🌥 🌊
3// See the LICENSE file in the project root for full license information.
4
20#ifndef PACS_SERVICES_VERIFICATION_SCP_HPP
21#define PACS_SERVICES_VERIFICATION_SCP_HPP
22
23#include "scp_service.h"
24
25namespace kcenon::pacs::services {
26
28inline constexpr std::string_view verification_sop_class_uid = "1.2.840.10008.1.1";
29
74class verification_scp final : public scp_service {
75public:
76 // =========================================================================
77 // Construction
78 // =========================================================================
79
85 explicit verification_scp(std::shared_ptr<di::ILogger> logger = nullptr)
86 : scp_service(std::move(logger)) {}
87
88 ~verification_scp() override = default;
89
90 // =========================================================================
91 // scp_service Interface Implementation
92 // =========================================================================
93
99 [[nodiscard]] std::vector<std::string> supported_sop_classes() const override;
100
115 uint8_t context_id,
116 const network::dimse::dimse_message& request) override;
117
123 [[nodiscard]] std::string_view service_name() const noexcept override;
124};
125
126} // namespace kcenon::pacs::services
127
128#endif // PACS_SERVICES_VERIFICATION_SCP_HPP
const std::shared_ptr< di::ILogger > & logger() const noexcept
Get the current logger instance.
Definition scp_service.h:93
network::Result< std::monostate > handle_message(network::association &assoc, uint8_t context_id, const network::dimse::dimse_message &request) override
Handle an incoming DIMSE message (C-ECHO-RQ)
verification_scp(std::shared_ptr< di::ILogger > logger=nullptr)
Construct Verification SCP with optional logger.
std::string_view service_name() const noexcept override
Get the service name.
std::vector< std::string > supported_sop_classes() const override
Get supported SOP Class UIDs.
constexpr std::string_view verification_sop_class_uid
Verification SOP Class UID (1.2.840.10008.1.1)
Base class for DICOM SCP (Service Class Provider) services.