rexlib 0.1.0
Device-agnostic array computing library for CryoEM and CryoET image processing, with a pluggable backend architecture
Loading...
Searching...
No Matches
program_builder_registration.hpp
1// SPDX-License-Identifier: GPL-3.0-only
2
3#pragma once
4
5#include "program_builder_registry.hpp"
6
7#include <memory>
8
9namespace rexlib
10{
11
12class program_builder;
13
25template <typename Builder, typename Registry = program_builder_registry>
27{
28public:
34 explicit program_builder_registration(Registry &registry);
35
36private:
37 static std::unique_ptr<program_builder> create_builder();
38};
39
40} // namespace rexlib
41
42#include "program_builder_registration.inl"
Appends a factory for Builder to a registry upon construction.
Definition program_builder_registration.hpp:27
program_builder_registration(Registry &registry)
Append a factory for Builder to a registry.
Arrays, the operations on them and the devices that run those operations.
Definition cpu_device.hpp:10