SourceXtractorPlusPlus  0.12
Please provide a description of the project.
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 
29 
30 namespace SourceXtractor {
31 
38 public:
40  m_task_provider(task_provider) {}
41 
43  return std::make_shared<SourceWithOnDemandProperties>(m_task_provider);
44  }
45 
46 private:
48 };
49 
50 }
51 
52 
53 #endif /* _SEFRAMEWORK_SOURCE_SOURCEWITHONDEMANDPROPERTIESFACTORY_H_ */
A factory interface to create SourceInterface instances.
Definition: SourceFactory.h:39
A SourceFactory implementation that produces a SourceWithOnDemandProperties.
virtual std::shared_ptr< SourceInterface > createSource() const override
SourceWithOnDemandPropertiesFactory(std::shared_ptr< TaskProvider > task_provider)