Definition at line 27 of file application.cpp.
◆ application_impl()
appbase::application_impl::application_impl |
( |
| ) |
|
|
inline |
Definition at line 29 of file application.cpp.
30#ifndef _WIN32
31
32
35 auto workwork = boost::asio::make_work_guard(ioctx);
36 ioctx.run();
37 });
38
39 sigset_t blocked_signals;
40 sigemptyset(&blocked_signals);
41 sigaddset(&blocked_signals, SIGINT);
42 sigaddset(&blocked_signals, SIGTERM);
43 sigaddset(&blocked_signals, SIGPIPE);
44 sigaddset(&blocked_signals, SIGHUP);
45 pthread_sigmask(SIG_BLOCK, &blocked_signals, nullptr);
46#endif
47 }
std::thread _signal_catching_thread
std::optional< boost::asio::io_context > _signal_catching_io_ctx
options_description _app_options
◆ ~application_impl()
appbase::application_impl::~application_impl |
( |
| ) |
|
|
inline |
◆ _any_compare_map
◆ _app_options
options_description appbase::application_impl::_app_options |
◆ _cfg_options
options_description appbase::application_impl::_cfg_options |
◆ _config_dir
bfs::path appbase::application_impl::_config_dir {"config-dir"} |
◆ _config_file_name
bfs::path appbase::application_impl::_config_file_name |
◆ _data_dir
bfs::path appbase::application_impl::_data_dir {"data-dir"} |
◆ _full_version_str
◆ _is_quiting
std::atomic_bool appbase::application_impl::_is_quiting {false} |
◆ _logging_conf
bfs::path appbase::application_impl::_logging_conf {"logging.json"} |
◆ _options
variables_map appbase::application_impl::_options |
◆ _signal_catching_io_ctx
std::optional<boost::asio::io_context> appbase::application_impl::_signal_catching_io_ctx |
◆ _signal_catching_thread
std::thread appbase::application_impl::_signal_catching_thread |
◆ _version
uint64_t appbase::application_impl::_version = 0 |
◆ _version_str
The documentation for this class was generated from the following file: