| Line | Branch | Exec | Source |
|---|---|---|---|
| 1 | #include "orehov_n_topology_star/seq/include/ops_seq.hpp" | ||
| 2 | |||
| 3 | #include <chrono> | ||
| 4 | #include <thread> | ||
| 5 | #include <vector> | ||
| 6 | |||
| 7 | #include "orehov_n_topology_star/common/include/common.hpp" | ||
| 8 | |||
| 9 | namespace orehov_n_topology_star { | ||
| 10 | |||
| 11 |
1/2✓ Branch 1 taken 40 times.
✗ Branch 2 not taken.
|
40 | OrehovNTopologyStarSEQ::OrehovNTopologyStarSEQ(const InType &in) { |
| 12 | SetTypeOfTask(GetStaticTypeOfTask()); | ||
| 13 | GetInput() = in; | ||
| 14 | 40 | GetOutput() = std::vector<int>(); | |
| 15 | 40 | } | |
| 16 | |||
| 17 | 40 | bool OrehovNTopologyStarSEQ::ValidationImpl() { | |
| 18 | 40 | return true; | |
| 19 | } | ||
| 20 | |||
| 21 | 40 | bool OrehovNTopologyStarSEQ::PreProcessingImpl() { | |
| 22 | 40 | return true; | |
| 23 | } | ||
| 24 | |||
| 25 | 40 | bool OrehovNTopologyStarSEQ::RunImpl() { | |
| 26 | 40 | std::this_thread::sleep_for(std::chrono::milliseconds(2)); | |
| 27 | 40 | GetOutput() = std::get<3>(GetInput()); | |
| 28 | 40 | return true; | |
| 29 | } | ||
| 30 | |||
| 31 | 40 | bool OrehovNTopologyStarSEQ::PostProcessingImpl() { | |
| 32 | 40 | return true; | |
| 33 | } | ||
| 34 | |||
| 35 | } // namespace orehov_n_topology_star | ||
| 36 |