|
SourceXtractorPlusPlus 0.21
SourceXtractor++, the next generation SExtractor
|
#include <FlushableOutput.h>


Public Types | |
| using | SourceToRowConverter = std::function<Euclid::Table::Row(const SourceInterface&)> |
Public Member Functions | |
| FlushableOutput (SourceToRowConverter source_to_row, size_t flush_size) | |
| virtual | ~FlushableOutput ()=default |
| size_t | flush () override |
| void | outputSource (const SourceInterface &source) override |
Public Member Functions inherited from SourceXtractor::Output | |
| virtual | ~Output ()=default |
| void | receiveSource (std::unique_ptr< SourceGroupInterface > source_group) override |
| void | receiveProcessSignal (const ProcessSourcesEvent &) override |
| virtual void | nextPart ()=0 |
Public Member Functions inherited from SourceXtractor::PipelineReceiver< SourceGroupInterface > | |
| virtual | ~PipelineReceiver ()=default |
Protected Member Functions | |
| virtual void | writeRows (const std::vector< Euclid::Table::Row > &rows)=0 |
Private Attributes | |
| SourceToRowConverter | m_source_to_row |
| size_t | m_flush_size |
| std::vector< Euclid::Table::Row > | m_rows {} |
| size_t | m_total_rows_written |
Definition at line 17 of file FlushableOutput.h.
| using SourceXtractor::FlushableOutput::SourceToRowConverter = std::function<Euclid::Table::Row(const SourceInterface&)> |
Definition at line 20 of file FlushableOutput.h.
|
inline |
Definition at line 22 of file FlushableOutput.h.
|
virtualdefault |
|
inlineoverridevirtual |
Implements SourceXtractor::Output.
Definition at line 28 of file FlushableOutput.h.
References std::vector< T >::clear(), std::vector< T >::empty(), m_rows, m_total_rows_written, std::vector< T >::size(), and writeRows().
Referenced by outputSource().

|
inlineoverridevirtual |
Implements SourceXtractor::Output.
Reimplemented in SourceXtractor::LdacOutput.
Definition at line 37 of file FlushableOutput.h.
References std::vector< T >::emplace_back(), flush(), m_flush_size, m_rows, m_source_to_row, and std::vector< T >::size().

|
protectedpure virtual |
Implemented in SourceXtractor::AsciiOutput, SourceXtractor::FitsOutput, and SourceXtractor::LdacOutput.
Referenced by flush().
|
private |
Definition at line 49 of file FlushableOutput.h.
Referenced by outputSource().
|
private |
Definition at line 51 of file FlushableOutput.h.
Referenced by flush(), and outputSource().
|
private |
Definition at line 48 of file FlushableOutput.h.
Referenced by outputSource().
|
private |
Definition at line 52 of file FlushableOutput.h.
Referenced by flush().