-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathrp_accessor_impl.cpp
More file actions
32 lines (21 loc) · 827 Bytes
/
rp_accessor_impl.cpp
File metadata and controls
32 lines (21 loc) · 827 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
#include "reporter/ih/rp_accessor_impl.hpp"
#include "reporter/impl/rp_factpory_impl.hpp"
#include "exception/ih/exc_internal_error.hpp"
//------------------------------------------------------------------------------
namespace reporter
{
//------------------------------------------------------------------------------
ReporterAccessorImpl::ReporterAccessorImpl()
: m_factory{ new FactoryImpl }
{
}
//------------------------------------------------------------------------------
ReporterAccessorImpl::~ReporterAccessorImpl() = default;
//------------------------------------------------------------------------------
Factory & ReporterAccessorImpl::getReporterFactory()
{
INTERNAL_CHECK_ERROR( m_factory );
return *m_factory;
}
//------------------------------------------------------------------------------
}