Woman, Life, Freedom


Adaptive AUTOSAR
ARA public interface header documentation
worker_runnable.h
1#ifndef WORKER_RUNNABLE_H
2#define WORKER_RUNNABLE_H
3
4#include "./worker_thread.h"
5
6namespace ara
7{
8 namespace exec
9 {
12 template <typename ValueType>
14 {
15 protected:
16 WorkerRunnable() noexcept = default;
17 virtual ~WorkerRunnable() noexcept = default;
18
19 public:
23 virtual void Run(ValueType &element, WorkerThread &t) = 0;
24 };
25 }
26}
27
28#endif
DeterministicClient worker runnable abstract class.
Definition: worker_runnable.h:14
virtual void Run(ValueType &element, WorkerThread &t)=0
Run the worker thread to process an element in the container.
DeterministicClient random number generator.
Definition: worker_thread.h:14