⚠️ This is the documentation for an old userver version. Click here to switch to the latest version.
userver
C++ Async Framework v2.0
Documentation
API Groups
Namespaces
Reference
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
y
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
w
y
Variables
k
n
r
u
w
Typedefs
c
d
h
m
n
o
p
s
t
u
v
Enumerations
a
b
c
d
f
h
i
l
o
p
r
s
t
u
v
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
y
~
Functions
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
y
~
Variables
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
Typedefs
Enumerations
Enumerator
Related Symbols
File List
File Members
All
e
i
l
r
t
u
Functions
Macros
e
i
l
r
t
u
Examples
Toggle main menu visibility
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
Concepts
Loading...
Searching...
No Matches
All results
process_starter.hpp
Go to the documentation of this file.
1
#
pragma
once
2
3
/// @file userver/components/process_starter.hpp
4
/// @brief @copybrief components::ProcessStarter
5
6
#
include
<
userver
/
components
/
loggable_component_base
.
hpp
>
7
8
#
include
<
userver
/
engine
/
subprocess
/
process_starter
.
hpp
>
9
10
USERVER_NAMESPACE_BEGIN
11
12
namespace
components
{
13
14
/// @ingroup userver_components
15
///
16
/// @brief Component for getting the engine::subprocess::ProcessStarter.
17
///
18
/// ## Static options:
19
/// Name | Description | Default value
20
/// ---- | ----------- | -------------
21
/// task_processor | the name of the TaskProcessor for process starting | -
22
class
ProcessStarter
:
public
LoggableComponentBase
{
23
public
:
24
ProcessStarter(
const
ComponentConfig& config,
25
const
ComponentContext& context);
26
27
/// @ingroup userver_component_names
28
/// @brief The default name of components::ProcessStarter component
29
static
constexpr
std
::
string_view
kName
=
"process-starter"
;
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
Docs version:
v1.0
,
v2.0
,
trunk/develop
userver
components
process_starter.hpp
Generated on Wed May 15 2024 22:19:31 for userver by
Doxygen
1.10.0