Common System 0.2.0
Common interfaces and patterns for system integration
Loading...
Searching...
No Matches
kcenon::common::di::bootstrapper_options Struct Reference

Configuration options for the unified bootstrapper. More...

#include <unified_bootstrapper.h>

Collaboration diagram for kcenon::common::di::bootstrapper_options:
Collaboration graph

Public Attributes

bool enable_logging = true
 Enable logging system services.
 
bool enable_monitoring = true
 Enable monitoring system services.
 
bool enable_database = false
 Enable database system services.
 
bool enable_network = false
 Enable network system services.
 
std::string config_path
 Path to configuration file (optional)
 
std::chrono::milliseconds shutdown_timeout {30000}
 Default shutdown timeout.
 
bool register_signal_handlers = true
 Register signal handlers (SIGTERM, SIGINT)
 

Detailed Description

Configuration options for the unified bootstrapper.

Controls which system components are enabled and how they are configured.

Examples
multi_system_app/main.cpp.

Definition at line 50 of file unified_bootstrapper.h.

Member Data Documentation

◆ config_path

std::string kcenon::common::di::bootstrapper_options::config_path

Path to configuration file (optional)

Examples
multi_system_app/main.cpp.

Definition at line 64 of file unified_bootstrapper.h.

Referenced by main().

◆ enable_database

bool kcenon::common::di::bootstrapper_options::enable_database = false

Enable database system services.

Examples
multi_system_app/main.cpp.

Definition at line 58 of file unified_bootstrapper.h.

Referenced by main(), and kcenon::common::di::unified_bootstrapper::register_optional_services().

◆ enable_logging

bool kcenon::common::di::bootstrapper_options::enable_logging = true

Enable logging system services.

Examples
multi_system_app/main.cpp.

Definition at line 52 of file unified_bootstrapper.h.

Referenced by main(), and kcenon::common::di::unified_bootstrapper::register_optional_services().

◆ enable_monitoring

bool kcenon::common::di::bootstrapper_options::enable_monitoring = true

Enable monitoring system services.

Definition at line 55 of file unified_bootstrapper.h.

Referenced by kcenon::common::di::unified_bootstrapper::register_optional_services().

◆ enable_network

bool kcenon::common::di::bootstrapper_options::enable_network = false

Enable network system services.

Definition at line 61 of file unified_bootstrapper.h.

Referenced by kcenon::common::di::unified_bootstrapper::register_optional_services().

◆ register_signal_handlers

bool kcenon::common::di::bootstrapper_options::register_signal_handlers = true

Register signal handlers (SIGTERM, SIGINT)

Definition at line 70 of file unified_bootstrapper.h.

Referenced by kcenon::common::di::unified_bootstrapper::initialize().

◆ shutdown_timeout

std::chrono::milliseconds kcenon::common::di::bootstrapper_options::shutdown_timeout {30000}

Default shutdown timeout.

Definition at line 67 of file unified_bootstrapper.h.

67{30000};

Referenced by kcenon::common::di::unified_bootstrapper::request_shutdown().


The documentation for this struct was generated from the following file: