|
srs-control 0.2.2
|
#include <BinaryFileWriter.hpp>

Public Member Functions | |
| BinaryFile (const std::string &filename, process::DataConvertOptions convert_mode, std::size_t n_lines) | |
| BinaryFile (const BinaryFile &)=delete | |
| BinaryFile (BinaryFile &&) noexcept=default | |
| BinaryFile & | operator= (const BinaryFile &)=delete |
| BinaryFile & | operator= (BinaryFile &&) noexcept=default |
| ~BinaryFile () | |
| auto | run (const OutputTo< InputType > auto &prev_data_converter, std::size_t line_number=0) -> RunResult |
| void | close () |
| auto | get_filename () const -> const std::string & |
| auto | operator() (std::size_t line_number=0) const -> OutputType |
| Public Member Functions inherited from srs::process::SinkTask< DataWriterOption::bin, std::string_view, std::size_t > | |
| SinkTask (std::string_view name, DataConvertOptions prev_convert, std::size_t n_lines=1) | |
| Public Member Functions inherited from srs::process::BaseTask< std::string_view, std::size_t > | |
| BaseTask (std::string_view name, DataConvertOptions prev_convert, std::size_t n_lines=1) | |
| ~BaseTask () | |
| auto | get_n_lines () const -> std::size_t |
| auto | get_required_conversion () const -> DataConvertOptions |
| auto | get_name () const -> std::string_view |
| auto | get_name_str () const -> std::string |
| void | set_report (AppReport *task_report) |
| auto | run_once (this auto &&self, const OutputTo< InputType > auto &prev_data_converter, std::size_t line_number=0) -> RunResult |
Static Public Attributes | |
| static constexpr auto | IsStructType = false |
| Static Public Attributes inherited from srs::process::SinkTask< DataWriterOption::bin, std::string_view, std::size_t > | |
| static constexpr auto | writer_type |
Private Attributes | |
| std::string | file_name_ |
| std::vector< OutputType > | output_data_ |
| std::vector< std::ofstream > | output_streams_ |
Additional Inherited Members | |
| Public Types inherited from srs::process::BaseTask< std::string_view, std::size_t > | |
| using | InputType |
| using | OutputType |
| using | RunResult |
| Protected Member Functions inherited from srs::process::BaseTask< std::string_view, std::size_t > | |
| auto | get_report () -> AppReport * |
Definition at line 18 of file BinaryFileWriter.hpp.
| srs::sink::BinaryFile::BinaryFile | ( | const std::string & | filename, |
| process::DataConvertOptions | convert_mode, | ||
| std::size_t | n_lines ) |
Definition at line 17 of file BinaryFileWriter.cpp.
|
delete |
|
defaultnoexcept |
| srs::sink::BinaryFile::~BinaryFile | ( | ) |
Definition at line 35 of file BinaryFileWriter.cpp.
| void srs::sink::BinaryFile::close | ( | ) |
Definition at line 46 of file BinaryFileWriter.cpp.
|
inlinenodiscard |
Definition at line 40 of file BinaryFileWriter.hpp.
|
inlinenodiscard |
Definition at line 41 of file BinaryFileWriter.hpp.
|
defaultnoexcept |
|
delete |
|
inline |
Definition at line 30 of file BinaryFileWriter.hpp.
|
private |
Definition at line 47 of file BinaryFileWriter.hpp.
|
staticconstexpr |
Definition at line 21 of file BinaryFileWriter.hpp.
|
private |
Definition at line 48 of file BinaryFileWriter.hpp.
|
private |
Definition at line 49 of file BinaryFileWriter.hpp.