LCOV - code coverage report
Current view: top level - src/impl - getter_impl.cc (source / functions) Hit Total Coverage
Test: vlink Lines: 6 6 100.0 %
Date: 2026-06-27 19:56:04 Functions: 6 7 85.7 %
Branches: 0 0 -

           Branch data     Line data    Source code
       1                 :            : /*
       2                 :            :  * Copyright (C) 2026 by Thun Lu. All rights reserved.
       3                 :            :  * Author: Thun Lu <thun.lu@zohomail.cn>
       4                 :            :  * Repo:   https://github.com/thun-res/vlink
       5                 :            :  *  _    __   __      _           __
       6                 :            :  * | |  / /  / /     (_) ____    / /__
       7                 :            :  * | | / /  / /     / / / __ \  / //_/
       8                 :            :  * | |/ /  / /___  / / / / / / / ,<
       9                 :            :  * |___/  /_____/ /_/ /_/ /_/ /_/|_|
      10                 :            :  *
      11                 :            :  * Licensed under the Apache License, Version 2.0 (the "License");
      12                 :            :  * you may not use this file except in compliance with the License.
      13                 :            :  * You may obtain a copy of the License at
      14                 :            :  *
      15                 :            :  *     http://www.apache.org/licenses/LICENSE-2.0
      16                 :            :  *
      17                 :            :  * Unless required by applicable law or agreed to in writing, software
      18                 :            :  * distributed under the License is distributed on an "AS IS" BASIS,
      19                 :            :  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
      20                 :            :  * See the License for the specific language governing permissions and
      21                 :            :  * limitations under the License.
      22                 :            :  */
      23                 :            : 
      24                 :            : #include "./impl/getter_impl.h"
      25                 :            : 
      26                 :            : namespace vlink {
      27                 :            : 
      28                 :            : // GetterImpl
      29                 :        101 : GetterImpl::~GetterImpl() = default;
      30                 :            : 
      31                 :        101 : GetterImpl::GetterImpl() : NodeImpl(kGetter) {}
      32                 :            : 
      33                 :          2 : void GetterImpl::set_latency_and_lost_enabled(bool enable) { (void)enable; }
      34                 :            : 
      35                 :          3 : bool GetterImpl::is_latency_and_lost_enabled() const { return false; }
      36                 :            : 
      37                 :          2 : int64_t GetterImpl::get_latency() const { return 0; }
      38                 :            : 
      39                 :          1 : SampleLostInfo GetterImpl::get_lost() const { return SampleLostInfo(); }
      40                 :            : 
      41                 :            : }  // namespace vlink

Generated by: LCOV version 1.14