|
SourceXtractorPlusPlus 1.0.3
SourceXtractor++, the next generation SExtractor
|
#include <ExternalFlagTaskFactory.h>


Public Member Functions | |
| virtual | ~ExternalFlagTaskFactory ()=default |
| void | reportConfigDependencies (Euclid::Configuration::ConfigManager &manager) const override |
| Registers all the Configuration dependencies. | |
| void | configure (Euclid::Configuration::ConfigManager &manager) override |
| Method which should initialize the object. | |
| std::shared_ptr< Task > | createTask (const PropertyId &property_id) const override |
| Returns a Task producing a Property corresponding to the given PropertyId. | |
| void | registerPropertyInstances (OutputRegistry &) override |
| Public Member Functions inherited from SourceXtractor::TaskFactory | |
| virtual | ~TaskFactory ()=default |
| Destructor. | |
| void | reportConfigDependencies (Euclid::Configuration::ConfigManager &) const override |
| Registers all the Configuration dependencies. | |
| void | configure (Euclid::Configuration::ConfigManager &) override |
| Method which should initialize the object. | |
| Public Member Functions inherited from SourceXtractor::Configurable | |
| virtual | ~Configurable ()=default |
| Destructor. | |
Static Public Attributes | |
| static const char | propertyName [] = "ExternalFlags" |
Private Attributes | |
| std::map< PropertyId, ExternalFlagConfig::FlagInfo > | m_flag_info_map |
| std::vector< std::pair< std::string, unsigned int > > | m_instance_names |
| bool | m_is_output_requested = false |
Definition at line 39 of file ExternalFlagTaskFactory.h.
|
virtualdefault |
|
overridevirtual |
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.
| manager | The manager to get the Configurations from |
Implements SourceXtractor::Configurable.
Definition at line 64 of file ExternalFlagTaskFactory.cpp.
References SourceXtractor::PropertyId::create(), std::find(), Euclid::Configuration::ConfigManager::getConfiguration(), SourceXtractor::OutputConfig::getOutputProperties(), m_flag_info_map, m_instance_names, m_is_output_requested, and propertyName.

|
overridevirtual |
Returns a Task producing a Property corresponding to the given PropertyId.
Implements SourceXtractor::TaskFactory.
Definition at line 40 of file ExternalFlagTaskFactory.cpp.
References SourceXtractor::ExternalFlagConfig::AND, SourceXtractor::PropertyId::getIndex(), m_flag_info_map, std::make_shared(), SourceXtractor::ExternalFlagConfig::MAX, SourceXtractor::ExternalFlagConfig::MIN, SourceXtractor::ExternalFlagConfig::MOST, and SourceXtractor::ExternalFlagConfig::OR.

|
overridevirtual |
Reimplemented from SourceXtractor::TaskFactory.
Definition at line 81 of file ExternalFlagTaskFactory.cpp.
References m_instance_names, m_is_output_requested, and SourceXtractor::OutputRegistry::registerPropertyInstances().

|
overridevirtual |
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
| manager | The manager to register the dependencies to |
Implements SourceXtractor::Configurable.
Definition at line 34 of file ExternalFlagTaskFactory.cpp.
References Euclid::Configuration::ConfigManager::registerConfiguration().

|
private |
Definition at line 57 of file ExternalFlagTaskFactory.h.
Referenced by configure(), and createTask().
|
private |
Definition at line 58 of file ExternalFlagTaskFactory.h.
Referenced by configure(), and registerPropertyInstances().
|
private |
Definition at line 60 of file ExternalFlagTaskFactory.h.
Referenced by configure(), and registerPropertyInstances().
|
static |
Definition at line 42 of file ExternalFlagTaskFactory.h.
Referenced by configure(), and SourceXtractor::ExternalFlagPlugin::registerPlugin().