LCOV - code coverage report
Current view: top level - include/Module/Stateful/Relayer - Relayer.hxx (source / functions) Hit Total Coverage
Test: streampu_clean.info Lines: 0 8 0.0 %
Date: 2025-01-11 12:25:42 Functions: 0 40 0.0 %

          Line data    Source code
       1             : #include "Module/Stateful/Relayer/Relayer.hpp"
       2             : 
       3             : namespace spu
       4             : {
       5             : namespace module
       6             : {
       7             : 
       8             : template<typename T>
       9             : runtime::Task&
      10           0 : Relayer<T>::operator[](const rly::tsk t)
      11             : {
      12           0 :     return Module::operator[]((size_t)t);
      13             : }
      14             : 
      15             : template<typename T>
      16             : runtime::Socket&
      17           0 : Relayer<T>::operator[](const rly::sck::relay s)
      18             : {
      19           0 :     return Module::operator[]((size_t)rly::tsk::relay)[(size_t)s];
      20             : }
      21             : 
      22             : template<typename T>
      23             : runtime::Socket&
      24           0 : Relayer<T>::operator[](const rly::sck::relayf s)
      25             : {
      26           0 :     return Module::operator[]((size_t)rly::tsk::relayf)[(size_t)s];
      27             : }
      28             : 
      29             : template<typename T>
      30             : runtime::Socket&
      31           0 : Relayer<T>::operator[](const std::string& tsk_sck)
      32             : {
      33           0 :     return Module::operator[](tsk_sck);
      34             : }
      35             : 
      36             : template<typename T>
      37             : template<class A>
      38             : void
      39             : Relayer<T>::relay(const std::vector<T, A>& in, std::vector<T, A>& out, const int frame_id, const bool managed_memory)
      40             : {
      41             :     (*this)[rly::sck::relay::in].bind(in);
      42             :     (*this)[rly::sck::relay::out].bind(out);
      43             :     (*this)[rly::tsk::relay].exec(frame_id, managed_memory);
      44             : }
      45             : 
      46             : }
      47             : }

Generated by: LCOV version 1.14