Antares Simulator
Power System Simulator
fwd.h
1 /*
2  * Copyright 2007-2025, RTE (https://www.rte-france.com)
3  * See AUTHORS.txt
4  * SPDX-License-Identifier: MPL-2.0
5  * This file is part of Antares-Simulator,
6  * Adequacy and Performance assessment for interconnected energy networks.
7  *
8  * Antares_Simulator is free software: you can redistribute it and/or modify
9  * it under the terms of the Mozilla Public Licence 2.0 as published by
10  * the Mozilla Foundation, either version 2 of the License, or
11  * (at your option) any later version.
12  *
13  * Antares_Simulator is distributed in the hope that it will be useful,
14  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16  * Mozilla Public Licence 2.0 for more details.
17  *
18  * You should have received a copy of the Mozilla Public Licence 2.0
19  * along with Antares_Simulator. If not, see <https://opensource.org/license/mpl-2-0/>.
20  */
21 #ifndef __ANTARES_WINDOWS_OUTPUT_FWD_H__
22 #define __ANTARES_WINDOWS_OUTPUT_FWD_H__
23 
24 #include <yuni/yuni.h>
25 #include <yuni/job/job.h>
26 #include <vector>
27 #include <map>
28 #include <set>
29 
30 namespace Antares::Window::OutputViewer::Provider
31 {
32 class Variables;
33 class Outputs;
34 class Comparison;
35 
36 } // namespace Antares::Window::OutputViewer::Provider
37 
38 namespace Antares::Window::OutputViewer
39 {
40 class Layer;
41 class Component;
42 class SpotlightProvider;
43 class SpotlightProviderGlobalSelection;
44 
48 enum LevelOfDetails
49 {
50  lodAllMCYears,
51  lodDetailledResults,
52  lodDetailedResultsWithConcatenation,
53 };
54 
58 enum SelectionType
59 {
61  stNone = 0,
63  stArea,
65  stLink,
67  stSummary,
69  stComments,
71  stLogs
72 };
73 
77 enum LayerType
78 {
80  ltOutput = 0,
82  ltSum,
84  ltDiff,
86  ltAverage,
88  ltMin,
90  ltMax,
91 };
92 
93 } // namespace Antares::Window::OutputViewer
94 
95 namespace Antares::Private::OutputViewerData
96 {
98 class Job;
99 
101 class Content;
102 
104 using ContentMap = std::map<Yuni::String, Content*>;
105 
107 using JobPtr = Yuni::Job::IJob::Ptr::Promote<Job>::Ptr;
108 
110 using JobVector = std::vector<JobPtr>;
111 
113 class Panel;
114 
115 using ThermalNameSet = std::set<YString>;
117 using ThermalNameSetPerArea = std::map<Data::AreaName, std::set<YString>>;
118 
119 } // namespace Antares::Private::OutputViewerData
120 
121 #endif // __ANTARES_WINDOWS_OUTPUT_FWD_H__