SeqAn3
3.4.0
The Modern C++ library for sequence analysis.
Toggle main menu visibility
Loading...
Searching...
No Matches
configuration_element_parallel_mode.hpp
Go to the documentation of this file.
1
// SPDX-FileCopyrightText: 2006-2025 Knut Reinert & Freie Universität Berlin
2
// SPDX-FileCopyrightText: 2016-2025 Knut Reinert & MPI für molekulare Genetik
3
// SPDX-License-Identifier: BSD-3-Clause
4
10
11
#pragma once
12
13
#include <
optional
>
14
15
#include <
seqan3/core/configuration/pipeable_config_element.hpp
>
16
17
namespace
seqan3::detail
18
{
27
template
<
typename
wrapped_config_
id
_t>
28
class
parallel_mode :
private
pipeable_config_element
29
{
30
public
:
34
parallel_mode() =
default
;
35
parallel_mode(parallel_mode
const
&) =
default
;
36
parallel_mode(parallel_mode &&) =
default
;
37
parallel_mode & operator=(parallel_mode
const
&) =
default
;
38
parallel_mode & operator=(parallel_mode &&) =
default
;
39
~parallel_mode() =
default
;
40
44
explicit
parallel_mode(uint32_t thread_count_) noexcept : thread_count{thread_count_}
45
{}
47
49
std::optional<uint32_t> thread_count{std::nullopt};
50
54
static
constexpr
typename
wrapped_config_id_t::value_type
id
{wrapped_config_id_t::value};
55
};
56
}
// namespace seqan3::detail
optional
pipeable_config_element.hpp
Provides seqan3::pipeable_config_element.
Hide me
Version:
seqan3
core
configuration
detail
configuration_element_parallel_mode.hpp
Generated on
for SeqAn3 by
1.17.0