|
SourceXtractorPlusPlus 1.0.3
SourceXtractor++, the next generation SExtractor
|
Defines the interface used to group sources. More...
#include <SourceGroupInterface.h>


Classes | |
| class | SourceWrapper |
Public Types | |
| using | iterator = std::list<SourceWrapper>::iterator |
| using | const_iterator = std::list<SourceWrapper>::const_iterator |
Public Member Functions | |
| virtual iterator | begin ()=0 |
| virtual iterator | end ()=0 |
| virtual const_iterator | cbegin () const =0 |
| virtual const_iterator | cend () const =0 |
| virtual const_iterator | begin () const =0 |
| virtual const_iterator | end () const =0 |
| virtual void | addSource (std::unique_ptr< SourceInterface > source)=0 |
| virtual iterator | removeSource (iterator pos)=0 |
| virtual void | merge (SourceGroupInterface &&other)=0 |
| virtual unsigned int | size () const =0 |
| template<typename SourceCollection> | |
| void | addAllSources (SourceCollection &&sources) |
| Convenient method to add all the sources of a collection. | |
| template<typename PropertyType> | |
| const PropertyType & | getProperty (unsigned int index=0) const |
| Convenience template method to call getProperty() with a more user-friendly syntax. | |
| virtual const Property & | getProperty (const PropertyId &property_id) const=0 |
| template<typename PropertyType, typename ... Args> | |
| void | setProperty (Args... args) |
| virtual void | setProperty (std::unique_ptr< Property > property, const PropertyId &property_id)=0 |
| template<typename PropertyType, typename ... Args> | |
| void | setIndexedProperty (std::size_t index, Args... args) |
| Convenience template method to call setProperty() with a more user-friendly syntax. | |
Private Types | |
| template<typename Collection> | |
| using | CollectionType = typename std::iterator_traits<typename Collection::iterator>::value_type |
Additional Inherited Members | |
| Protected Member Functions inherited from SourceXtractor::SourceInterface | |
| virtual | ~SourceInterface ()=default |
| Destructor. | |
| template<typename PropertyType> | |
| const PropertyType & | getProperty (unsigned int index=0) const |
| Convenience template method to call getProperty() with a more user-friendly syntax. | |
| template<typename PropertyType, typename ... Args> | |
| void | setIndexedProperty (std::size_t index, Args... args) |
| Convenience template method to call setProperty() with a more user-friendly syntax. | |
| template<typename PropertyType, typename ... Args> | |
| void | setProperty (Args... args) |
Defines the interface used to group sources.
Warning: please note that the order in which the sources are added to a group is not preserved.
Definition at line 38 of file SourceGroupInterface.h.
|
private |
Definition at line 41 of file SourceGroupInterface.h.
| using SourceXtractor::SourceGroupInterface::const_iterator = std::list<SourceWrapper>::const_iterator |
Definition at line 79 of file SourceGroupInterface.h.
| using SourceXtractor::SourceGroupInterface::iterator = std::list<SourceWrapper>::iterator |
Definition at line 78 of file SourceGroupInterface.h.
|
inline |
Convenient method to add all the sources of a collection.
Definition at line 95 of file SourceGroupInterface.h.
References addSource(), and std::move().

