diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-10-20 15:25:05 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-10-21 09:18:50 +0200 |
commit | 9a03eb1a54c6289773bc1b8eb96181ed01553927 (patch) | |
tree | d820cd37e774f7b4404bd4994b627a02f8652a44 /common/domainadaptor.h | |
parent | da0c37dbad121252effa85941de4d49222176179 (diff) | |
download | sink-9a03eb1a54c6289773bc1b8eb96181ed01553927.tar.gz sink-9a03eb1a54c6289773bc1b8eb96181ed01553927.zip |
TypeImplementation cleanup
Diffstat (limited to 'common/domainadaptor.h')
-rw-r--r-- | common/domainadaptor.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/common/domainadaptor.h b/common/domainadaptor.h index 195d5ec..0eb90b3 100644 --- a/common/domainadaptor.h +++ b/common/domainadaptor.h | |||
@@ -139,10 +139,14 @@ class SINK_EXPORT DomainTypeAdaptorFactory : public DomainTypeAdaptorFactoryInte | |||
139 | 139 | ||
140 | public: | 140 | public: |
141 | DomainTypeAdaptorFactory() | 141 | DomainTypeAdaptorFactory() |
142 | : mLocalMapper(Sink::ApplicationDomain::TypeImplementation<DomainType>::initializeReadPropertyMapper()), | 142 | : mLocalMapper(QSharedPointer<ReadPropertyMapper<LocalBuffer>>::create()), |
143 | mResourceMapper(QSharedPointer<ReadPropertyMapper<ResourceBuffer>>::create()), | 143 | mResourceMapper(QSharedPointer<ReadPropertyMapper<ResourceBuffer>>::create()), |
144 | mLocalWriteMapper(Sink::ApplicationDomain::TypeImplementation<DomainType>::initializeWritePropertyMapper()), | 144 | mLocalWriteMapper(QSharedPointer<WritePropertyMapper<LocalBuilder>>::create()), |
145 | mResourceWriteMapper(QSharedPointer<WritePropertyMapper<ResourceBuilder>>::create()){}; | 145 | mResourceWriteMapper(QSharedPointer<WritePropertyMapper<ResourceBuilder>>::create()) |
146 | { | ||
147 | Sink::ApplicationDomain::TypeImplementation<DomainType>::configure(*mLocalMapper); | ||
148 | Sink::ApplicationDomain::TypeImplementation<DomainType>::configure(*mLocalWriteMapper); | ||
149 | } | ||
146 | virtual ~DomainTypeAdaptorFactory(){}; | 150 | virtual ~DomainTypeAdaptorFactory(){}; |
147 | 151 | ||
148 | /** | 152 | /** |