|
SRS-control 0.1.4
|
#include <StructToProtoConverter.hpp>

Public Member Functions | |
| Struct2ProtoConverter (std::size_t n_lines) | |
| auto | operator() (std::size_t line_num) const -> OutputType |
| auto | run (const OutputTo< InputType > auto &prev_data_converter, std::size_t line_number) -> RunResult |
| Public Member Functions inherited from srs::process::ConverterTask< DataConvertOptions::structure_to_proto, const StructData *, const proto::Data * > | |
| ConverterTask (std::string_view name, DataConvertOptions prev_convert, std::size_t n_lines=1) | |
| Public Member Functions inherited from srs::process::BaseTask< const StructData *, const proto::Data * > | |
| 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 Private Member Functions | |
| static void | convert (const StructData &struct_data, proto::Data &output_data) |
Private Attributes | |
| std::vector< proto::Data > | output_data_ |
Additional Inherited Members | |
| Public Types inherited from srs::process::BaseTask< const StructData *, const proto::Data * > | |
| using | InputType |
| using | OutputType |
| using | RunResult |
| Static Public Attributes inherited from srs::process::ConverterTask< DataConvertOptions::structure_to_proto, const StructData *, const proto::Data * > | |
| static constexpr auto | converter_type |
Definition at line 17 of file StructToProtoConverter.hpp.
|
inlineexplicit |
Definition at line 21 of file StructToProtoConverter.hpp.
|
staticprivate |
Definition at line 50 of file StructToProtoConverter.cpp.
|
inlinenodiscard |
Definition at line 27 of file StructToProtoConverter.hpp.
|
inline |
Definition at line 33 of file StructToProtoConverter.hpp.
|
private |
Definition at line 44 of file StructToProtoConverter.hpp.