Woman, Life, Freedom


Adaptive AUTOSAR
ARA public interface header documentation
ara::exec::WorkerRunnable< ValueType > Class Template Referenceabstract

DeterministicClient worker runnable abstract class. More...

#include <worker_runnable.h>

Public Member Functions

virtual void Run (ValueType &element, WorkerThread &t)=0
 Run the worker thread to process an element in the container. More...
 

Detailed Description

template<typename ValueType>
class ara::exec::WorkerRunnable< ValueType >

DeterministicClient worker runnable abstract class.

Template Parameters
ValueTypeContainer element type

Member Function Documentation

◆ Run()

template<typename ValueType >
virtual void ara::exec::WorkerRunnable< ValueType >::Run ( ValueType &  element,
WorkerThread t 
)
pure virtual

Run the worker thread to process an element in the container.

Parameters
elementReference to a container element
tReference to a worker thread for generating random numbers