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

Event published when a C-STORE operation fails. More...

#include <events.h>

Collaboration diagram for kcenon::pacs::events::storage_failed_event:
Collaboration graph

Public Member Functions

 storage_failed_event (std::string patient, std::string sop_uid, std::string calling, int code, std::string message)
 

Public Attributes

std::string patient_id
 
std::string sop_instance_uid
 
std::string calling_ae
 
int error_code
 
std::string error_message
 
std::chrono::steady_clock::time_point timestamp
 

Detailed Description

Event published when a C-STORE operation fails.

Definition at line 138 of file events.h.

Constructor & Destructor Documentation

◆ storage_failed_event()

kcenon::pacs::events::storage_failed_event::storage_failed_event ( std::string patient,
std::string sop_uid,
std::string calling,
int code,
std::string message )
inline

Definition at line 146 of file events.h.

151 : patient_id(std::move(patient)),
152 sop_instance_uid(std::move(sop_uid)),
153 calling_ae(std::move(calling)),
155 error_message(std::move(message)),
156 timestamp(std::chrono::steady_clock::now()) {}
std::string_view code
std::chrono::steady_clock::time_point timestamp
Definition events.h:144

Member Data Documentation

◆ calling_ae

std::string kcenon::pacs::events::storage_failed_event::calling_ae

Definition at line 141 of file events.h.

◆ error_code

int kcenon::pacs::events::storage_failed_event::error_code

Definition at line 142 of file events.h.

◆ error_message

std::string kcenon::pacs::events::storage_failed_event::error_message

Definition at line 143 of file events.h.

◆ patient_id

std::string kcenon::pacs::events::storage_failed_event::patient_id

Definition at line 139 of file events.h.

◆ sop_instance_uid

std::string kcenon::pacs::events::storage_failed_event::sop_instance_uid

Definition at line 140 of file events.h.

◆ timestamp

std::chrono::steady_clock::time_point kcenon::pacs::events::storage_failed_event::timestamp

Definition at line 144 of file events.h.


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