SourceXtractorPlusPlus  0.15
Please provide a description of the project.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
MultiThreadingConfig.h
Go to the documentation of this file.
1 
17 /*
18  * MultiThreadingConfig.h
19  *
20  * Created on: May 22, 2018
21  * Author: mschefer
22  */
23 
24 #ifndef _SEIMPLEMENTATION_CONFIGURATION_MULTITHREADINGCONFIG_H_
25 #define _SEIMPLEMENTATION_CONFIGURATION_MULTITHREADINGCONFIG_H_
26 
29 
30 namespace SourceXtractor {
31 
33 public:
34  MultiThreadingConfig(long manager_id);
35 
36  virtual ~MultiThreadingConfig() = default;
37 
39 
40  void initialize(const UserValues& args) override;
41 
42  int getThreadsNb() const {
43  return m_threads_nb;
44  }
45 
47  return m_thread_pool;
48  }
49 
50 private:
53 };
54 
55 
56 }
57 
58 
59 #endif /* _SEIMPLEMENTATION_CONFIGURATION_MULTITHREADINGCONFIG_H_ */
void initialize(const UserValues &args) override
STL class.
std::shared_ptr< Euclid::ThreadPool > m_thread_pool
const std::shared_ptr< Euclid::ThreadPool > & getThreadPool() const
std::map< std::string, OptionDescriptionList > getProgramOptions() override