Logo
中文版
详情联系: neusar-support@reachauto.com
ara::diag::DoIPGroupIdentification类 参考abstract

DoIPGroupIdentificationInterface. 更多...

#include <doip_group_identification.h>

ara::diag::DoIPGroupIdentification 的协作图:
Collaboration graph

struct  GidStatus
 Response data of positive response message. 更多...
 

Public 成员函数

 DoIPGroupIdentification (const ara::core::InstanceSpecifier &specifier, ReentrancyType reentrancyType)
 Constructor of DoIPGroupIdentification. 更多...
 
virtual ~DoIPGroupIdentification () noexcept
 Destructor of DoIPGroupIdentification. 更多...
 
virtual ara::core::Future< GidStatusGetGidStatus ()=0
 Called to get the current GID state for the DoIP protocol. 更多...
 
ara::core::Result< void > Offer ()
 This Offer will enable the DM to forward request messages to this handler. 更多...
 
void StopOffer ()
 This StopOffer will disable the forwarding of request messages from DM. 更多...
 

详细描述

DoIPGroupIdentificationInterface.

Swsid
SWS_DM_00720
符合标准
yes
非标原因
N/A
种类
class
符号
DoIPGroupIdentification
范围
namespace ara::diag
基类
communication::DiagnosticSkeleton
分类
ara
头文件
ara/diag/doip_group_identification.h
注解
The DoIPGroupIdentification service is used by the DM to obtain the three fields specified in ISO13400 for vehicle announcement.
模板参数
N/A

在文件 第 行定义.

构造及析构函数说明

◆ DoIPGroupIdentification()

ara::diag::DoIPGroupIdentification::DoIPGroupIdentification ( const ara::core::InstanceSpecifier &  specifier,
ReentrancyType  reentrancyType 
)
explicit

Constructor of DoIPGroupIdentification.

模板参数
N/A
参数
[in]specifierInstanceSpecifier to an PortPrototype of an DiagnosticDoIPGroupIdentificationInterface
[in]reentrancyTypespecifies if interface is callable fully- or non-reentrant
[out]N/A
[in,out]N/A
返回
N/A
注解
N/A
异常
N/A
Swsid
SWS_DM_00722
符合标准
yes
非标原因
N/A
种类
function
可见
public
线程安全
no
Fireandforget
no
错误
N/A
头文件
ara/diag/doip_group_identification.h
异常安全
N/A
分类
ara

在文件 第 行定义.

◆ ~DoIPGroupIdentification()

ara::diag::DoIPGroupIdentification::~DoIPGroupIdentification ( )
virtualnoexcept

Destructor of DoIPGroupIdentification.

模板参数
N/A
参数
[in]N/A
[out]N/A
[in,out]N/A
返回
N/A
注解
N/A
异常
N/A
Swsid
SWS_DM_00723
符合标准
yes
非标原因
N/A
种类
function
可见
public
线程安全
no
Fireandforget
no
错误
N/A
头文件
ara/diag/doip_group_identification.h
异常安全
noexcept
分类
ara

在文件 第 行定义.

成员函数说明

◆ GetGidStatus()

virtual ara::core::Future<GidStatus> ara::diag::DoIPGroupIdentification::GetGidStatus ( )
pure virtual

Called to get the current GID state for the DoIP protocol.

模板参数
N/A
参数
[in]N/A
[out]N/A
[in,out]N/A
返回
ara::core::Future<GidStatus>
注解
N/A
异常
N/A
Swsid
SWS_DM_00724
符合标准
yes
非标原因
N/A
种类
function
可见
public
线程安全
no
Fireandforget
no
错误
N/A
头文件
ara/diag/doip_group_identification.h
异常安全
N/A
分类
ara

◆ Offer()

ara::core::Result< void > ara::diag::DoIPGroupIdentification::Offer ( )

This Offer will enable the DM to forward request messages to this handler.

模板参数
N/A
参数
[in]N/A
[out]ara::core::Result<void>
[in,out]N/A
返回
N/A
注解
N/A
异常
N/A
Swsid
SWS_DM_00725
符合标准
yes
非标原因
N/A
种类
function
可见
public
线程安全
no
Fireandforget
no
错误
DiagErrorDomain::DiagReportingErrc::kGenericError
错误
DiagErrorDomain::DiagOfferErrc::kAlreadyOffered
头文件
ara/diag/doip_group_identification.h
异常安全
N/A
分类
ara

在文件 第 行定义.

引用了 ara::diag::kAlreadyOffered.

◆ StopOffer()

void ara::diag::DoIPGroupIdentification::StopOffer ( )

This StopOffer will disable the forwarding of request messages from DM.

模板参数
N/A
参数
[in]N/A
[out]N/A
[in,out]N/A
返回
N/A
注解
N/A
异常
N/A
Swsid
SWS_DM_00726
符合标准
yes
非标原因
N/A
种类
function
可见
public
线程安全
no
Fireandforget
no
错误
N/A
头文件
ara/diag/doip_group_identification.h
异常安全
N/A
分类
ara

在文件 第 行定义.