summaryrefslogtreecommitdiffstats
path: root/common/domainadaptor.h
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2016-10-20 15:25:05 +0200
committerChristian Mollekopf <chrigi_1@fastmail.fm>2016-10-21 09:18:50 +0200
commit9a03eb1a54c6289773bc1b8eb96181ed01553927 (patch)
treed820cd37e774f7b4404bd4994b627a02f8652a44 /common/domainadaptor.h
parentda0c37dbad121252effa85941de4d49222176179 (diff)
downloadsink-9a03eb1a54c6289773bc1b8eb96181ed01553927.tar.gz
sink-9a03eb1a54c6289773bc1b8eb96181ed01553927.zip
TypeImplementation cleanup
Diffstat (limited to 'common/domainadaptor.h')
-rw-r--r--common/domainadaptor.h10
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
140public: 140public:
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 /**