|
PACS System 0.1.0
PACS DICOM system library
|
#include <verification_scp.h>


Public Member Functions | |
| verification_scp (std::shared_ptr< di::ILogger > logger=nullptr) | |
| Construct Verification SCP with optional logger. | |
| ~verification_scp () override=default | |
| std::vector< std::string > | supported_sop_classes () const override |
| Get supported SOP Class UIDs. | |
| 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) | |
| std::string_view | service_name () const noexcept override |
| Get the service name. | |
Public Member Functions inherited from kcenon::pacs::services::scp_service | |
| scp_service (std::shared_ptr< di::ILogger > logger=nullptr) | |
| Construct SCP service with optional logger. | |
| virtual | ~scp_service ()=default |
| scp_service (const scp_service &)=delete | |
| scp_service & | operator= (const scp_service &)=delete |
| scp_service (scp_service &&)=default | |
| scp_service & | operator= (scp_service &&)=default |
| void | set_logger (std::shared_ptr< di::ILogger > logger) |
| Set the logger instance. | |
| const std::shared_ptr< di::ILogger > & | logger () const noexcept |
| Get the current logger instance. | |
| bool | supports_sop_class (std::string_view sop_class_uid) const |
| Check if this service supports a specific SOP Class. | |
Additional Inherited Members | |
Protected Attributes inherited from kcenon::pacs::services::scp_service | |
| std::shared_ptr< di::ILogger > | logger_ |
| Logger instance for service logging. | |
Definition at line 74 of file verification_scp.h.
|
inlineexplicit |
Construct Verification SCP with optional logger.
| logger | Logger instance for service logging (nullptr uses null_logger) |
Definition at line 85 of file verification_scp.h.
|
overridedefault |
|
nodiscardoverridevirtual |
Handle an incoming DIMSE message (C-ECHO-RQ)
Processes the C-ECHO request and sends a C-ECHO response with success status.
| assoc | The association on which the message was received |
| context_id | The presentation context ID for the message |
| request | The incoming C-ECHO-RQ message |
Implements kcenon::pacs::services::scp_service.
Definition at line 21 of file verification_scp.cpp.
References kcenon::pacs::network::dimse::dimse_message::command(), kcenon::pacs::error_codes::echo_unexpected_command, kcenon::pacs::network::dimse::dimse_message::message_id(), kcenon::pacs::pacs_void_error(), kcenon::pacs::network::association::send_dimse(), kcenon::pacs::services::to_string(), and kcenon::pacs::services::verification_sop_class_uid.

|
nodiscardoverridevirtualnoexcept |
Get the service name.
Implements kcenon::pacs::services::scp_service.
Definition at line 47 of file verification_scp.cpp.
|
nodiscardoverridevirtual |
Get supported SOP Class UIDs.
Implements kcenon::pacs::services::scp_service.
Definition at line 17 of file verification_scp.cpp.
References kcenon::pacs::services::verification_sop_class_uid.