Logger System 0.1.3
High-performance C++20 thread-safe logging system with asynchronous capabilities
Loading...
Searching...
No Matches
signal_manager_context.h
Go to the documentation of this file.
1// BSD 3-Clause License
2// Copyright (c) 2025, 🍀☀🌕🌥 🌊
3// See the LICENSE file in the project root for full license information.
4
5#pragma once
6
7#include <memory>
8#include <mutex>
11
22namespace kcenon::logger::core {
23
34public:
41
47 std::shared_ptr<security::signal_manager_interface> signal_mgr
48 );
49
54 auto get_signal_manager() const -> std::shared_ptr<security::signal_manager_interface>;
55
60 void set_signal_manager(std::shared_ptr<security::signal_manager_interface> signal_mgr);
61
66 bool is_initialized() const;
67
68private:
70 std::shared_ptr<security::signal_manager_interface> signal_manager_;
71
73 mutable std::mutex mutex_;
74};
75
76} // namespace kcenon::logger::core
Manages signal manager instance with thread-safe access.
signal_manager_context()=default
Default constructor - creates null signal manager.
DLL export/import macros for logger_system shared library support.
#define LOGGER_SYSTEM_API
Interface for signal handler management.