Woman, Life, Freedom


Adaptive AUTOSAR
ARA public interface header documentation
ara::exec::ExecutionServer Class Reference

A class to handle the execution client requests at the EM side. More...

#include <execution_server.h>

Public Member Functions

 ExecutionServer (com::someip::rpc::RpcServer *rpcServer)
 Constructor. More...
 
bool TryGetExecutionState (std::string id, ExecutionState &state)
 Try to get the execution state of an instance specfier. More...
 

Detailed Description

A class to handle the execution client requests at the EM side.

See also
ExecutionClient
Note
The class is not part of the ARA standard.

Constructor & Destructor Documentation

◆ ExecutionServer()

ara::exec::ExecutionServer::ExecutionServer ( com::someip::rpc::RpcServer rpcServer)
explicit

Constructor.

Parameters
rpcServerRPC server abstraction layer

Member Function Documentation

◆ TryGetExecutionState()

bool ara::exec::ExecutionServer::TryGetExecutionState ( std::string  id,
ExecutionState state 
)

Try to get the execution state of an instance specfier.

Parameters
[in]idThe meta-model ID of the instance specifier
[out]stateInstance specifier execution state
Returns
True if the execution state is reported; otherwise false
Remarks
The function is thread-safe.