mirror of
https://github.com/slsdetectorgroup/aare.git
synced 2026-02-20 14:48:39 +01:00
added num interfaces and ten giga enable
This commit is contained in:
@@ -62,10 +62,10 @@ class Hdf5MasterFile {
|
||||
size_t m_total_frames_expected{};
|
||||
std::optional<ns> m_exptime{};
|
||||
std::optional<ns> m_period{};
|
||||
// burst mode
|
||||
// num udp interfaces
|
||||
std::optional<BurstMode> m_burst_mode;
|
||||
std::optional<size_t> m_number_of_udp_interfaces;
|
||||
size_t m_bitdepth{};
|
||||
// ten giga
|
||||
std::optional<size_t> m_ten_giga;
|
||||
// thresholdenergy
|
||||
// thresholdall energy
|
||||
std::optional<ns> m_subexptime{};
|
||||
@@ -120,10 +120,10 @@ class Hdf5MasterFile {
|
||||
size_t total_frames_expected() const;
|
||||
std::optional<ns> exptime() const;
|
||||
std::optional<ns> period() const;
|
||||
// burst mode
|
||||
// num udp interfaces
|
||||
std::optional<BurstMode> burst_mode() const;
|
||||
std::optional<size_t> number_of_udp_interfaces() const;
|
||||
size_t bitdepth() const;
|
||||
// ten giga
|
||||
std::optional<size_t> ten_giga() const;
|
||||
// thresholdenergy
|
||||
// thresholdall energy
|
||||
std::optional<ns> subexptime() const;
|
||||
|
||||
@@ -295,6 +295,9 @@ enum class DetectorType {
|
||||
|
||||
enum class TimingMode { Auto, Trigger };
|
||||
enum class FrameDiscardPolicy { NoDiscard, Discard, DiscardPartial };
|
||||
enum class BurstMode { Burst_Interal, Burst_External, Continuous_Internal,
|
||||
Continuous_External };
|
||||
|
||||
|
||||
std::string RemoveUnit(std::string &str);
|
||||
|
||||
@@ -385,12 +388,18 @@ template <> std::string ToString(TimingMode arg);
|
||||
|
||||
template <> FrameDiscardPolicy StringTo(const std::string & /*mode*/);
|
||||
template <> std::string ToString(FrameDiscardPolicy arg);
|
||||
|
||||
template <> BurstMode StringTo(const std::string & /*mode*/);
|
||||
template <> std::string ToString(BurstMode arg);
|
||||
|
||||
std::ostream &operator<<(std::ostream &os,
|
||||
const ScanParameters &r);
|
||||
template <> std::string ToString(ScanParameters arg);
|
||||
|
||||
std::ostream &operator<<(std::ostream &os, const ROI &roi);
|
||||
template <> std::string ToString(ROI arg);
|
||||
|
||||
|
||||
using DataTypeVariants = std::variant<uint16_t, uint32_t>;
|
||||
|
||||
template <typename T>
|
||||
|
||||
Reference in New Issue
Block a user