diff --git a/dataflow_cpp/include/embb/dataflow/internal/outputs.h b/dataflow_cpp/include/embb/dataflow/internal/outputs.h index 2fce315..dee7e9d 100644 --- a/dataflow_cpp/include/embb/dataflow/internal/outputs.h +++ b/dataflow_cpp/include/embb/dataflow/internal/outputs.h @@ -85,6 +85,11 @@ class Outputs, Out, Out, embb::base::internal::Nil, embb::base::internal::Nil> { public: + bool IsFullyConnected() { + return this->template Get<0>().IsConnected() && + this->template Get<1>().IsConnected() && + this->template Get<2>().IsConnected(); + } }; template @@ -92,6 +97,12 @@ class Outputs : public Tuple, Out, Out, Out, embb::base::internal::Nil>{ public: + bool IsFullyConnected() { + return this->template Get<0>().IsConnected() && + this->template Get<1>().IsConnected() && + this->template Get<2>().IsConnected() && + this->template Get<3>().IsConnected(); + } }; template , Out, Out, Out, Out > { public: + bool IsFullyConnected() { + return this->template Get<0>().IsConnected() && + this->template Get<1>().IsConnected() && + this->template Get<2>().IsConnected() && + this->template Get<3>().IsConnected() && + this->template Get<4>().IsConnected(); + } }; } // namespace internal