Common System 0.2.0
Common interfaces and patterns for system integration
Loading...
Searching...
No Matches
kcenon::common::error::codes::thread_system Namespace Reference

Variables

constexpr int kcenon::common::error::codes::thread_system::base = static_cast<int>(category::thread_system)
 
constexpr int kcenon::common::error::codes::thread_system::pool_full = base - 0
 
constexpr int kcenon::common::error::codes::thread_system::pool_shutdown = base - 1
 
constexpr int kcenon::common::error::codes::thread_system::pool_not_started = base - 2
 
constexpr int kcenon::common::error::codes::thread_system::invalid_pool_size = base - 3
 
constexpr int kcenon::common::error::codes::thread_system::worker_failed = base - 20
 
constexpr int kcenon::common::error::codes::thread_system::worker_not_found = base - 21
 
constexpr int kcenon::common::error::codes::thread_system::worker_busy = base - 22
 
constexpr int kcenon::common::error::codes::thread_system::job_rejected = base - 40
 
constexpr int kcenon::common::error::codes::thread_system::job_timeout = base - 41
 
constexpr int kcenon::common::error::codes::thread_system::job_cancelled = base - 42
 
constexpr int kcenon::common::error::codes::thread_system::invalid_job = base - 43
 
constexpr int kcenon::common::error::codes::thread_system::queue_full = base - 60
 
constexpr int kcenon::common::error::codes::thread_system::queue_empty = base - 61
 
constexpr int kcenon::common::error::codes::thread_system::queue_stopped = base - 62
 

Variable Documentation

◆ base

int kcenon::common::error::codes::thread_system::base = static_cast<int>(category::thread_system)
constexprexport

Definition at line 86 of file error_codes.h.

◆ invalid_job

int kcenon::common::error::codes::thread_system::invalid_job = base - 43
constexprexport

Definition at line 103 of file error_codes.h.

◆ invalid_pool_size

int kcenon::common::error::codes::thread_system::invalid_pool_size = base - 3
constexprexport

Definition at line 92 of file error_codes.h.

◆ job_cancelled

int kcenon::common::error::codes::thread_system::job_cancelled = base - 42
constexprexport

Definition at line 102 of file error_codes.h.

◆ job_rejected

int kcenon::common::error::codes::thread_system::job_rejected = base - 40
constexprexport

Definition at line 100 of file error_codes.h.

Referenced by kcenon::common::error::get_error_message().

◆ job_timeout

int kcenon::common::error::codes::thread_system::job_timeout = base - 41
constexprexport

Definition at line 101 of file error_codes.h.

Referenced by kcenon::common::error::get_error_message().

◆ pool_full

int kcenon::common::error::codes::thread_system::pool_full = base - 0
constexprexport

Definition at line 89 of file error_codes.h.

Referenced by kcenon::common::error::get_error_message().

◆ pool_not_started

int kcenon::common::error::codes::thread_system::pool_not_started = base - 2
constexprexport

Definition at line 91 of file error_codes.h.

◆ pool_shutdown

int kcenon::common::error::codes::thread_system::pool_shutdown = base - 1
constexprexport

Definition at line 90 of file error_codes.h.

Referenced by kcenon::common::error::get_error_message().

◆ queue_empty

int kcenon::common::error::codes::thread_system::queue_empty = base - 61
constexprexport

Definition at line 107 of file error_codes.h.

◆ queue_full

int kcenon::common::error::codes::thread_system::queue_full = base - 60
constexprexport

Definition at line 106 of file error_codes.h.

◆ queue_stopped

int kcenon::common::error::codes::thread_system::queue_stopped = base - 62
constexprexport

Definition at line 108 of file error_codes.h.

◆ worker_busy

int kcenon::common::error::codes::thread_system::worker_busy = base - 22
constexprexport

Definition at line 97 of file error_codes.h.

◆ worker_failed

int kcenon::common::error::codes::thread_system::worker_failed = base - 20
constexprexport

Definition at line 95 of file error_codes.h.

◆ worker_not_found

int kcenon::common::error::codes::thread_system::worker_not_found = base - 21
constexprexport

Definition at line 96 of file error_codes.h.