srs-control 0.2.2
Loading...
Searching...
No Matches
srs::process::ConverterTask< Conversion, Input, Output > Class Template Reference

#include <BaseTask.hpp>

Collaboration diagram for srs::process::ConverterTask< Conversion, Input, Output >:

Public Member Functions

 ConverterTask (std::string_view name, DataConvertOptions prev_convert, std::size_t n_lines=1)
Public Member Functions inherited from srs::process::BaseTask< Input, Output >
 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 converter_type = Conversion

Additional Inherited Members

Public Types inherited from srs::process::BaseTask< Input, Output >
using InputType = Input
using OutputType = Output
using RunResult = std::expected<OutputType, std::string_view>
Protected Member Functions inherited from srs::process::BaseTask< Input, Output >
auto get_report () -> AppReport *

Detailed Description

template<DataConvertOptions Conversion, typename Input, typename Output>
class srs::process::ConverterTask< Conversion, Input, Output >

Definition at line 94 of file BaseTask.hpp.

Constructor & Destructor Documentation

◆ ConverterTask()

template<DataConvertOptions Conversion, typename Input, typename Output>
srs::process::ConverterTask< Conversion, Input, Output >::ConverterTask ( std::string_view name,
DataConvertOptions prev_convert,
std::size_t n_lines = 1 )
inlineexplicit

Definition at line 98 of file BaseTask.hpp.

Member Data Documentation

◆ converter_type

template<DataConvertOptions Conversion, typename Input, typename Output>
auto srs::process::ConverterTask< Conversion, Input, Output >::converter_type = Conversion
staticconstexpr

Definition at line 97 of file BaseTask.hpp.


The documentation for this class was generated from the following file: