SourceXtractorPlusPlus  0.10
Please provide a description of the project.
SimpleSourceFactory.h
Go to the documentation of this file.
1 
17 /*
18  * SimpleSourceFactory.h
19  *
20  * Created on: Aug 9, 2016
21  * Author: mschefer
22  */
23 
24 #ifndef _SEFRAMEWORK_SOURCE_SIMPLESOURCEFACTORY_H_
25 #define _SEFRAMEWORK_SOURCE_SIMPLESOURCEFACTORY_H_
26 
29 
30 namespace SourceXtractor {
31 
38 
39 public:
40 
42 
44  return std::make_shared<SimpleSource>();
45  }
46 };
47 
48 }
49 
50 #endif /* _SEFRAMEWORK_SOURCE_SIMPLESOURCEFACTORY_H_ */
std::shared_ptr
STL class.
SourceXtractor::SimpleSourceFactory
A SourceFactory implementation that produces a SimpleSource.
Definition: SimpleSourceFactory.h:37
SourceXtractor::SourceFactory
A factory interface to create SourceInterface instances.
Definition: SourceFactory.h:39
SourceXtractor::SimpleSourceFactory::SimpleSourceFactory
SimpleSourceFactory()
Definition: SimpleSourceFactory.h:41
SourceXtractor
Definition: Aperture.h:30
SourceFactory.h
SimpleSource.h
SourceXtractor::SimpleSourceFactory::createSource
virtual std::shared_ptr< SourceInterface > createSource() const override
Definition: SimpleSourceFactory.h:43