userver: userver/components Directory Reference
Loading...
Searching...
No Matches
components Directory Reference

Files

 
common_component_list.hpp
 Returns the most common list of components with runtime config updates and HTTP client.
 
common_server_component_list.hpp
 Returns the most common list of components to start a fully functional server.
 
component.hpp
 Convenience header that provides all the types for component implementation (components::ComponentContext, components::ComponentConfig). Prefer using a lightweight userver/components/component_fwd.hpp for component declaration.
 
component_base.hpp
 Contains components::ComponentBase declaration and forward declarations of components::ComponentConfig and components::ComponentContext, function components::GetCurrentComponentName().
 
component_config.hpp
 Represents the config of a component that is being constructed; see Component system for introduction into components.
 
component_context.hpp
 Class to retrieve other components.
 
component_fwd.hpp
 Forward declarations for components::ComponentContext and components::ComponentConfig; function components::GetCurrentComponentName() and components::GetFsTaskProcessor().
 
component_list.hpp
 A list to keep a unique list of components to start with components::Run(), utils::DaemonMain() or components::RunOnce().
 
container.hpp
 A simple Component that creates, hold, and distributes an object of user type T. The component has a name equal to the constexpr std::string_view result of user-defined ContainerName(Of<T>{}).
 
dump_configurator.hpp
 Helper component that manages common configuration for userver dumps.
 
fs_cache.hpp
 Component for storing files in memory.
 
loggable_component_base.hpp
 Deprecated, use <userver/components/component_base.hpp> instead.
 
logging_configurator.hpp
 Helper component to configure logging.
 
manager_controller_component.hpp
 Component that prepares the engine internals and starts all the other components.
 
minimal_component_list.hpp
 Returns a list of components to do basic logging, component initialization and configuration.
 
minimal_server_component_list.hpp
 Returns a list of components to start a basic HTTP server.
 
process_starter.hpp
 Component for getting the engine::subprocess::ProcessStarter.
 
raw_component_base.hpp
 The base class for all components. Don't use it for application components, use ComponentBase instead.
 
run.hpp
 Functions to start a service or tool with the specified config and components::ComponentList.
 
single_threaded_task_processors.hpp
 Component that starts multiple single threaded task processors.
 
state.hpp
 
 
static_config_validator.hpp
 Static component configuration validation helpers.
 
statistics_storage.hpp
 Component that keeps a utils::statistics::Storage storage for metrics.
 
tcp_acceptor_base.hpp
 Component for accepting incoming TCP connections.