LCOV - code coverage report
Current view: top level - libs/bsw/logger/include/logger - IPersistenceManager.h (source / functions) Coverage Total Hit
Test: coverage.info Lines: 100.0 % 1 1
Test Date: 2026-06-18 08:29:03 Functions: 100.0 % 1 1

            Line data    Source code
       1              : /********************************************************************************
       2              :  * Copyright (c) 2024 Accenture
       3              :  *
       4              :  * This program and the accompanying materials are made available under the
       5              :  * terms of the Apache License Version 2.0 which is available at
       6              :  * https://www.apache.org/licenses/LICENSE-2.0
       7              :  *
       8              :  * SPDX-License-Identifier: Apache-2.0
       9              :  ********************************************************************************/
      10              : 
      11              : #pragma once
      12              : 
      13              : #include <etl/span.h>
      14              : #include <etl/uncopyable.h>
      15              : 
      16              : #include <platform/estdint.h>
      17              : 
      18              : namespace logger
      19              : {
      20              : class IPersistenceManager : public ::etl::uncopyable
      21              : {
      22              : public:
      23              :     virtual bool writeMapping(::etl::span<uint8_t const> const& src) const          = 0;
      24              :     virtual ::etl::span<uint8_t const> readMapping(::etl::span<uint8_t> dest) const = 0;
      25              : 
      26              : protected:
      27            2 :     IPersistenceManager() {}
      28              : };
      29              : 
      30              : } // namespace logger
        

Generated by: LCOV version 2.0-1