SourceXtractorPlusPlus
0.12
Please provide a description of the project.
|
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. More... | |
Deblending (std::vector< std::shared_ptr< DeblendStep >> deblend_steps) | |
Constructor - takes a vector of DeblendStep to be applied, in order, to every SourceGroup. More... | |
virtual void | handleMessage (const std::shared_ptr< SourceGroupInterface > &group) override |
Handles a new SourceGroup, applies the DeblendSteps and then notifies the observers with the result. More... | |
![]() | |
virtual | ~Observer ()=default |
![]() | |
virtual | ~Observable ()=default |
Destructor. More... | |
virtual void | addObserver (std::shared_ptr< Observer< std::shared_ptr< SourceGroupInterface > >> observer) |
Adds an Observer that will be notified when notify Observers is called. More... | |
virtual void | removeObserver (std::shared_ptr< Observer< std::shared_ptr< SourceGroupInterface > >> observer) |
Removes a previously added Observer from the list of Observers to notify. More... | |
Private Attributes | |
std::vector< std::shared_ptr < DeblendStep > > | m_deblend_steps |
Additional Inherited Members | |
![]() | |
void | notifyObservers (const std::shared_ptr< SourceGroupInterface > &message) const |
Performs a number of steps on a SourceGroup that can add or remove Sources for deblending the group.
Definition at line 53 of file Deblending.h.
|
virtualdefault |
Destructor.
SourceXtractor::Deblending::Deblending | ( | std::vector< std::shared_ptr< DeblendStep >> | deblend_steps | ) |
Constructor - takes a vector of DeblendStep to be applied, in order, to every SourceGroup.
Definition at line 27 of file Deblending.cpp.
References std::move().
|
overridevirtual |
Handles a new SourceGroup, applies the DeblendSteps and then notifies the observers with the result.
Implements SourceXtractor::Observer< std::shared_ptr< SourceGroupInterface > >.
Definition at line 31 of file Deblending.cpp.
References m_deblend_steps, and SourceXtractor::Observable< std::shared_ptr< SourceGroupInterface > >::notifyObservers().
|
private |
Definition at line 68 of file Deblending.h.
Referenced by handleMessage().