ChimeraTK-DeviceAccess  03.18.00
createDataConverter.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Deutsches Elektronen-Synchrotron DESY, MSK, ChimeraTK Project <chimeratk-support@desy.de>
2 // SPDX-License-Identifier: LGPL-3.0-or-later
3 #pragma once
4 
5 #include "FixedPointConverter.h"
8 
9 namespace ChimeraTK::detail {
10 
12  template<typename ConverterT>
13  ConverterT createDataConverter(const NumericAddressedRegisterInfo& registerInfo, size_t channelIndex = 0);
14 
15  template<>
16  FixedPointConverter createDataConverter<FixedPointConverter>(
17  const NumericAddressedRegisterInfo& registerInfo, size_t channelIndex);
18 
19  template<>
20  IEEE754_SingleConverter createDataConverter<IEEE754_SingleConverter>(
21  const NumericAddressedRegisterInfo& registerInfo, size_t channelIndex);
22 
23 } // namespace ChimeraTK::detail
IEEE754_SingleConverter.h
FixedPointConverter.h
NumericAddressedRegisterCatalogue.h