|
PACS System 0.1.0
PACS DICOM system library
|
Namespaces | |
| namespace | detail |
| namespace | dimse |
| namespace | pipeline |
| namespace | v2 |
Classes | |
| struct | abort_pdu |
| A-ABORT PDU data. More... | |
| struct | accepted_presentation_context |
| Accepted presentation context after negotiation. More... | |
| struct | associate_ac |
| A-ASSOCIATE-AC PDU data. More... | |
| struct | associate_rj |
| A-ASSOCIATE-RJ PDU data. More... | |
| struct | associate_rq |
| A-ASSOCIATE-RQ PDU data. More... | |
| class | association |
| struct | association_config |
| Configuration for SCU association request. More... | |
| class | dicom_server |
| struct | p_data_tf_pdu |
| P-DATA-TF PDU data. More... | |
| class | pdu_buffer_pool |
| class | pdu_decoder |
| Decoder for DICOM PDU (Protocol Data Unit) messages. More... | |
| class | pdu_encoder |
| Encoder for DICOM PDU (Protocol Data Unit) messages. More... | |
| struct | pdu_pool_statistics |
| Statistics for PDU buffer pool usage monitoring. More... | |
| class | pooled_buffer |
| Pooled byte buffer for PDU data. More... | |
| struct | presentation_context_ac |
| Presentation Context for A-ASSOCIATE-AC. More... | |
| struct | presentation_context_rq |
| Presentation Context for A-ASSOCIATE-RQ. More... | |
| struct | presentation_data_value |
| Presentation Data Value (PDV) item for P-DATA-TF. More... | |
| struct | proposed_presentation_context |
| Proposed presentation context for SCU association request. More... | |
| struct | rejection_info |
| Information about an association rejection. More... | |
| struct | release_rp_pdu |
| A-RELEASE-RP has no data fields. More... | |
| struct | release_rq_pdu |
| PDU variant type representing any DICOM Upper Layer PDU.A-RELEASE-RQ has no data fields. More... | |
| struct | scp_config |
| Configuration for SCP to accept associations. More... | |
| struct | scp_scu_role_selection |
| SCP/SCU Role Selection Sub-item. More... | |
| struct | server_config |
| struct | server_statistics |
| Statistics for server monitoring. More... | |
| class | tracked_pdu_pool |
| Pool wrapper with statistics tracking for PDU buffers. More... | |
| struct | user_information |
| User Information for A-ASSOCIATE-RQ/AC. More... | |
Typedefs | |
| template<typename T > | |
| using | Result = kcenon::pacs::Result<T> |
| Result type alias using standardized kcenon::pacs::Result<T> | |
| using | VoidResult = kcenon::pacs::VoidResult |
| VoidResult type alias for operations without return value. | |
| using | pdu |
| Variant type that can hold any PDU. | |
| template<typename T > | |
| using | DecodeResult = kcenon::pacs::Result<T> |
| Result type alias for PDU decoding operations using standardized kcenon::pacs::Result<T> | |
Functions | |
| constexpr const char * | to_string (association_state state) noexcept |
| Convert association_state to string representation. | |
| constexpr std::string_view | to_string (association_error err) noexcept |
| Convert association_error to string representation. | |
| auto | make_pooled_pdu_buffer () -> tracked_pdu_pool< pooled_buffer >::unique_ptr_type |
| Create a pooled byte buffer. | |
| auto | make_pooled_pdu_buffer (std::size_t size) -> tracked_pdu_pool< pooled_buffer >::unique_ptr_type |
| Create a pooled byte buffer with initial size. | |
| auto | make_pooled_pdv (uint8_t context_id=0, bool is_command=false, bool is_last=true) -> tracked_pdu_pool< presentation_data_value >::unique_ptr_type |
| Create a pooled presentation_data_value. | |
| auto | make_pooled_p_data_tf () -> tracked_pdu_pool< p_data_tf_pdu >::unique_ptr_type |
| Create a pooled p_data_tf_pdu. | |
| constexpr const char * | to_string (pdu_decode_error err) noexcept |
| Convert pdu_decode_error to string description. | |
Conversion Functions | |
| constexpr const char * | to_string (pdu_type type) noexcept |
| Converts a pdu_type to its string representation. | |
Variables | |
| static std::mutex | registry_mutex_ |
| static std::map< uint16_t, dicom_server * > | server_registry_ |
Constants | |
| constexpr const char * | DICOM_APPLICATION_CONTEXT = "1.2.840.10008.3.1.1.1" |
| Default DICOM Application Context Name (PS3.7) | |
| constexpr uint16_t | DICOM_PROTOCOL_VERSION = 0x0001 |
| DICOM Protocol Version. | |
| constexpr size_t | AE_TITLE_LENGTH = 16 |
| AE Title length (fixed 16 characters, space-padded) | |
| constexpr uint32_t | DEFAULT_MAX_PDU_LENGTH = 16384 |
| Maximum PDU length recommended by DICOM (16384 bytes) | |
| constexpr uint32_t | UNLIMITED_MAX_PDU_LENGTH = 0 |
| Maximum PDU length that can be negotiated (0 = unlimited) | |
| using kcenon::pacs::network::DecodeResult = kcenon::pacs::Result<T> |
Result type alias for PDU decoding operations using standardized kcenon::pacs::Result<T>
Definition at line 105 of file pdu_decoder.h.
Variant type that can hold any PDU.
Definition at line 62 of file pdu_decoder.h.
| using kcenon::pacs::network::Result = kcenon::pacs::Result<T> |
Result type alias using standardized kcenon::pacs::Result<T>
Definition at line 56 of file association.h.
| using kcenon::pacs::network::VoidResult = kcenon::pacs::VoidResult |
VoidResult type alias for operations without return value.
Definition at line 59 of file association.h.
|
strong |
Abort reason values when source is service-provider.
Definition at line 79 of file pdu_types.h.
|
strong |
Abort source values.
| Enumerator | |
|---|---|
| service_user | DICOM UL service-user. |
| reserved | Reserved. |
| service_provider | DICOM UL service-provider (ACSE) |
Definition at line 70 of file pdu_types.h.
|
strong |
Error codes for association operations.
Definition at line 107 of file association.h.
|
strong |
DICOM Association state machine states per PS3.8.
Simplified state model based on DICOM PS3.8 Table 9-1.
Definition at line 70 of file association.h.
|
strong |
Item types used in variable items of PDUs.
Definition at line 38 of file pdu_types.h.
|
strong |
Error codes for PDU decoding errors.
Definition at line 75 of file pdu_decoder.h.
|
strong |
PDU (Protocol Data Unit) types as defined in DICOM PS3.8.
These values represent the type field in PDU headers.
Definition at line 25 of file pdu_types.h.
|
strong |
Result values for A-ASSOCIATE-AC presentation context.
Definition at line 59 of file pdu_types.h.
|
strong |
Reject reason values when source is service-provider (ACSE).
| Enumerator | |
|---|---|
| no_reason | No reason given. |
| protocol_version_not_supported | Protocol-version not supported. |
Definition at line 119 of file pdu_types.h.
|
strong |
Reject reason values when source is service-provider (Presentation).
| Enumerator | |
|---|---|
| temporary_congestion | Temporary congestion. |
| local_limit_exceeded | Local limit exceeded. |
Definition at line 127 of file pdu_types.h.
|
strong |
Reject reason values when source is service-user.
Definition at line 109 of file pdu_types.h.
|
strong |
Reject result values.
| Enumerator | |
|---|---|
| rejected_permanent | Rejected-permanent. |
| rejected_transient | Rejected-transient. |
Definition at line 92 of file pdu_types.h.
|
strong |
Reject source values.
| Enumerator | |
|---|---|
| service_user | DICOM UL service-user. |
| service_provider_acse | DICOM UL service-provider (ACSE) |
| service_provider_presentation | DICOM UL service-provider (Presentation) |
Definition at line 100 of file pdu_types.h.
|
inlinenodiscard |
Create a pooled p_data_tf_pdu.
Definition at line 388 of file pdu_buffer_pool.h.
References kcenon::pacs::network::pdu_buffer_pool::get().