|
pure virtual |
Implemented in SourceXtractor::SimpleSourceGroup, and SourceXtractor::SourceGroupWithOnDemandProperties.
Referenced by addAllSources(), SourceXtractor::Cleaning::deblend(), and SourceXtractor::SourceGrouping::receiveSource().
|
pure virtual |
Implemented in SourceXtractor::SimpleSourceGroup, and SourceXtractor::SourceGroupWithOnDemandProperties.
|
pure virtual |
Implemented in SourceXtractor::SimpleSourceGroup, and SourceXtractor::SourceGroupWithOnDemandProperties.
Referenced by SourceXtractor::JacobianGroupTask::computeProperties(), SourceXtractor::MeasurementFrameGroupRectangleTask::computeProperties(), SourceXtractor::FlexibleModelFittingTask::createFrameModel(), SourceXtractor::FlexibleModelFittingTask::createImageCopy(), SourceXtractor::FlexibleModelFittingTask::createWeightImage(), SourceXtractor::Cleaning::deblend(), and SourceXtractor::Cleaning::shouldClean().
|
pure virtual |
Implemented in SourceXtractor::SimpleSourceGroup, and SourceXtractor::SourceGroupWithOnDemandProperties.
Referenced by SourceXtractor::DetectionFrameGroupStampTask::computeProperties(), SourceXtractor::GroupIdCheckImage::handleMessage(), SourceXtractor::MoffatCheckImage::handleMessage(), and SourceXtractor::SourceIdCheckImage::handleMessage().
|
pure virtual |
Implemented in SourceXtractor::SimpleSourceGroup, and SourceXtractor::SourceGroupWithOnDemandProperties.
|
pure virtual |
Implemented in SourceXtractor::SimpleSourceGroup, and SourceXtractor::SourceGroupWithOnDemandProperties.
|
pure virtual |
Implemented in SourceXtractor::SimpleSourceGroup, and SourceXtractor::SourceGroupWithOnDemandProperties.
Referenced by SourceXtractor::Cleaning::deblend(), and SourceXtractor::Cleaning::shouldClean().
|
virtual |
Returns a reference to the requested property. The property may be computed if needed Throws a PropertyNotFoundException if the property cannot be provided.
Implements SourceXtractor::SourceInterface.
Reimplemented in SourceXtractor::SourceGroupWithOnDemandProperties.
|
inline |
Convenience template method to call getProperty() with a more user-friendly syntax.
Definition at line 57 of file SourceInterface.h.
Referenced by SourceXtractor::FlexibleModelFittingTask::computeChiSquared(), SourceXtractor::JacobianGroupTask::computeProperties(), SourceXtractor::MeasurementFrameGroupRectangleTask::computeProperties(), SourceXtractor::FlexibleModelFittingTask::createFrameModel(), SourceXtractor::FlexibleModelFittingTask::createImageCopy(), SourceXtractor::FlexibleModelFittingTask::createWeightImage(), SourceXtractor::getCoordX(), SourceXtractor::getCoordY(), SourceXtractor::GroupIdCheckImage::handleMessage(), SourceXtractor::FlexibleModelFittingTask::isFrameValid(), and SourceXtractor::FlexibleModelFittingTask::updateCheckImages().
|
pure virtual |
Implemented in SourceXtractor::SimpleSourceGroup, and SourceXtractor::SourceGroupWithOnDemandProperties.
Referenced by SourceXtractor::SourceGrouping::receiveSource().
Implemented in SourceXtractor::SimpleSourceGroup, and SourceXtractor::SourceGroupWithOnDemandProperties.
Referenced by SourceXtractor::Cleaning::deblend().
|
inline |
Convenience template method to call setProperty() with a more user-friendly syntax.
Definition at line 64 of file SourceInterface.h.
Referenced by SourceXtractor::JacobianGroupTask::computeProperties(), SourceXtractor::MeasurementFrameGroupRectangleTask::computeProperties(), and SourceXtractor::PsfTask::computeProperties().
|
inline |
Definition at line 72 of file SourceInterface.h.
Referenced by SourceXtractor::DetectionFrameGroupStampTask::computeProperties(), and SourceXtractor::GroupInfoTask::computeProperties().
|
virtual |
Implements SourceXtractor::SourceInterface.
Reimplemented in SourceXtractor::SourceGroupWithOnDemandProperties.
|
pure virtual |
Implemented in SourceXtractor::SimpleSourceGroup, and SourceXtractor::SourceGroupWithOnDemandProperties.
Referenced by SourceXtractor::FlexibleModelFittingIterativeTask::computeProperties(), SourceXtractor::PsfTask::computeProperties(), SourceXtractor::Cleaning::deblend(), SourceXtractor::ProgressMediator::GroupCounter::handleMessage(), and SourceXtractor::SourceGrouping::receiveSource().