irioCoreCpp Library Module  2.1.0
terminalsDMADAQ.h
1 #pragma once
2 
3 #include <memory>
4 
5 #include "terminals/terminalsDMACommon.h"
6 
7 namespace irio {
8 
9 class TerminalsDMADAQImpl;
10 
17  public:
25  explicit TerminalsDMADAQ(
26  std::shared_ptr<TerminalsDMADAQImpl> impl);
27 
36  std::uint16_t getLengthBlock(const std::uint32_t &n) const;
37 
49  std::uint16_t getSamplingRateDecimation(const std::uint32_t &n) const;
50 
63  void setSamplingRateDecimation(const std::uint32_t &n,
64  const std::uint16_t &decimation) const;
65 };
66 
67 } // namespace irio
68 
69 
Class managing the terminals common to all other terminals that use DMAs in the RIO device.
Class managing the terminals used for DMA DAQ operations.
std::uint16_t getLengthBlock(const std::uint32_t &n) const
Returns the block length of a specific DMA group.
std::uint16_t getSamplingRateDecimation(const std::uint32_t &n) const
Returns the decimation of a specific DMA group.
TerminalsDMADAQ(std::shared_ptr< TerminalsDMADAQImpl > impl)
Manages finding DMA DAQ resources.
void setSamplingRateDecimation(const std::uint32_t &n, const std::uint16_t &decimation) const
Configures the sampling rate for a specific DMA group.