|
inlinenodiscard |
Create a pooled byte buffer.
Definition at line 353 of file pdu_buffer_pool.h.
References kcenon::pacs::network::pdu_buffer_pool::get().

|
inlinenodiscard |
Create a pooled byte buffer with initial size.
| size | Initial size of the buffer |
Definition at line 363 of file pdu_buffer_pool.h.
References kcenon::pacs::network::pdu_buffer_pool::get().

|
inlinenodiscard |
Create a pooled presentation_data_value.
| context_id | Presentation Context ID |
| is_command | Whether this is a command message |
| is_last | Whether this is the last fragment |
Definition at line 377 of file pdu_buffer_pool.h.
References kcenon::pacs::network::pdu_buffer_pool::get().

|
nodiscardconstexprnoexcept |
Convert association_error to string representation.
Definition at line 129 of file association.h.
References already_released, association_aborted, association_rejected, connection_failed, connection_timeout, invalid_state, negotiation_failed, no_acceptable_context, pdu_decoding_error, pdu_encoding_error, protocol_error, receive_failed, receive_timeout, release_failed, send_failed, and success.
|
nodiscardconstexprnoexcept |
Convert association_state to string representation.
| state | The state to convert |
Definition at line 86 of file association.h.
References aborted, awaiting_associate_ac, awaiting_associate_rq, awaiting_release_rp, awaiting_release_rq, established, idle, and released.
|
nodiscardconstexprnoexcept |
Convert pdu_decode_error to string description.
Definition at line 89 of file pdu_decoder.h.
References buffer_overflow, incomplete_header, incomplete_pdu, invalid_item_type, invalid_pdu_type, invalid_protocol_version, malformed_pdu, and success.
|
nodiscardconstexprnoexcept |
Converts a pdu_type to its string representation.
Definition at line 248 of file pdu_types.h.
References abort, associate_ac, associate_rj, associate_rq, p_data_tf, release_rp, and release_rq.
|
constexpr |
AE Title length (fixed 16 characters, space-padded)
Definition at line 273 of file pdu_types.h.
Referenced by kcenon::pacs::network::pdu_decoder::read_ae_title(), kcenon::pacs::network::dicom_server::start(), kcenon::pacs::network::v2::dicom_server_v2::start(), and kcenon::pacs::network::pdu_encoder::write_ae_title().
|
constexpr |
Maximum PDU length recommended by DICOM (16384 bytes)
Definition at line 276 of file pdu_types.h.
|
constexpr |
Default DICOM Application Context Name (PS3.7)
Definition at line 267 of file pdu_types.h.
Referenced by kcenon::pacs::network::association::build_associate_ac(), kcenon::pacs::network::association::build_associate_rq(), kcenon::pacs::network::pdu_encoder::encode_associate_ac(), and kcenon::pacs::network::pdu_encoder::encode_associate_rq().
|
constexpr |
DICOM Protocol Version.
Definition at line 270 of file pdu_types.h.
Referenced by kcenon::pacs::network::pdu_decoder::decode_associate_ac(), kcenon::pacs::network::pdu_decoder::decode_associate_rq(), and kcenon::pacs::network::pdu_encoder::encode_associate_header().
|
static |
Definition at line 33 of file dicom_server.cpp.
Referenced by kcenon::pacs::network::dicom_server::get_server_on_port(), kcenon::pacs::network::dicom_server::start(), and kcenon::pacs::network::dicom_server::stop().
|
static |
Definition at line 34 of file dicom_server.cpp.
Referenced by kcenon::pacs::network::dicom_server::get_server_on_port(), kcenon::pacs::network::dicom_server::start(), and kcenon::pacs::network::dicom_server::stop().
|
constexpr |
Maximum PDU length that can be negotiated (0 = unlimited)
Definition at line 279 of file pdu_types.h.