userver
C++ Async Framework
Toggle main menu visibility
Loading...
Searching...
No Matches
process_starter.hpp
Go to the documentation of this file.
1
#pragma once
2
5
6
#include <
userver/components/component_base.hpp
>
7
8
#include <
userver/engine/subprocess/process_starter.hpp
>
9
10
USERVER_NAMESPACE_BEGIN
11
12
namespace
components
{
13
23
class
ProcessStarter final :
public
ComponentBase {
24
public
:
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
33
static
yaml_config::Schema
GetStaticConfigSchema
();
34
35
private
:
36
engine::subprocess::ProcessStarter
process_starter_;
37
};
38
39
template
<>
40
inline
constexpr
bool
kHasValidate<ProcessStarter> =
true
;
41
42
}
// namespace components
43
44
USERVER_NAMESPACE_END
userver
components
process_starter.hpp
Generated on
for userver by
Doxygen
1.17.0