SourceXtractorPlusPlus
0.11
Please provide a description of the project.
|
#include <MemoryConfig.h>
Public Member Functions | |
MemoryConfig (long manager_id) | |
virtual | ~MemoryConfig ()=default |
std::map< std::string, OptionDescriptionList > | getProgramOptions () override |
void | initialize (const UserValues &args) override |
int | getTileMaxMemory () const |
int | getTileSize () const |
![]() | |
Configuration (long manager_id) | |
virtual | ~Configuration ()=default |
virtual void | preInitialize (const UserValues &args) |
virtual void | postInitialize (const UserValues &args) |
const std::set< std::type_index > & | getDependencies () |
State & | getCurrentState () |
State | getCurrentState () const |
Private Attributes | |
int | m_max_memory |
int | m_tile_size |
Additional Inherited Members | |
![]() | |
enum | State { State::CONSTRUCTED, State::PRE_INITIALIZED, State::INITIALIZED, State::FINAL } |
typedef std::vector< boost::program_options::option_description > | OptionDescriptionList |
typedef std::map< std::string, boost::program_options::variable_value > | UserValues |
![]() | |
void | declareDependency () |
T & | getDependency () |
const T & | getDependency () const |
Definition at line 31 of file MemoryConfig.h.
SourceXtractor::MemoryConfig::MemoryConfig | ( | long | manager_id | ) |
Definition at line 34 of file MemoryConfig.cpp.
|
virtualdefault |
|
overridevirtual |
Reimplemented from Euclid::Configuration::Configuration.
Definition at line 37 of file MemoryConfig.cpp.
References std::string::c_str(), SourceXtractor::MAX_TILE_MEMORY, and SourceXtractor::TILE_SIZE.
|
inline |
Definition at line 42 of file MemoryConfig.h.
References m_max_memory.
|
inline |
Definition at line 46 of file MemoryConfig.h.
References m_tile_size.
|
overridevirtual |
Reimplemented from Euclid::Configuration::Configuration.
Definition at line 44 of file MemoryConfig.cpp.
References std::map< K, T >::at(), m_max_memory, m_tile_size, SourceXtractor::MAX_TILE_MEMORY, and SourceXtractor::TILE_SIZE.
|
private |
Definition at line 51 of file MemoryConfig.h.
Referenced by getTileMaxMemory(), and initialize().
|
private |
Definition at line 52 of file MemoryConfig.h.
Referenced by getTileSize(), and initialize().