SourceXtractorPlusPlus
0.14
Please provide a description of the project.
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
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::m_max_memory
int m_max_memory
Definition:
MemoryConfig.h:51
Euclid::Configuration::Configuration
SourceXtractor::MemoryConfig::m_tile_size
int m_tile_size
Definition:
MemoryConfig.h:52
SourceXtractor::MemoryConfig::MemoryConfig
MemoryConfig(long manager_id)
Definition:
MemoryConfig.cpp:34
std::map
STL class.
SourceXtractor::MemoryConfig::getTileSize
int getTileSize() const
Definition:
MemoryConfig.h:46
SourceXtractor::MemoryConfig::getTileMaxMemory
int getTileMaxMemory() const
Definition:
MemoryConfig.h:42
SourceXtractor::MemoryConfig::getProgramOptions
std::map< std::string, OptionDescriptionList > getProgramOptions() override
Definition:
MemoryConfig.cpp:37
SourceXtractor::MemoryConfig
Definition:
MemoryConfig.h:31
Configuration.h
SourceXtractor::MemoryConfig::~MemoryConfig
virtual ~MemoryConfig()=default
SourceXtractor::MemoryConfig::initialize
void initialize(const UserValues &args) override
Definition:
MemoryConfig.cpp:44
Generated by
1.8.5