DiagnosticOperationCycleInterface provides functionality for handling of operation cycles.
更多...
#include <operation_cycle.h>
|
| | OperationCycle (const ara::core::InstanceSpecifier &specifier) |
| | Constructor for DiagnosticOperationCycleInterface. 更多...
|
| |
| | ~OperationCycle () noexcept=default |
| | Destructor of DiagnosticOperationCycleInterface. 更多...
|
| |
| ara::core::Result< void > | RestartOperationCycle () |
| | Restart operationcycle. 更多...
|
| |
| ara::core::Result< void > | SetNotifier (std::function< void()> notifier) |
| | Registering a notifier function which is called if the operation cycle is changed. 更多...
|
| |
DiagnosticOperationCycleInterface provides functionality for handling of operation cycles.
- Swsid
- SWS_DM_00751
- 符合标准
- yes
- 非标原因
- N/A
- 种类
- class
- 符号
- ara::diag::OperationCycle
- 范围
- namespace ara::diag
- 基类
- N/A
- 分类
- ara
- 头文件
- ara/diag/operation_cycle.h
- 注解
- DiagnosticOperationCycleInterface provides functionality for handling of operation cycles.
- 模板参数
-
在文件 第 行定义.
◆ OperationCycle()
| ara::diag::OperationCycle::OperationCycle |
( |
const ara::core::InstanceSpecifier & |
specifier | ) |
|
|
explicit |
Constructor for DiagnosticOperationCycleInterface.
- 模板参数
-
- 参数
-
| [in] | specifier | InstanceSpecifier to an PortPrototype of an DiagnosticOperationCycleInterface. |
| [out] | N/A | |
| [in,out] | N/A | |
- 返回
- N/A
- 注解
- N/A
- 异常
-
- Swsid
- SWS_DM_00752
- 符合标准
- yes
- 非标原因
- N/A
- 种类
- function
- 可见
- public
- 线程安全
- N/A
- Fireandforget
- N/A
- 错误
- N/A
- 头文件
- ara/diag/operation_cycle.h
- 异常安全
- N/A
- 分类
- ara
在文件 第 行定义.
◆ ~OperationCycle()
| ara::diag::OperationCycle::~OperationCycle |
( |
| ) |
|
|
defaultnoexcept |
Destructor of DiagnosticOperationCycleInterface.
- 模板参数
-
- 参数
-
| [in] | N/A | |
| [out] | N/A | |
| [in,out] | N/A | |
- 返回
- N/A
- 注解
- N/A
- 异常
-
- Swsid
- SWS_DM_00753
- 符合标准
- yes
- 非标原因
- N/A
- 种类
- function
- 可见
- public
- 线程安全
- N/A
- Fireandforget
- N/A
- 错误
- N/A
- 头文件
- ara/diag/operation_cycle.h
- 异常安全
- N/A
- 分类
- ara
◆ RestartOperationCycle()
| ara::core::Result< void > ara::diag::OperationCycle::RestartOperationCycle |
( |
| ) |
|
Restart operationcycle.
- 模板参数
-
- 参数
-
| [in] | N/A | |
| [out] | ara::core::Result<void> | |
| [in,out] | N/A | |
- 返回
- ara::core::Result<void>
- 注解
- N/A
- 异常
-
- Swsid
- SWS_DM_01102
- 符合标准
- yes
- 非标原因
- N/A
- 种类
- function
- 可见
- public
- 线程安全
- N/A
- Fireandforget
- N/A
- 错误
- DiagErrorDomain::DiagReportingErrc::kGenericError Connection to DM lost
- 头文件
- ara/diag/operation_cycle.h
- 异常安全
- N/A
- 分类
- ara
在文件 第 行定义.
◆ SetNotifier()
| ara::core::Result< void > ara::diag::OperationCycle::SetNotifier |
( |
std::function< void()> |
notifier | ) |
|
Registering a notifier function which is called if the operation cycle is changed.
- 模板参数
-
- 参数
-
| [in] | notifier | |
| [out] | ara::core::Result<void> | |
| [in,out] | N/A | |
- 返回
- ara::core::Result<void>
- 注解
- N/A
- 异常
-
- Swsid
- SWS_DM_00755
- 符合标准
- yes
- 非标原因
- N/A
- 种类
- function
- 可见
- public
- 线程安全
- N/A
- Fireandforget
- N/A
- 错误
- DiagErrorDomain::DiagReportingErrc::kGenericError Connection to DM lost
- 头文件
- ara/diag/operation_cycle.h
- 异常安全
- N/A
- 分类
- ara
在文件 第 行定义.