LCOV - code coverage report
Current view: top level - base_comm/resources/ccu/ccu_device - ccu_drv_handle.h (source / functions) Coverage Total Hit
Test: coverage.info Lines: 100.0 % 1 1
Test Date: 2026-08-18 17:47:01 Functions: 100.0 % 1 1

            Line data    Source code
       1              : /**
       2              :  * Copyright (c) 2025 Huawei Technologies Co., Ltd.
       3              :  * This program is free software, you can redistribute it and/or modify it under the terms and conditions of
       4              :  * CANN Open Software License Agreement Version 2.0 (the "License").
       5              :  * Please refer to the License for details. You may not use this file except in compliance with the License.
       6              :  * THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR IMPLIED,
       7              :  * INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY, OR FITNESS FOR A PARTICULAR PURPOSE.
       8              :  * See LICENSE in the root of the software repository for the full text of the License.
       9              :  */
      10              : 
      11              : #ifndef CCU_DRV_HANDLE_H
      12              : #define CCU_DRV_HANDLE_H
      13              : 
      14              : #include "ccu_types.h"
      15              : 
      16              : namespace hcomm {
      17              : 
      18              : class CcuDrvHandle {
      19              : public:
      20           69 :     CcuDrvHandle(const int32_t deviceLogicId) : devLogicId_(deviceLogicId) {};
      21              :     ~CcuDrvHandle();
      22              : 
      23              :     CcuResult Init();
      24              : 
      25              : private:
      26              :     CcuResult Deinit();
      27              : 
      28              : private:
      29              :     int32_t devLogicId_{0};
      30              :     uint32_t devPhyId_{0};
      31              :     void* tlvHandle_{nullptr};
      32              : };
      33              : 
      34              : } // namespace hcomm
      35              : #endif // CCU_DRV_HANDLE_H
        

Generated by: LCOV version 2.0-1