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::program_builder_registration< Builder, Registry > Class Template Reference

Appends a factory for Builder to a registry upon construction. More...

#include <rexlib/core/dispatch/program_builder_registration.hpp>

Public Member Functions

 program_builder_registration (Registry &registry)
 Append a factory for Builder to a registry.
 

Detailed Description

template<typename Builder, typename Registry = program_builder_registry>
class rexlib::program_builder_registration< Builder, Registry >

Appends a factory for Builder to a registry upon construction.

Declare one namespace-scope object of this type per builder translation unit so the builder auto-registers during static initialization.

Template Parameters
BuilderThe concrete program_builder type. Must be default constructible.
RegistryThe registry to append to. Any type that takes a program_builder_factory through add.

Constructor & Destructor Documentation

◆ program_builder_registration()

template<typename Builder , typename Registry = program_builder_registry>
rexlib::program_builder_registration< Builder, Registry >::program_builder_registration ( Registry &  registry)
explicit

Append a factory for Builder to a registry.

Parameters
registryThe registry to append to.

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