|
SourceXtractorPlusPlus 1.0.3
SourceXtractor++, the next generation SExtractor
|
Performs a number of steps on a SourceGroup that can add or remove Sources for deblending the group. More...
#include <Deblending.h>


Public Member Functions | |
| virtual | ~Deblending ()=default |
| Destructor. | |
| Deblending (std::vector< std::shared_ptr< DeblendStep > > deblend_steps) | |
| Constructor - takes a vector of DeblendStep to be applied, in order, to every SourceGroup. | |
| void | receiveSource (std::unique_ptr< SourceGroupInterface > group) override |
| Handles a new SourceGroup, applies the DeblendSteps and then notifies the observers with the result. | |
| void | receiveProcessSignal (const ProcessSourcesEvent &event) override |
| std::set< PropertyId > | requiredProperties () const |
| Returns the set of required properties to compute the deblending. | |
| Public Member Functions inherited from SourceXtractor::PipelineReceiver< SourceGroupInterface > | |
| virtual | ~PipelineReceiver ()=default |
| Public Member Functions inherited from SourceXtractor::PipelineEmitter< SourceGroupInterface > | |
| ~PipelineEmitter () override=default | |
| void | setNextStage (std::shared_ptr< PipelineReceiver< SourceGroupInterface > > next) |
| Public Member Functions inherited from SourceXtractor::Observable< SourceGroupInterface > | |
| virtual | ~Observable ()=default |
| Destructor. | |
| virtual void | addObserver (std::shared_ptr< Observer< SourceGroupInterface > > observer) |
| Adds an Observer that will be notified when notify Observers is called. | |
| virtual void | removeObserver (std::shared_ptr< Observer< SourceGroupInterface > > observer) |
| Removes a previously added Observer from the list of Observers to notify. | |
Private Attributes | |
| std::vector< std::shared_ptr< DeblendStep > > | m_deblend_steps |
Additional Inherited Members | |
| Protected Member Functions inherited from SourceXtractor::PipelineEmitter< SourceGroupInterface > | |
| void | sendSource (std::unique_ptr< SourceGroupInterface > source) const |
| void | sendProcessSignal (const ProcessSourcesEvent &event) const |
| Protected Member Functions inherited from SourceXtractor::Observable< SourceGroupInterface > | |
| void | notifyObservers (const SourceGroupInterface &message) const |
Performs a number of steps on a SourceGroup that can add or remove Sources for deblending the group.
Definition at line 56 of file Deblending.h.
|
virtualdefault |
Destructor.
|
explicit |
Constructor - takes a vector of DeblendStep to be applied, in order, to every SourceGroup.
Definition at line 27 of file Deblending.cpp.
References m_deblend_steps, and std::move().

|
overridevirtual |
Receive a signal to process sources when grouping
| event |
Implements SourceXtractor::PipelineReceiver< SourceGroupInterface >.
Definition at line 53 of file Deblending.cpp.
References SourceXtractor::PipelineEmitter< SourceGroupInterface >::sendProcessSignal().

|
overridevirtual |
Handles a new SourceGroup, applies the DeblendSteps and then notifies the observers with the result.
Implements SourceXtractor::PipelineReceiver< SourceGroupInterface >.
Definition at line 31 of file Deblending.cpp.
References m_deblend_steps, std::move(), and SourceXtractor::PipelineEmitter< SourceGroupInterface >::sendSource().

| std::set< PropertyId > SourceXtractor::Deblending::requiredProperties | ( | ) | const |
Returns the set of required properties to compute the deblending.
Definition at line 44 of file Deblending.cpp.
References std::copy(), std::set< K >::end(), std::inserter(), and m_deblend_steps.

|
private |
Definition at line 75 of file Deblending.h.
Referenced by Deblending(), receiveSource(), and requiredProperties().