|
Logger System 0.1.3
High-performance C++20 thread-safe logging system with asynchronous capabilities
|
Stub implementation when thread_system is not available. More...
#include <thread_system_integration.h>

Static Public Member Functions | |
| static void | enable () noexcept |
| No-op when thread_system is not available. | |
| static void | disable () noexcept |
| No-op when thread_system is not available. | |
| static constexpr bool | is_enabled () noexcept |
| Always returns false when thread_system is not available. | |
| static constexpr async_backend_type | get_backend () noexcept |
| Always returns standalone when thread_system is not available. | |
| static bool | submit_task (std::function< void()>) noexcept |
| Always returns false when thread_system is not available. | |
| static std::string | get_backend_name () noexcept |
| Always returns "standalone" when thread_system is not available. | |
Private Member Functions | |
| thread_system_integration ()=delete | |
| ~thread_system_integration ()=delete | |
| thread_system_integration (const thread_system_integration &)=delete | |
| thread_system_integration & | operator= (const thread_system_integration &)=delete |
Stub implementation when thread_system is not available.
This stub provides the same interface as the full implementation but all thread_pool-related operations return false or no-op. This allows code to be written once and compile regardless of whether thread_system is available.
Definition at line 260 of file thread_system_integration.h.
|
privatedelete |
|
privatedelete |
|
privatedelete |
|
inlinestaticnoexcept |
No-op when thread_system is not available.
Definition at line 272 of file thread_system_integration.h.
|
inlinestaticnoexcept |
No-op when thread_system is not available.
Definition at line 265 of file thread_system_integration.h.
|
inlinestaticnodiscardconstexprnoexcept |
Always returns standalone when thread_system is not available.
Definition at line 288 of file thread_system_integration.h.
|
inlinestaticnodiscardnoexcept |
Always returns "standalone" when thread_system is not available.
Definition at line 305 of file thread_system_integration.h.
|
inlinestaticnodiscardconstexprnoexcept |
Always returns false when thread_system is not available.
Definition at line 280 of file thread_system_integration.h.
|
privatedelete |
|
inlinestaticnodiscardnoexcept |
Always returns false when thread_system is not available.
| task | The task (ignored) |
Definition at line 297 of file thread_system_integration.h.