rexlib 0.1.0
Device-agnostic array computing library for CryoEM and CryoET image processing, with a pluggable backend architecture
Loading...
Searching...
No Matches
Public Member Functions | List of all members
rexlib::service_manager Class Reference

Abstract class defining the interface of a service manager. More...

#include <rexlib/core/service_manager.hpp>

Inheritance diagram for rexlib::service_manager:
rexlib::device_manager rexlib::program_manager

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.
 

Detailed Description

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.

See also
service_catalog

Member Function Documentation

◆ register_builtin_backends()

virtual void rexlib::service_manager::register_builtin_backends ( )
inlinevirtual

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.


The documentation for this class was generated from the following file: