|
rexlib 0.1.0
Device-agnostic array computing library for CryoEM and CryoET image processing, with a pluggable backend architecture
|
Abstract class defining the interface of a service manager. More...
#include <rexlib/core/service_manager.hpp>
Public Member Functions | |
| service_manager (const service_manager &other)=delete | |
| service_manager (service_manager &&other)=delete | |
| service_manager & | operator= (const service_manager &other)=delete |
| service_manager & | operator= (service_manager &&other)=delete |
| virtual void | register_builtin_backends () |
| Register backends bundled with the core library. | |
Abstract class defining the interface of a service manager.
A service manager keeps track of all known implementations of a given interface and provides utilities to access the most relevant implementation for a given context. This is a base class for collecting them on an service_catalog.
Register backends bundled with the core library.
This usually loads fallback implementations that are always available although they may not be the most efficient or performant. The loaded backend(s) depend on the implementation of the specific interface.
Reimplemented in rexlib::program_manager, and rexlib::device_manager.