CancellationHandler contains a shared state if the processing should be canceled .
更多...
#include <cancellation_handler.h>
CancellationHandler contains a shared state if the processing should be canceled .
- Swsid
- SWS_DM_00608
- 符合标准
- yes
- 非标原因
- N/A
- 种类
- class
- 符号
- CancellationHandler
- 范围
- namespace ara::diag
- 基类
- N/A
- 分类
- ara
- 头文件
- ara/diag/cancellation_handler.h
- 注解
- N/A
- 模板参数
-
在文件 第 行定义.
◆ CancellationHandler() [1/3]
| ara::diag::CancellationHandler::CancellationHandler |
( |
| ) |
|
|
default |
Constructor of CancellationHandler cannot be used.
- 模板参数
-
- 参数
-
| [in] | N/A | |
| [out] | N/A | |
| [in,out] | N/A | |
- 返回
- N/A
- 注解
- N/A
- 异常
-
- Swsid
- SWS_DM_00609
- 符合标准
- yes
- 非标原因
- N/A
- 种类
- function
- 可见
- public
- 线程安全
- no
- Fireandforget
- no
- 错误
- N/A
- 头文件
- ara/diag/cancellation_handler.h
- 异常安全
- N/A
- 分类
- ara
◆ CancellationHandler() [2/3]
Move constructor of CancellationHandler.
- 模板参数
-
- 参数
-
- 返回
- N/A
- 注解
- N/A
- 异常
-
- Swsid
- SWS_DM_00610
- 符合标准
- yes
- 非标原因
- N/A
- 种类
- function
- 可见
- public
- 线程安全
- no
- Fireandforget
- no
- 错误
- N/A
- 头文件
- ara/diag/cancellation_handler.h
- 异常安全
- noexcept
- 分类
- ara
◆ CancellationHandler() [3/3]
Copy constructor of CancellationHandler cannot be used.
- 模板参数
-
- 参数
-
- 返回
- N/A
- 注解
- N/A
- 异常
-
- Swsid
- SWS_DM_00611
- 符合标准
- yes
- 非标原因
- N/A
- 种类
- function
- 可见
- public
- 线程安全
- no
- Fireandforget
- no
- 错误
- N/A
- 头文件
- ara/diag/cancellation_handler.h
- 异常安全
- N/A
- 分类
- ara
◆ IsCanceled()
| bool ara::diag::CancellationHandler::IsCanceled |
( |
| ) |
const |
Returns true in if the diagnostic service execution is cancelled in DM.
- 模板参数
-
- 参数
-
| [in] | N/A | |
| [out] | N/A | |
| [in,out] | N/A | |
- 返回
- bool
- 注解
- N/A
- 异常
-
- Swsid
- SWS_DM_00614
- 符合标准
- yes
- 非标原因
- N/A
- 种类
- function
- 可见
- public
- 线程安全
- no
- Fireandforget
- no
- 错误
- N/A
- 头文件
- ara/diag/cancellation_handler.h
- 异常安全
- N/A
- 分类
- ara
在文件 第 行定义.
◆ operator=() [1/2]
Move assignment operator of CancellationHandler.
- 模板参数
-
- 参数
-
- 返回
- CancellationHandler &
- 注解
- N/A
- 异常
-
- Swsid
- SWS_DM_00612
- 符合标准
- yes
- 非标原因
- N/A
- 种类
- function
- 可见
- public
- 线程安全
- no
- Fireandforget
- no
- 错误
- N/A
- 头文件
- ara/diag/cancellation_handler.h
- 异常安全
- noexcept
- 分类
- ara
◆ operator=() [2/2]
Copy assignment operator of CancellationHandler cannot be used.
- 模板参数
-
- 参数
-
- 返回
- CancellationHandler &
- 注解
- N/A
- 异常
-
- Swsid
- SWS_DM_00613
- 符合标准
- yes
- 非标原因
- N/A
- 种类
- function
- 可见
- public
- 线程安全
- no
- Fireandforget
- no
- 错误
- N/A
- 头文件
- ara/diag/cancellation_handler.h
- 异常安全
- N/A
- 分类
- ara
◆ SetNotifier()
| void ara::diag::CancellationHandler::SetNotifier |
( |
std::function< void()> |
notifier | ) |
|
Regisering a notifier function which is called if the diagnostic service execution is canceled inDM.
- 模板参数
-
- 参数
-
| [in] | std::function<void()> | |
| [out] | N/A | |
| [in,out] | N/A | |
- 返回
- N/A
- 注解
- N/A
- 异常
-
- Swsid
- SWS_DM_00615
- 符合标准
- yes
- 非标原因
- N/A
- 种类
- function
- 可见
- public
- 线程安全
- no
- Fireandforget
- no
- 错误
- N/A
- 头文件
- ara/diag/cancellation_handler.h
- 异常安全
- N/A
- 分类
- ara
在文件 第 行定义.