SourceXtractorPlusPlus  0.10
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::Deblending Class Reference

Performs a number of steps on a SourceGroup that can add or remove Sources for deblending the group. More...

#include <Deblending.h>

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

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...
 
- Public Member Functions inherited from SourceXtractor::Observer< std::shared_ptr< SourceGroupInterface > >
virtual ~Observer ()=default
 
- Public Member Functions inherited from SourceXtractor::Observable< std::shared_ptr< SourceGroupInterface > >
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

- Protected Member Functions inherited from SourceXtractor::Observable< std::shared_ptr< SourceGroupInterface > >
void notifyObservers (const std::shared_ptr< SourceGroupInterface > &message) const
 

Detailed Description

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.

Constructor & Destructor Documentation

virtual SourceXtractor::Deblending::~Deblending ( )
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().

Here is the call graph for this function:

Member Function Documentation

void SourceXtractor::Deblending::handleMessage ( const std::shared_ptr< SourceGroupInterface > &  group)
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().

Here is the call graph for this function:

Member Data Documentation

std::vector<std::shared_ptr<DeblendStep> > SourceXtractor::Deblending::m_deblend_steps
private

Definition at line 68 of file Deblending.h.

Referenced by handleMessage().


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