SourceXtractorPlusPlus 1.0.3
SourceXtractor++, the next generation SExtractor
Loading...
Searching...
No Matches
MemoryConfig.h
Go to the documentation of this file.
1
17/*
18 * MemoryConfig.h
19 *
20 * Created on: Mar 21, 2018
21 * Author: mschefer
22 */
23
24#ifndef _SEIMPLEMENTATION_CONFIGURATION_MEMORYCONFIG_H_
25#define _SEIMPLEMENTATION_CONFIGURATION_MEMORYCONFIG_H_
26
27#include "Configuration/Configuration.h"
28
29namespace SourceXtractor {
30
32public:
33 explicit MemoryConfig(long manager_id);
34
35 virtual ~MemoryConfig() = default;
36
38
39 void initialize(const UserValues& args) override;
40
41 // maximum memory allocated to ImageTiles in megabytes
42 int getTileMaxMemory() const {
43 return m_max_memory;
44 }
45
46 int getTileSize() const {
47 return m_tile_size;
48 }
49
50private:
53};
54
55
56}
57
58
59
60
61#endif /* _SEIMPLEMENTATION_CONFIGURATION_MEMORYCONFIG_H_ */
std::map< std::string, boost::program_options::variable_value > UserValues
std::map< std::string, OptionDescriptionList > getProgramOptions() override
void initialize(const UserValues &args) override
virtual ~MemoryConfig()=default