SRS-control 0.1.4
 
Loading...
Searching...
No Matches
srs::process::Raw2DelimRawConverter Class Reference

#include <RawToDelimRawConveter.hpp>

Collaboration diagram for srs::process::Raw2DelimRawConverter:

Public Types

using SizeType = common::RawDelimSizeType
 
- Public Types inherited from srs::process::DataConverterBase< std::string_view, std::string_view >
using InputType
 
using OutputType
 
using InputFuture
 
using OutputFuture
 
using CoroType
 

Public Member Functions

 Raw2DelimRawConverter (asio::thread_pool &thread_pool)
 
auto data () const -> OutputType
 
- Public Member Functions inherited from srs::process::DataConverterBase< std::string_view, std::string_view >
 DataConverterBase (auto coro)
 
auto create_future (this auto &&self, InputFuture &pre_fut, writer::Manager &writers) -> OutputFuture
 

Static Public Attributes

static constexpr auto ConverterOption = std::array{ raw_frame }
 

Private Member Functions

auto generate_coro (asio::any_io_executor) -> CoroType
 

Static Private Member Functions

static void convert (std::string_view input, std::vector< char > &output)
 

Private Attributes

std::vector< char > output_data_
 

Detailed Description

Definition at line 9 of file RawToDelimRawConveter.hpp.

Member Typedef Documentation

◆ SizeType

Constructor & Destructor Documentation

◆ Raw2DelimRawConverter()

srs::process::Raw2DelimRawConverter::Raw2DelimRawConverter ( asio::thread_pool & thread_pool)
inlineexplicit

Definition at line 12 of file RawToDelimRawConveter.hpp.

Member Function Documentation

◆ convert()

static void srs::process::Raw2DelimRawConverter::convert ( std::string_view input,
std::vector< char > & output )
inlinestaticprivate

Definition at line 53 of file RawToDelimRawConveter.hpp.

◆ data()

auto srs::process::Raw2DelimRawConverter::data ( ) const -> OutputType
inlinenodiscard

Definition at line 20 of file RawToDelimRawConveter.hpp.

◆ generate_coro()

auto srs::process::Raw2DelimRawConverter::generate_coro ( asio::any_io_executor ) -> CoroType
inlineprivate

Definition at line 29 of file RawToDelimRawConveter.hpp.

Member Data Documentation

◆ ConverterOption

auto srs::process::Raw2DelimRawConverter::ConverterOption = std::array{ raw_frame }
staticconstexpr

Definition at line 18 of file RawToDelimRawConveter.hpp.

◆ output_data_

std::vector<char> srs::process::Raw2DelimRawConverter::output_data_
private

Definition at line 26 of file RawToDelimRawConveter.hpp.


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