-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathrp_factory.hpp
More file actions
35 lines (24 loc) · 907 Bytes
/
rp_factory.hpp
File metadata and controls
35 lines (24 loc) · 907 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#pragma once
#include <stdfwd/memory>
//------------------------------------------------------------------------------
namespace reporter {
class Reporter;
class Settings;
enum class ReporterKind;
//------------------------------------------------------------------------------
class Factory
{
public:
using ReporterPtr = stdfwd::unique_ptr< Reporter >;
using SettingsPtr = stdfwd::unique_ptr< Settings >;
virtual ~Factory() = default;
virtual ReporterPtr createReporter( ReporterKind _kind ) = 0;
virtual ReporterPtr createDumpReporter() = 0;
virtual ReporterPtr createUnresolvedReporter() = 0;
virtual ReporterPtr createMostImpactReporter() = 0;
virtual ReporterPtr createUnincludedReporter() = 0;
virtual ReporterPtr createDifferentTypeReporter() = 0;
virtual SettingsPtr createSettings() = 0;
};
//------------------------------------------------------------------------------
}