DoIPGroupIdentificationInterface.
更多...
#include <doip_group_identification.h>
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.
- 模板参数
-
在文件 第 行定义.
◆ DoIPGroupIdentification()
| ara::diag::DoIPGroupIdentification::DoIPGroupIdentification |
( |
const ara::core::InstanceSpecifier & |
specifier, |
|
|
ReentrancyType |
reentrancyType |
|
) |
| |
|
explicit |
Constructor of DoIPGroupIdentification.
- 模板参数
-
- 参数
-
| [in] | specifier | InstanceSpecifier to an PortPrototype of an DiagnosticDoIPGroupIdentificationInterface |
| [in] | reentrancyType | specifies if interface is callable fully- or non-reentrant |
| [out] | N/A | |
| [in,out] | 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.
- 模板参数
-
- 参数
-
| [in] | N/A | |
| [out] | N/A | |
| [in,out] | 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.
- 模板参数
-
- 参数
-
| [in] | N/A | |
| [out] | N/A | |
| [in,out] | N/A | |
- 返回
- ara::core::Future<GidStatus>
- 注解
- 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.
- 模板参数
-
- 参数
-
| [in] | N/A | |
| [out] | ara::core::Result<void> | |
| [in,out] | 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.
- 模板参数
-
- 参数
-
| [in] | N/A | |
| [out] | N/A | |
| [in,out] | 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
在文件 第 行定义.