Interface for modules that provide executor implementations.
More...
#include <executor_interface.h>
Interface for modules that provide executor implementations.
Provider for obtaining executor implementations.
- Examples
- executor_example.cpp.
Definition at line 123 of file executor.cppm.
◆ ~IExecutorProvider() [1/2]
| virtual kcenon::common::interfaces::IExecutorProvider::~IExecutorProvider |
( |
| ) |
|
|
virtualdefault |
◆ ~IExecutorProvider() [2/2]
| virtual kcenon::common::interfaces::IExecutorProvider::~IExecutorProvider |
( |
| ) |
|
|
exportvirtualdefault |
◆ create_executor() [1/2]
| virtual std::shared_ptr< IExecutor > kcenon::common::interfaces::IExecutorProvider::create_executor |
( |
size_t | worker_count | ) |
|
|
pure virtual |
Create a new executor with specific configuration.
- Parameters
-
| worker_count | Number of worker threads |
- Returns
- Shared pointer to the new executor
Implemented in example_executor_provider.
◆ create_executor() [2/2]
| virtual std::shared_ptr< IExecutor > kcenon::common::interfaces::IExecutorProvider::create_executor |
( |
size_t | worker_count | ) |
|
|
exportpure virtual |
◆ get_executor() [1/2]
| virtual std::shared_ptr< IExecutor > kcenon::common::interfaces::IExecutorProvider::get_executor |
( |
| ) |
|
|
pure virtual |
◆ get_executor() [2/2]
| virtual std::shared_ptr< IExecutor > kcenon::common::interfaces::IExecutorProvider::get_executor |
( |
| ) |
|
|
exportpure virtual |
The documentation for this interface was generated from the following files: