Skip to content

Commit

Permalink
Add getter for modules of original_sequence in Pipeline.
Browse files Browse the repository at this point in the history
  • Loading branch information
rtajan authored and kouchy committed Mar 28, 2024
1 parent 07480a0 commit a1b0cee
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions include/Runtime/Pipeline/Pipeline.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -177,10 +177,12 @@ class Pipeline : public tools::Interface_get_set_n_frames
std::vector<C*> get_modules(const bool set_modules = true) const;
std::vector<std::vector<module::Module*>> get_modules_per_threads() const;
std::vector<std::vector<module::Module*>> get_modules_per_types () const;
std::vector<std::vector<module::Module*>> get_original_modules () const;

std::vector<std::vector<runtime::Task*>> get_tasks_per_threads() const;
std::vector<std::vector<runtime::Task*>> get_tasks_per_types () const;


inline const std::vector<std::vector<runtime::Task*>>& get_firsts_tasks() const;
inline const std::vector<std::vector<runtime::Task*>>& get_lasts_tasks() const;

Expand Down
6 changes: 6 additions & 0 deletions src/Runtime/Pipeline/Pipeline.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1439,6 +1439,12 @@ ::get_modules_per_types() const
return modules_per_types;
}

std::vector<std::vector<module::Module*>> Pipeline
::get_original_modules() const
{
return this->original_sequence.get_modules_per_types();
}

std::vector<std::vector<runtime::Task*>> Pipeline
::get_tasks_per_threads() const
{
Expand Down

0 comments on commit a1b0cee

Please sign in to comment.