Class that enables an adaptive application to interact with Execution Management. More...
#include <execution_client.h>
Public Member Functions | |
ExecutionClient (core::InstanceSpecifier instanceSpecifier, com::someip::rpc::RpcClient *rpcClient, int64_t timeout=30) | |
Constructor. More... | |
ara::core::Result< void > | ReportExecutionState (ExecutionState state) const |
Report the application internal state to Execution Management. More... | |
Class that enables an adaptive application to interact with Execution Management.
ara::exec::ExecutionClient::ExecutionClient | ( | core::InstanceSpecifier | instanceSpecifier, |
com::someip::rpc::RpcClient * | rpcClient, | ||
int64_t | timeout = 30 |
||
) |
Constructor.
instanceSpecifier | Adaptive application instance shortname-path |
rpcClient | RPC client abstraction layer |
timeout | RPC request timeout in seconds |
std::invalid_argument | Throws when timeout is not positive |
ara::core::Result< void > ara::exec::ExecutionClient::ReportExecutionState | ( | ExecutionState | state | ) | const |
Report the application internal state to Execution Management.
state | Application current internal state |