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

Error codes for lock operations. More...

Variables

constexpr int already_locked = -100
 Lock already held by another holder.
 
constexpr int not_found = -101
 Lock not found.
 
constexpr int invalid_token = -102
 Invalid token.
 
constexpr int timeout = -103
 Lock timeout exceeded.
 
constexpr int expired = -104
 Lock has expired.
 
constexpr int permission_denied = -105
 Permission denied (force unlock not allowed)
 
constexpr int invalid_type = -106
 Invalid lock type.
 
constexpr int max_shared_exceeded = -107
 Maximum shared locks exceeded.
 
constexpr int upgrade_failed = -108
 Cannot upgrade lock (shared to exclusive)
 

Detailed Description

Error codes for lock operations.

Variable Documentation

◆ already_locked

int kcenon::pacs::workflow::lock_error::already_locked = -100
constexpr

◆ expired

int kcenon::pacs::workflow::lock_error::expired = -104
constexpr

◆ invalid_token

◆ invalid_type

int kcenon::pacs::workflow::lock_error::invalid_type = -106
constexpr

◆ max_shared_exceeded

int kcenon::pacs::workflow::lock_error::max_shared_exceeded = -107
constexpr

◆ not_found

◆ permission_denied

int kcenon::pacs::workflow::lock_error::permission_denied = -105
constexpr

◆ timeout

int kcenon::pacs::workflow::lock_error::timeout = -103
constexpr

◆ upgrade_failed

int kcenon::pacs::workflow::lock_error::upgrade_failed = -108
constexpr

Cannot upgrade lock (shared to exclusive)

Examples
/home/runner/work/pacs_system/pacs_system/include/kcenon/pacs/workflow/study_lock_manager.h.

Definition at line 276 of file study_lock_manager.h.