Common System 0.2.0
Common interfaces and patterns for system integration
Loading...
Searching...
No Matches
executor_interface.h File Reference

Executor interfaces for task submission and management. More...

#include <chrono>
#include <functional>
#include <future>
#include <memory>
#include <string>
#include "../patterns/result.h"
Include dependency graph for executor_interface.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

interface  kcenon::common::interfaces::IJob
 Abstract job interface for task execution. More...
 
interface  kcenon::common::interfaces::IExecutor
 Abstract interface for task execution systems. More...
 
interface  kcenon::common::interfaces::IExecutorProvider
 Interface for modules that provide executor implementations. More...
 

Namespaces

namespace  kcenon
 
namespace  kcenon::common
 Core interfaces.
 
namespace  kcenon::common::interfaces
 

Typedefs

using kcenon::common::interfaces::ExecutorFactory = std::function<std::shared_ptr<IExecutor>()>
 Factory function type for creating executor instances.
 

Detailed Description

Executor interfaces for task submission and management.

This header defines the public interfaces for an execution service abstraction so that different threading backends can be plugged in without creating hard dependencies between modules.

Definition in file executor_interface.h.