SourceXtractorPlusPlus 1.0.3
SourceXtractor++, the next generation SExtractor
Loading...
Searching...
No Matches
RngConfig.h
Go to the documentation of this file.
1/*
2 * RngConfig.h
3 *
4 * Created on: Mar 21, 2024
5 * Author: mschefer
6 */
7
8#ifndef _SEIMPLEMENTATION_CONFIGURATION_RNGCONFIG_H_
9#define _SEIMPLEMENTATION_CONFIGURATION_RNGCONFIG_H_
10
11#include "Configuration/Configuration.h"
12#include "AlexandriaKernel/ThreadPool.h"
13
14namespace SourceXtractor {
15
17public:
18 explicit RngConfig(long manager_id);
19
20 virtual ~RngConfig() = default;
21
23
24 void initialize(const UserValues& args) override;
25
26 unsigned int getSeed() const {
27 return m_seed;
28 }
29
30private:
31 unsigned int m_seed;
32};
33
34
35}
36
37
38#endif /* _SEIMPLEMENTATION_CONFIGURATION_RNGCONFIG_H_ */
std::map< std::string, boost::program_options::variable_value > UserValues
std::map< std::string, OptionDescriptionList > getProgramOptions() override
Definition RngConfig.cpp:31
virtual ~RngConfig()=default
RngConfig(long manager_id)
Definition RngConfig.cpp:29
unsigned int getSeed() const
Definition RngConfig.h:26
void initialize(const UserValues &args) override
Definition RngConfig.cpp:37