From a1b0ceea9e97e177184c27d1e673f74c78a3e5c5 Mon Sep 17 00:00:00 2001 From: TAJAN Romain Date: Tue, 26 Mar 2024 16:17:36 +0100 Subject: [PATCH] Add getter for modules of original_sequence in Pipeline. --- include/Runtime/Pipeline/Pipeline.hpp | 2 ++ src/Runtime/Pipeline/Pipeline.cpp | 6 ++++++ 2 files changed, 8 insertions(+) diff --git a/include/Runtime/Pipeline/Pipeline.hpp b/include/Runtime/Pipeline/Pipeline.hpp index 719e5ba..c921d79 100644 --- a/include/Runtime/Pipeline/Pipeline.hpp +++ b/include/Runtime/Pipeline/Pipeline.hpp @@ -177,10 +177,12 @@ class Pipeline : public tools::Interface_get_set_n_frames std::vector get_modules(const bool set_modules = true) const; std::vector> get_modules_per_threads() const; std::vector> get_modules_per_types () const; + std::vector> get_original_modules () const; std::vector> get_tasks_per_threads() const; std::vector> get_tasks_per_types () const; + inline const std::vector>& get_firsts_tasks() const; inline const std::vector>& get_lasts_tasks() const; diff --git a/src/Runtime/Pipeline/Pipeline.cpp b/src/Runtime/Pipeline/Pipeline.cpp index 0214e92..002e118 100644 --- a/src/Runtime/Pipeline/Pipeline.cpp +++ b/src/Runtime/Pipeline/Pipeline.cpp @@ -1439,6 +1439,12 @@ ::get_modules_per_types() const return modules_per_types; } +std::vector> Pipeline +::get_original_modules() const +{ + return this->original_sequence.get_modules_per_types(); +} + std::vector> Pipeline ::get_tasks_per_threads() const {