PACS System 0.1.0
PACS DICOM system library
Loading...
Searching...
No Matches
kcenon::pacs::workflow::remote_pacs_config Struct Reference

Remote PACS connection configuration. More...

#include <prefetch_config.h>

Collaboration diagram for kcenon::pacs::workflow::remote_pacs_config:
Collaboration graph

Public Member Functions

auto is_valid () const noexcept -> bool
 Check if configuration is valid.
 

Public Attributes

std::string ae_title
 Remote PACS AE title.
 
std::string host
 Remote PACS hostname or IP address.
 
uint16_t port {11112}
 Remote PACS port (default: 11112)
 
std::string local_ae_title {"PACS_PREFETCH"}
 Our local AE title for association.
 
std::chrono::seconds connection_timeout {30}
 Connection timeout.
 
std::chrono::seconds association_timeout {60}
 Association timeout.
 
bool use_tls {false}
 Enable TLS for secure connections.
 

Detailed Description

Remote PACS connection configuration.

Defines connection parameters for a remote PACS server from which prior studies will be prefetched.

Definition at line 36 of file prefetch_config.h.

Member Function Documentation

◆ is_valid()

auto kcenon::pacs::workflow::remote_pacs_config::is_valid ( ) const -> bool
inlinenodiscardnoexcept

Check if configuration is valid.

Returns
true if required fields are set

Definition at line 62 of file prefetch_config.h.

62 {
63 return !ae_title.empty() && !host.empty() && port > 0;
64 }
uint16_t port
Remote PACS port (default: 11112)
std::string host
Remote PACS hostname or IP address.
std::string ae_title
Remote PACS AE title.

References ae_title, host, and port.

Member Data Documentation

◆ ae_title

std::string kcenon::pacs::workflow::remote_pacs_config::ae_title

Remote PACS AE title.

Definition at line 38 of file prefetch_config.h.

Referenced by is_valid().

◆ association_timeout

std::chrono::seconds kcenon::pacs::workflow::remote_pacs_config::association_timeout {60}

Association timeout.

Definition at line 53 of file prefetch_config.h.

53{60};

◆ connection_timeout

std::chrono::seconds kcenon::pacs::workflow::remote_pacs_config::connection_timeout {30}

Connection timeout.

Definition at line 50 of file prefetch_config.h.

50{30};

◆ host

std::string kcenon::pacs::workflow::remote_pacs_config::host

Remote PACS hostname or IP address.

Definition at line 41 of file prefetch_config.h.

Referenced by is_valid().

◆ local_ae_title

std::string kcenon::pacs::workflow::remote_pacs_config::local_ae_title {"PACS_PREFETCH"}

Our local AE title for association.

Definition at line 47 of file prefetch_config.h.

47{"PACS_PREFETCH"};

◆ port

uint16_t kcenon::pacs::workflow::remote_pacs_config::port {11112}

Remote PACS port (default: 11112)

Definition at line 44 of file prefetch_config.h.

44{11112};

Referenced by is_valid().

◆ use_tls

bool kcenon::pacs::workflow::remote_pacs_config::use_tls {false}

Enable TLS for secure connections.

Definition at line 56 of file prefetch_config.h.

56{false};

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