Debian Codegraph @

src/core/components/commonutils.h

raw symbols SCIP
1 // SPDX-License-Identifier: GPL-3.0-or-latercxx . . $ `<file>/src/core/components/commonutils.h`/
2 // Copyright 2019 Juan Palacios <[email protected]>
3
4 #pragma once
5
6 #include <units.h>
7 #include <utility>
8 #include <vector>
9
10 namespace Utilscxx . . $ Utils/::Commoncxx . . $ Utils/Common/ {
11
12 /// Normalizes points into temperature and percentage ranges.
13 /// @note Temperature normalization is only performed when needed.
14 /// @param tempRange target temperature range
15 /// @param speedRange target speed range
16 void normalizePointscxx . . $ Utils/Common/normalizePoints(c5e3ead2f69f5981).(
17 stdcxx . . $ std/::vectorcxx . . $ std/vector#<stdcxx . . $ std/::paircxx . . $ std/pair#<unitscxx . . $ units/::temperaturecxx . . $ units/temperature/::celsius_tcxx . . $ units/temperature/celsius_t#,
18 unitscxx . . $ units/::concentrationcxx . . $ units/concentration/::percent_tcxx . . $ units/concentration/percent_t#>> &points,
19 stdcxx . . $ std/::paircxx . . $ std/pair#<unitscxx . . $ units/::temperaturecxx . . $ units/temperature/::celsius_tcxx . . $ units/temperature/celsius_t#, unitscxx . . $ units/::temperaturecxx . . $ units/temperature/::celsius_tcxx . . $ units/temperature/celsius_t#> tempRange,
20 stdcxx . . $ std/::paircxx . . $ std/pair#<unitscxx . . $ units/::concentrationcxx . . $ units/concentration/::percent_tcxx . . $ units/concentration/percent_t#, unitscxx . . $ units/::concentrationcxx . . $ units/concentration/::percent_tcxx . . $ units/concentration/percent_t#>
21 speedRange = stdcxx . . $ std/::make_paircxx . . $ std/make_pair(1d30b6e115203116).(unitscxx . . $ units/::concentrationcxx . . $ units/concentration/::percent_tcxx . . $ units/concentration/percent_t#(0),
22 unitscxx . . $ units/::concentrationcxx . . $ units/concentration/::percent_tcxx . . $ units/concentration/percent_t#(100)));
23
24 } // namespace Utils::Common