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

#include <DataConverterBase.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)
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

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>

Detailed Description

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

Definition at line 48 of file DataConverterBase.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 52 of file DataConverterBase.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 51 of file DataConverterBase.hpp.


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