SourceXtractorPlusPlus  0.19
SourceXtractor++, the next generation SExtractor
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SourceWithOnDemandPropertiesFactory.h
Go to the documentation of this file.
1 
17 /*
18  * SourceWithOnDemandPropertiesFactory.h
19  *
20  * Created on: Aug 8, 2016
21  * Author: mschefer
22  */
23 
24 #ifndef _SEFRAMEWORK_SOURCE_SOURCEWITHONDEMANDPROPERTIESFACTORY_H_
25 #define _SEFRAMEWORK_SOURCE_SOURCEWITHONDEMANDPROPERTIESFACTORY_H_
26 
30 
31 namespace SourceXtractor {
32 
39 public:
41  m_task_provider(task_provider) {}
42 
44  return Euclid::make_unique<SourceWithOnDemandProperties>(m_task_provider);
45  }
46 
47 private:
49 };
50 
51 }
52 
53 
54 #endif /* _SEFRAMEWORK_SOURCE_SOURCEWITHONDEMANDPROPERTIESFACTORY_H_ */
std::unique_ptr< SourceInterface > createSource() const override
A factory interface to create SourceInterface instances.
Definition: SourceFactory.h:39
A SourceFactory implementation that produces a SourceWithOnDemandProperties.
SourceWithOnDemandPropertiesFactory(std::shared_ptr< TaskProvider > task_provider)
STL class.