SourceXtractorPlusPlus  0.10
Please provide a description of the project.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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 
28 
29 namespace SourceXtractor {
30 
32 public:
33  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 
50 private:
53 };
54 
55 
56 }
57 
58 
59 
60 
61 #endif /* _SEIMPLEMENTATION_CONFIGURATION_MEMORYCONFIG_H_ */
MemoryConfig(long manager_id)
STL class.
std::map< std::string, OptionDescriptionList > getProgramOptions() override
virtual ~MemoryConfig()=default
void initialize(const UserValues &args) override