vitrio 0.1.4
High-throughput image I/O for Cryo-Electron Microscopy (CryoEM)
Loading...
Searching...
No Matches
Public Types | Public Member Functions | List of all members
vitrio::detector_event_timeline_file_read_format_registry Class Reference

Collects factories of file formats of detector events for bulk registration. More...

#include <vitrio/detector_event_timeline_file_read_format_registry.hpp>

Public Types

using format_type = detector_event_timeline_file_read_format
 

Public Member Functions

 detector_event_timeline_file_read_format_registry (const detector_event_timeline_file_read_format_registry &other)=delete
 
 detector_event_timeline_file_read_format_registry (detector_event_timeline_file_read_format_registry &&other)=delete
 
detector_event_timeline_file_read_format_registry & operator= (const detector_event_timeline_file_read_format_registry &other)=delete
 
detector_event_timeline_file_read_format_registry & operator= (detector_event_timeline_file_read_format_registry &&other)=delete
 
void add (detector_event_timeline_file_read_format_factory factory)
 Append a format factory to the registry.
 
void register_all (detector_event_timeline_file_read_format_selector &selector) const
 Instantiate one format per registered factory and register them into a selector.
 

Detailed Description

Collects factories of file formats of detector events for bulk registration.

Registers one fresh format per factory into a selector, as many times and into as many selectors as asked.

Note
add must not run concurrently with any other call, while register_all may run concurrently with itself into different selectors.
See also
image_file_read_format_registry

Member Function Documentation

◆ add()

void vitrio::detector_event_timeline_file_read_format_registry::add ( detector_event_timeline_file_read_format_factory  factory)

Append a format factory to the registry.

Parameters
factoryFunction creating a fresh format instance. Null factories are ignored.

◆ register_all()

void vitrio::detector_event_timeline_file_read_format_registry::register_all ( detector_event_timeline_file_read_format_selector &  selector) const

Instantiate one format per registered factory and register them into a selector.

Parameters
selectorThe selector where the formats are registered.

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