|
PACS System 0.1.0
PACS DICOM system library
|
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) | |
Error codes for lock operations.
|
constexpr |
Lock already held by another holder.
Definition at line 252 of file study_lock_manager.h.
Referenced by kcenon::pacs::workflow::study_lock_manager::lock().
|
constexpr |
Lock has expired.
Definition at line 264 of file study_lock_manager.h.
Referenced by kcenon::pacs::workflow::study_lock_manager::refresh_lock().
|
constexpr |
Invalid token.
Definition at line 258 of file study_lock_manager.h.
Referenced by kcenon::pacs::workflow::study_lock_manager::refresh_lock(), and kcenon::pacs::workflow::study_lock_manager::unlock().
|
constexpr |
Invalid lock type.
Definition at line 270 of file study_lock_manager.h.
|
constexpr |
Maximum shared locks exceeded.
Definition at line 273 of file study_lock_manager.h.
Referenced by kcenon::pacs::workflow::study_lock_manager::lock().
|
constexpr |
Lock not found.
Definition at line 255 of file study_lock_manager.h.
Referenced by kcenon::pacs::workflow::study_lock_manager::force_unlock(), kcenon::pacs::workflow::study_lock_manager::refresh_lock(), kcenon::pacs::workflow::study_lock_manager::unlock(), and kcenon::pacs::workflow::study_lock_manager::unlock().
|
constexpr |
Permission denied (force unlock not allowed)
Definition at line 267 of file study_lock_manager.h.
Referenced by kcenon::pacs::workflow::study_lock_manager::force_unlock(), and kcenon::pacs::workflow::study_lock_manager::unlock().
|
constexpr |
Lock timeout exceeded.
Definition at line 261 of file study_lock_manager.h.
|
constexpr |
Cannot upgrade lock (shared to exclusive)
Definition at line 276 of file study_lock_manager.h.