SourceXtractorPlusPlus
0.11
Please provide a description of the project.
SEImplementation
SEImplementation
Configuration
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
29
namespace
SourceXtractor
{
30
31
class
MemoryConfig
:
public
Euclid::Configuration::Configuration
{
32
public
:
33
MemoryConfig
(
long
manager_id);
34
35
virtual
~MemoryConfig
() =
default
;
36
37
std::map<std::string, OptionDescriptionList>
getProgramOptions
()
override
;
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
:
51
int
m_max_memory
;
52
int
m_tile_size
;
53
};
54
55
56
}
57
58
59
60
61
#endif
/* _SEIMPLEMENTATION_CONFIGURATION_MEMORYCONFIG_H_ */
SourceXtractor::MemoryConfig::getTileSize
int getTileSize() const
Definition:
MemoryConfig.h:46
SourceXtractor::MemoryConfig::m_max_memory
int m_max_memory
Definition:
MemoryConfig.h:51
SourceXtractor::MemoryConfig::getProgramOptions
std::map< std::string, OptionDescriptionList > getProgramOptions() override
Definition:
MemoryConfig.cpp:37
SourceXtractor::MemoryConfig::~MemoryConfig
virtual ~MemoryConfig()=default
SourceXtractor::MemoryConfig::m_tile_size
int m_tile_size
Definition:
MemoryConfig.h:52
SourceXtractor::MemoryConfig
Definition:
MemoryConfig.h:31
SourceXtractor
Definition:
Aperture.h:30
SourceXtractor::MemoryConfig::getTileMaxMemory
int getTileMaxMemory() const
Definition:
MemoryConfig.h:42
SourceXtractor::MemoryConfig::initialize
void initialize(const UserValues &args) override
Definition:
MemoryConfig.cpp:44
std::map
STL class.
SourceXtractor::MemoryConfig::MemoryConfig
MemoryConfig(long manager_id)
Definition:
MemoryConfig.cpp:34
Configuration.h
Euclid::Configuration::Configuration
Generated by
1.8.18