SourceXtractorPlusPlus  0.11
Please provide a description of the project.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Private Attributes | List of all members
SourceXtractor::PartitionFactory Class Reference

#include <PartitionFactory.h>

Inheritance diagram for SourceXtractor::PartitionFactory:
[legend]
Collaboration diagram for SourceXtractor::PartitionFactory:
[legend]

Public Member Functions

 PartitionFactory (std::shared_ptr< SourceFactory > source_factory)
 
virtual ~PartitionFactory ()=default
 
void reportConfigDependencies (Euclid::Configuration::ConfigManager &manager) const override
 Registers all the Configuration dependencies. More...
 
void configure (Euclid::Configuration::ConfigManager &manager) override
 Method which should initialize the object. More...
 
std::shared_ptr< PartitiongetPartition () const
 
- Public Member Functions inherited from SourceXtractor::Configurable
virtual ~Configurable ()=default
 Destructor. More...
 

Private Attributes

std::shared_ptr< SourceFactorym_source_factory
 
std::vector< std::shared_ptr
< PartitionStep > > 
m_steps
 

Detailed Description

Definition at line 33 of file PartitionFactory.h.

Constructor & Destructor Documentation

SourceXtractor::PartitionFactory::PartitionFactory ( std::shared_ptr< SourceFactory source_factory)
inline

Definition at line 37 of file PartitionFactory.h.

virtual SourceXtractor::PartitionFactory::~PartitionFactory ( )
virtualdefault

Member Function Documentation

void SourceXtractor::PartitionFactory::configure ( Euclid::Configuration::ConfigManager manager)
inlineoverridevirtual

Method which should initialize the object.

The given manager is guaranteed to already be in the initialized state, so all the required Configurations can be accessed using its getConfiguration() method.

Parameters
managerThe manager to get the Configurations from

Implements SourceXtractor::Configurable.

Definition at line 46 of file PartitionFactory.h.

References Euclid::Configuration::ConfigManager::getConfiguration(), m_source_factory, and m_steps.

Here is the call graph for this function:

std::shared_ptr<Partition> SourceXtractor::PartitionFactory::getPartition ( ) const
inline

Definition at line 50 of file PartitionFactory.h.

References m_steps.

void SourceXtractor::PartitionFactory::reportConfigDependencies ( Euclid::Configuration::ConfigManager manager) const
inlineoverridevirtual

Registers all the Configuration dependencies.

Configurable implementations should implement this method to register to the given ConfigManager (using the registerConfiguration() method) all the Configurations they are going to use

Parameters
managerThe manager to register the dependencies to

Implements SourceXtractor::Configurable.

Definition at line 42 of file PartitionFactory.h.

References Euclid::Configuration::ConfigManager::registerConfiguration().

Here is the call graph for this function:

Member Data Documentation

std::shared_ptr<SourceFactory> SourceXtractor::PartitionFactory::m_source_factory
private

Definition at line 56 of file PartitionFactory.h.

Referenced by configure().

std::vector<std::shared_ptr<PartitionStep> > SourceXtractor::PartitionFactory::m_steps
private

Definition at line 57 of file PartitionFactory.h.

Referenced by configure(), and getPartition().


The documentation for this class was generated from the following file: