Woman, Life, Freedom


Adaptive AUTOSAR
ARA public interface header documentation
ara::exec Namespace Reference

Adaptive AUTOSAR Execution Management. More...

Namespaces

namespace  helper
 Unofficial namespace for Execution Management helper classes.
 

Classes

class  DeterministicClient
 Class that utilizes a client to have deterministic behaviour. More...
 
class  ExecErrorDomain
 Execution Management ErrorDomain. More...
 
class  ExecException
 Execution Management exception. More...
 
class  ExecutionClient
 Class that enables an adaptive application to interact with Execution Management. More...
 
struct  ExecutionErrorEvent
 Undefined Function Group State event argument. More...
 
class  ExecutionServer
 A class to handle the execution client requests at the EM side. More...
 
class  FunctionGroup
 A function group representative based on a manifest. More...
 
class  FunctionGroupState
 Class that links a function group to a certain state. More...
 
class  StateClient
 Class the enables State Management to interact with Execution Management. More...
 
class  StateServer
 A class to handle the state client requests at the EM side. More...
 
class  WorkerRunnable
 DeterministicClient worker runnable abstract class. More...
 
class  WorkerThread
 DeterministicClient random number generator. More...
 

Typedefs

using ExecutionError = uint32_t
 Function group termination error code alias.
 

Enumerations

enum class  ActivationReturnType : uint8_t {
  kRegisterService = 0 , kServiceDiscovery = 1 , kInit = 2 , kRun = 3 ,
  kTerminate = 4
}
 Application deterministic behaviour lifecycle action. More...
 
enum class  ExecErrc : ara::core::ErrorDomain::CodeType {
  kGeneralError = 1 , kInvalidArguments = 2 , kCommunicationError = 3 , kMetaModelError = 4 ,
  kCancelled = 5 , kFailed = 6 , kFailedUnexpectedTerminationOnExit = 7 , kFailedUnexpectedTerminationOnEnter = 8 ,
  kInvalidTransition = 9 , kAlreadyInState = 10 , kInTransitionToSameState = 11 , kNoTimeStamp = 12 ,
  kCycleOverrun = 13
}
 Execution Management error codes. More...
 
enum class  ExecutionState : uint8_t { kRunning = 0 }
 Adaptive application internal state. More...
 

Detailed Description

Adaptive AUTOSAR Execution Management.

Enumeration Type Documentation

◆ ActivationReturnType

enum class ara::exec::ActivationReturnType : uint8_t
strong

Application deterministic behaviour lifecycle action.

Enumerator
kRegisterService 

Application shall register its service server.

kServiceDiscovery 

Application shall discover its service server.

kInit 

Application shall intialize itself.

kRun 

Application shall perform its normal operation.

kTerminate 

Application shall terminate itself.

◆ ExecErrc

Execution Management error codes.

Enumerator
kGeneralError 

Unspecified error occurrence.

kInvalidArguments 

Invalid argument while setting the state.

kCommunicationError 

SOME/IP or FIFO communication error occurrence.

kMetaModelError 

Invalid ARXML meta-model.

kCancelled 

Cancelling of the on-going state transition due to a new state trainsition request.

kFailed 

Impossible operation to be performed.

kFailedUnexpectedTerminationOnExit 

Previous function group termination while state transition.

kFailedUnexpectedTerminationOnEnter 

Target function group termination while state transition.

kInvalidTransition 

Invalid state transition request.

kAlreadyInState 

Invalid state transition due to request the current state.

kInTransitionToSameState 

Transition failing due to equality to the on-going state transition.

kNoTimeStamp 

Unavailable deterministic timestamp information.

kCycleOverrun 

Exceeding theoritical cycle time.

◆ ExecutionState

enum class ara::exec::ExecutionState : uint8_t
strong

Adaptive application internal state.

Enumerator
kRunning 

Application process performs normally.