userver: userver/components/process_starter.hpp Source File
Loading...
Searching...
No Matches
process_starter.hpp
Go to the documentation of this file.
1#pragma once
2
5
7
9
10USERVER_NAMESPACE_BEGIN
11
12namespace components {
13
23class ProcessStarter final : public ComponentBase {
24public:
27 static constexpr std::string_view kName = "process-starter";
28
29 ProcessStarter(const ComponentConfig& config, const ComponentContext& context);
30
31 engine::subprocess::ProcessStarter& Get() { return process_starter_; }
32
34
35private:
37};
38
39template <>
40inline constexpr bool kHasValidate<ProcessStarter> = true;
41
42} // namespace components
43
44USERVER_NAMESPACE_END