| Line | Branch | Exec | Source |
|---|---|---|---|
| 1 | #pragma once | ||
| 2 | |||
| 3 | #include <string> | ||
| 4 | #include <vector> | ||
| 5 | |||
| 6 | #include "akimov_i_star/common/include/common.hpp" | ||
| 7 | #include "task/include/task.hpp" | ||
| 8 | |||
| 9 | namespace akimov_i_star { | ||
| 10 | |||
| 11 | class AkimovIStarSEQ : public BaseTask { | ||
| 12 | public: | ||
| 13 | static constexpr ppc::task::TypeOfTask GetStaticTypeOfTask() { | ||
| 14 | return ppc::task::TypeOfTask::kSEQ; | ||
| 15 | } | ||
| 16 | explicit AkimovIStarSEQ(const InType &in); | ||
| 17 | |||
| 18 | ✗ | struct Op { | |
| 19 | int src = 0; | ||
| 20 | int dst = 0; | ||
| 21 | std::string msg; | ||
| 22 | }; | ||
| 23 | |||
| 24 | private: | ||
| 25 | bool ValidationImpl() override; | ||
| 26 | bool PreProcessingImpl() override; | ||
| 27 | bool RunImpl() override; | ||
| 28 | bool PostProcessingImpl() override; | ||
| 29 | |||
| 30 | InType input_buffer_; | ||
| 31 | int received_count_ = 0; | ||
| 32 | std::vector<Op> ops_; | ||
| 33 | }; | ||
| 34 | |||
| 35 | } // namespace akimov_i_star | ||
| 36 |