LCOV - code coverage report
Current view: top level - src/Module/Stateful/Controller/Controller_static - Controller_static.cpp (source / functions) Hit Total Coverage
Test: streampu_clean.info Lines: 13 13 100.0 %
Date: 2025-01-11 12:25:42 Functions: 3 3 100.0 %

          Line data    Source code
       1             : #include <string>
       2             : 
       3             : #include "Module/Stateful/Controller/Controller_static/Controller_static.hpp"
       4             : 
       5             : using namespace spu;
       6             : using namespace spu::module;
       7             : 
       8           9 : Controller_static::Controller_static(const size_t init_path)
       9           9 :   : Controller(init_path)
      10             : {
      11           9 :     const std::string name = "Controller_static";
      12           9 :     this->set_name(name);
      13           9 :     this->tasks[0]->set_replicability(true);
      14           9 : }
      15             : 
      16             : Controller_static*
      17         385 : Controller_static::clone() const
      18             : {
      19         385 :     auto m = new Controller_static(*this);
      20         385 :     m->deep_copy(*this);
      21         385 :     return m;
      22             : }
      23             : 
      24             : void
      25         531 : Controller_static::_control(int8_t* out, const size_t frame_id)
      26             : {
      27         531 :     out[0] = this->path;
      28         531 : }

Generated by: LCOV version 1.14