LCOV - code coverage report
Current view: top level - source - IPullModePlaybackDelegate.h (source / functions) Coverage Total Hit
Test: coverage.info Lines: 100.0 % 2 2
Test Date: 2025-08-11 12:19:57 Functions: 100.0 % 2 2

            Line data    Source code
       1              : /*
       2              :  * Copyright (C) 2025 Sky UK
       3              :  *
       4              :  * This library is free software; you can redistribute it and/or
       5              :  * modify it under the terms of the GNU Lesser General Public
       6              :  * License as published by the Free Software Foundation;
       7              :  * version 2.1 of the License.
       8              :  *
       9              :  * This library is distributed in the hope that it will be useful,
      10              :  * but WITHOUT ANY WARRANTY; without even the implied warranty of
      11              :  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
      12              :  * Lesser General Public License for more details.
      13              :  *
      14              :  * You should have received a copy of the GNU Lesser General Public
      15              :  * License along with this library; if not, write to the Free Software
      16              :  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
      17              :  */
      18              : 
      19              : #pragma once
      20              : 
      21              : #include "IPlaybackDelegate.h"
      22              : 
      23              : class IPullModePlaybackDelegate : public IPlaybackDelegate
      24              : {
      25              : public:
      26          369 :     IPullModePlaybackDelegate() = default;
      27          369 :     ~IPullModePlaybackDelegate() override = default;
      28              : 
      29              :     IPullModePlaybackDelegate(const IPullModePlaybackDelegate &) = delete;
      30              :     IPullModePlaybackDelegate(IPullModePlaybackDelegate &&) = delete;
      31              :     IPullModePlaybackDelegate &operator=(const IPullModePlaybackDelegate &) = delete;
      32              :     IPullModePlaybackDelegate &operator=(IPullModePlaybackDelegate &&) = delete;
      33              : 
      34              :     virtual void setSourceId(int32_t sourceId) = 0;
      35              :     virtual void handleFlushCompleted() = 0;
      36              :     virtual GstRefSample getFrontSample() const = 0;
      37              :     virtual void popSample() = 0;
      38              :     virtual bool isEos() const = 0;
      39              :     virtual void lostState() = 0;
      40              : };
        

Generated by: LCOV version 2.0-1