PACS System 0.1.0
PACS DICOM system library
Loading...
Searching...
No Matches
executor_adapter.h File Reference

Adapter for integrating common_system's IExecutor interface. More...

#include <kcenon/common/interfaces/executor_interface.h>
#include <kcenon/common/patterns/result.h>
#include <atomic>
#include <chrono>
#include <condition_variable>
#include <functional>
#include <future>
#include <memory>
#include <mutex>
#include <queue>
#include <string>
#include <thread>
Include dependency graph for executor_adapter.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  kcenon::pacs::integration::lambda_job
 IJob implementation that wraps a callable. More...
 
class  kcenon::pacs::integration::thread_pool_executor_adapter
 IExecutor implementation using kcenon::thread::thread_pool. More...
 
struct  kcenon::pacs::integration::thread_pool_executor_adapter::delayed_task
 

Namespaces

namespace  kcenon
 
namespace  kcenon::thread
 
namespace  kcenon::pacs
 
namespace  kcenon::pacs::integration
 

Functions

std::shared_ptr< kcenon::common::interfaces::IExecutor > kcenon::pacs::integration::make_executor (std::shared_ptr< thread_pool_interface > pool_interface)
 Create an IExecutor from a thread_pool_interface.
 

Detailed Description

Adapter for integrating common_system's IExecutor interface.

This file provides adapters that bridge common_system's IExecutor interface with pacs_system's thread pool infrastructure. It enables workflow modules to use the standardized IExecutor interface while leveraging existing thread pool implementations.

See also
Issue #487 - Integrate IExecutor interface for workflow pipeline execution
common_system's executor_interface.h
Author
kcenon
Since
1.0.0

Definition in file executor_adapter.h.