|
SourceXtractorPlusPlus 1.0.3
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.
References m_flush_size, m_source_to_row, and m_total_rows_written.
Referenced by SourceXtractor::AsciiOutput::AsciiOutput(), SourceXtractor::FitsOutput::FitsOutput(), and SourceXtractor::LdacOutput::LdacOutput().
|
virtualdefault |
|
inlineoverridevirtual |
Implements SourceXtractor::Output.
Definition at line 28 of file FlushableOutput.h.
References m_rows, m_total_rows_written, and writeRows().
Referenced by outputSource().

|
inlineoverridevirtual |
Implements SourceXtractor::Output.
Reimplemented in SourceXtractor::LdacOutput.
Definition at line 37 of file FlushableOutput.h.
References flush(), m_flush_size, m_rows, and m_source_to_row.
Referenced by SourceXtractor::LdacOutput::outputSource().

|
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 FlushableOutput(), and 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 FlushableOutput(), and outputSource().
|
private |
Definition at line 52 of file FlushableOutput.h.
Referenced by flush(), and FlushableOutput().