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

Event published when a C-FIND query fails. More...

#include <events.h>

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

Public Member Functions

 query_failed_event (std::string calling, int code, std::string message)
 

Public Attributes

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-FIND query fails.

Definition at line 210 of file events.h.

Constructor & Destructor Documentation

◆ query_failed_event()

kcenon::pacs::events::query_failed_event::query_failed_event ( std::string calling,
int code,
std::string message )
inline

Definition at line 216 of file events.h.

219 : calling_ae(std::move(calling)),
221 error_message(std::move(message)),
222 timestamp(std::chrono::steady_clock::now()) {}
std::string_view code
std::chrono::steady_clock::time_point timestamp
Definition events.h:214

Member Data Documentation

◆ calling_ae

std::string kcenon::pacs::events::query_failed_event::calling_ae

Definition at line 211 of file events.h.

◆ error_code

int kcenon::pacs::events::query_failed_event::error_code

Definition at line 212 of file events.h.

◆ error_message

std::string kcenon::pacs::events::query_failed_event::error_message

Definition at line 213 of file events.h.

◆ timestamp

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

Definition at line 214 of file events.h.


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