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

Public Types | |
| using | DataElementType = std::bitset<common::HIT_DATA_BIT_LENGTH> |
| using | ReceiveDataSquence = std::vector<DataElementType> |
| Public Types inherited from srs::process::BaseTask< std::string_view, const StructData * > | |
| using | InputType |
| using | OutputType |
| using | RunResult |
Public Member Functions | |
| StructDeserializer (size_t n_lines=1) | |
| auto | operator() (std::size_t line_number=0) const -> OutputType |
| auto | run (const OutputTo< InputType > auto &prev_data_converter, std::size_t line_number=0) -> RunResult |
| Public Member Functions inherited from srs::process::ConverterTask< DataConvertOptions::structure, std::string_view, const StructData * > | |
| ConverterTask (std::string_view name, DataConvertOptions prev_convert, std::size_t n_lines=1) | |
| Public Member Functions inherited from srs::process::BaseTask< std::string_view, const StructData * > | |
| 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 auto | convert (std::string_view binary_data, StructData &output, ReceiveDataSquence &body_part_data) -> std::expected< std::size_t, std::string_view > |
| static void | translate_raw_data (StructData &struct_data, ReceiveDataSquence &receive_raw_data) |
| static void | byte_reverse_data_sq (ReceiveDataSquence &receive_raw_data) |
| static auto | check_is_hit (const DataElementType &element) -> bool |
Private Attributes | |
| std::vector< ReceiveDataSquence > | raw_body_part_data_ |
| std::vector< StructData > | output_data_ |
Additional Inherited Members | |
| Static Public Attributes inherited from srs::process::ConverterTask< DataConvertOptions::structure, std::string_view, const StructData * > | |
| static constexpr auto | converter_type |
Definition at line 27 of file StructDeserializer.hpp.
| using srs::process::StructDeserializer::DataElementType = std::bitset<common::HIT_DATA_BIT_LENGTH> |
Definition at line 30 of file StructDeserializer.hpp.
| using srs::process::StructDeserializer::ReceiveDataSquence = std::vector<DataElementType> |
Definition at line 31 of file StructDeserializer.hpp.
|
explicit |
Definition at line 83 of file StructDeserializer.cpp.
|
staticprivate |
Definition at line 137 of file StructDeserializer.cpp.
|
inlinestaticprivate |
Definition at line 59 of file StructDeserializer.hpp.
|
staticprivate |
Definition at line 91 of file StructDeserializer.cpp.
|
inlinenodiscard |
Definition at line 34 of file StructDeserializer.hpp.
|
inline |
Definition at line 40 of file StructDeserializer.hpp.
|
staticprivate |
Definition at line 120 of file StructDeserializer.cpp.
|
private |
Definition at line 53 of file StructDeserializer.hpp.
|
private |
Definition at line 52 of file StructDeserializer.hpp.