LCOV - code coverage report
Current view: top level - base_comm/resources/endpoints - ub_rtp_endpoint.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 % 2 2

            Line data    Source code
       1              : /**
       2              :  * Copyright (c) 2026 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              : #ifndef UB_RTP_ENDPOINT_H
      11              : #define UB_RTP_ENDPOINT_H
      12              : 
      13              : #include "uboe_ub_rtp_endpoint_helper.h"
      14              : 
      15              : namespace hcomm {
      16              : /**
      17              :  * @note 职责:AICPU通信引擎+UB_RTP协议的通信设备Endpoint,管理通信设备上下文,以及设备上的注册内存。
      18              :  *       UB_RTP的Init直接使用EID地址(不做IP→EID转换),rdmaHandle通过EID直接获取。
      19              :  */
      20              : class UbRtpEndpoint : public UboeUbRtpEndpointHelper {
      21              : public:
      22              :     explicit UbRtpEndpoint(const EndpointDesc& endpointDesc);
      23            4 :     ~UbRtpEndpoint() = default;
      24              : 
      25              :     HcclResult Init() override;
      26              : };
      27              : 
      28              : } // namespace hcomm
      29              : 
      30              : #endif // UB_RTP_ENDPOINT_H
        

Generated by: LCOV version 2.0-1