|
SourceXtractorPlusPlus 0.21
SourceXtractor++, the next generation SExtractor
|
For each Source it receives, applies PartitionSteps and outputs one or more Sources. More...
#include <Partition.h>


Private Attributes | |
| std::vector< std::shared_ptr< PartitionStep > > | m_steps |
Additional Inherited Members | |
Protected Member Functions inherited from SourceXtractor::PipelineEmitter< SourceInterface > | |
| void | sendSource (std::unique_ptr< SourceInterface > source) const |
| void | sendProcessSignal (const ProcessSourcesEvent &event) const |
Protected Member Functions inherited from SourceXtractor::Observable< T > | |
| void | notifyObservers (const T &message) const |
For each Source it receives, applies PartitionSteps and outputs one or more Sources.
The first PartitionStep is applied to the Source that was received. Each subsequent PartitionStep is applied to the Source(s) produced by the previous step. The Sources resulting from the last step are notified to the Observers one by one.
Definition at line 57 of file Partition.h.
|
virtualdefault |
Destructor.
|
explicit |
Constructor - takes a vector of PartitionSteps to be applied in order.
Definition at line 27 of file Partition.cpp.
|
overridevirtual |
Receive a signal to process sources when grouping
| event |
Implements SourceXtractor::PipelineReceiver< SourceInterface >.
Definition at line 57 of file Partition.cpp.
References SourceXtractor::PipelineEmitter< SourceInterface >::sendProcessSignal().

|
overridevirtual |
Receive a source from the previous stage. The receiver owns the object.
| source |
Implements SourceXtractor::PipelineReceiver< SourceInterface >.
Definition at line 31 of file Partition.cpp.
References m_steps, std::make_move_iterator(), std::move(), and SourceXtractor::PipelineEmitter< SourceInterface >::sendSource().

|
private |
Definition at line 72 of file Partition.h.
Referenced by receiveSource().