4#include <tbb/concurrent_queue.h>
30 auto analysis_one(tbb::concurrent_bounded_queue<process::SerializableMsgBuffer>& data_queue,
bool is_blocking)
37 template <process::DataConvertOptions option>
55 [[maybe_unused]]
auto run_processes(
bool is_stopped) -> std::expected<void, std::string_view>;
58 template <process::DataConvertOptions option>
61 if constexpr (option == raw)
65 else if constexpr (option == proto)
71 static_assert(
false,
"Cannot get the data from this option!");
TaskDiagram(Handler *data_processor, asio::thread_pool &thread_pool)
process::Raw2DelimRawConverter raw_to_delim_raw_converter_
process::ProtoSerializer proto_serializer_
process::StructDeserializer struct_deserializer_
auto get_struct_data() -> const auto &
process::SerializableMsgBuffer binary_data_
void set_output_filenames(const std::vector< std::string > &filenames)
auto generate_starting_coro(asio::any_io_executor) -> StartingCoroType
process::Struct2ProtoConverter struct_proto_converter_
TaskDiagram(TaskDiagram &&)=delete
auto get_data() -> std::string_view
TaskDiagram & operator=(const TaskDiagram &)=delete
TaskDiagram & operator=(TaskDiagram &&)=delete
auto analysis_one(tbb::concurrent_bounded_queue< process::SerializableMsgBuffer > &data_queue, bool is_blocking) -> bool
asio::experimental::coro< std::string_view(bool)> StartingCoroType
TaskDiagram(const TaskDiagram &)=delete
process::ProtoDelimSerializer proto_delim_serializer_
auto run_processes(bool is_stopped) -> std::expected< void, std::string_view >