LCOV - code coverage report
Current view: top level - flxlibs/src - FelixIssues.hpp (source / functions) Coverage Total Hit
Test: code.result Lines: 0.0 % 10 0
Test Date: 2025-12-21 13:07:08 Functions: 0.0 % 76 0

            Line data    Source code
       1              : /**
       2              :  * @file FelixIssues.hpp FELIX card related ERS issues
       3              :  *
       4              :  * This is part of the DUNE DAQ , copyright 2020.
       5              :  * Licensing/copyright details are in the COPYING file that you should have
       6              :  * received with this code.
       7              :  */
       8              : #ifndef FLXLIBS_SRC_FELIXISSUES_HPP_
       9              : #define FLXLIBS_SRC_FELIXISSUES_HPP_
      10              : 
      11              : #include <ers/Issue.hpp>
      12              : #include "logging/Logging.hpp" // NOTE: if ISSUES ARE DECLARED BEFORE include logging/Logging.hpp, TLOG_DEBUG<<issue wont work.
      13              : 
      14              : #include <string>
      15              : 
      16              : namespace dunedaq {
      17              : 
      18            0 : ERS_DECLARE_ISSUE(flxlibs, CardError, " FELIX Card Internal Error: " << intererror, ((std::string)intererror))
      19              : 
      20            0 : ERS_DECLARE_ISSUE(flxlibs, InitializationError, " FELIX Initialization Error: " << initerror, ((std::string)initerror))
      21              : 
      22            0 : ERS_DECLARE_ISSUE(flxlibs, ConfigurationError, " FELIX Configuration Error: " << conferror, ((std::string)conferror))
      23              : 
      24            0 : ERS_DECLARE_ISSUE(flxlibs, QueueTimeoutError, " FELIX queue timed out: " << queuename, ((std::string)queuename))
      25              : 
      26            0 : ERS_DECLARE_ISSUE(flxlibs, ChannelAlignment, " Channel not aligned: " << channel, ((int)channel)) // NOLINT
      27              : 
      28            0 : ERS_DECLARE_ISSUE(flxlibs, UnexpectedChunk, " Unexpected chunk size: " << chunksize << " (observed) != " << expected << " (expected)",
      29              :                   ((int)chunksize)((size_t)expected)) // NOLINT
      30              : 
      31            0 : ERS_DECLARE_ISSUE(flxlibs,
      32              :                   ParserOperationQueuePushFailure,
      33              :                   " ParserOps couldn't push to queue! Failed chunk: " << chunk,
      34              :                   ((std::string)chunk))
      35              : 
      36            0 : ERS_DECLARE_ISSUE(flxlibs,
      37              :                   ElinkConfigurationInconsistency,
      38              :                   " Inconsistent number of ELinks requested. Num links: " << num_links,
      39              :                   ((int)num_links)) // NOLINT
      40              : 
      41            0 : ERS_DECLARE_ISSUE(flxlibs,
      42              :                   BlockSizeConfigurationInconsistency,
      43              :                   " Invalid FELIX block size and 32b trailer configuration requested: " << block_size,
      44              :                   ((int)block_size)) // NOLINT
      45              : 
      46            0 : ERS_DECLARE_ISSUE_BASE(flxlibs,
      47              :                        ResourceQueueError,
      48              :                        flxlibs::ConfigurationError,
      49              :                        " The " << queueType << " queue was not successfully created. ",
      50              :                        ((std::string)name),
      51              :                        ((std::string)queueType))
      52              : 
      53              : } // namespace dunedaq
      54              : 
      55              : #endif // FLXLIBS_SRC_FELIXISSUES_HPP_
        

Generated by: LCOV version 2.0-1