ATLAS Offline Software
Loading...
Searching...
No Matches
GlobalSim::BitField< Lo, Hi, AuxValue, Value, Signed, Clamped >::Params Struct Reference

#include <BitSpec.h>

Collaboration diagram for GlobalSim::BitField< Lo, Hi, AuxValue, Value, Signed, Clamped >::Params:

Public Attributes

std::string_view name
std::string_view auxvar {}
std::string_view description {}
encoder_type encoder {}
decoder_type decoder {}
Value scale {0}
Value offset {0}
double centre {0.5}
bool lower_incl {true}

Detailed Description

template<unsigned Lo, unsigned Hi, typename AuxValue, typename Value = AuxValue, bool Signed = false, bool Clamped = true>
struct GlobalSim::BitField< Lo, Hi, AuxValue, Value, Signed, Clamped >::Params

Definition at line 282 of file BitSpec.h.

Member Data Documentation

◆ auxvar

template<unsigned Lo, unsigned Hi, typename AuxValue, typename Value = AuxValue, bool Signed = false, bool Clamped = true>
std::string_view GlobalSim::BitField< Lo, Hi, AuxValue, Value, Signed, Clamped >::Params::auxvar {}

Definition at line 284 of file BitSpec.h.

284{}; // empty => defaults to `name`

◆ centre

template<unsigned Lo, unsigned Hi, typename AuxValue, typename Value = AuxValue, bool Signed = false, bool Clamped = true>
double GlobalSim::BitField< Lo, Hi, AuxValue, Value, Signed, Clamped >::Params::centre {0.5}

Definition at line 290 of file BitSpec.h.

290{0.5};

◆ decoder

template<unsigned Lo, unsigned Hi, typename AuxValue, typename Value = AuxValue, bool Signed = false, bool Clamped = true>
decoder_type GlobalSim::BitField< Lo, Hi, AuxValue, Value, Signed, Clamped >::Params::decoder {}

Definition at line 287 of file BitSpec.h.

287{};

◆ description

template<unsigned Lo, unsigned Hi, typename AuxValue, typename Value = AuxValue, bool Signed = false, bool Clamped = true>
std::string_view GlobalSim::BitField< Lo, Hi, AuxValue, Value, Signed, Clamped >::Params::description {}

Definition at line 285 of file BitSpec.h.

285{};

◆ encoder

template<unsigned Lo, unsigned Hi, typename AuxValue, typename Value = AuxValue, bool Signed = false, bool Clamped = true>
encoder_type GlobalSim::BitField< Lo, Hi, AuxValue, Value, Signed, Clamped >::Params::encoder {}

Definition at line 286 of file BitSpec.h.

286{};

◆ lower_incl

template<unsigned Lo, unsigned Hi, typename AuxValue, typename Value = AuxValue, bool Signed = false, bool Clamped = true>
bool GlobalSim::BitField< Lo, Hi, AuxValue, Value, Signed, Clamped >::Params::lower_incl {true}

Definition at line 291 of file BitSpec.h.

291{true};

◆ name

template<unsigned Lo, unsigned Hi, typename AuxValue, typename Value = AuxValue, bool Signed = false, bool Clamped = true>
std::string_view GlobalSim::BitField< Lo, Hi, AuxValue, Value, Signed, Clamped >::Params::name

Definition at line 283 of file BitSpec.h.

◆ offset

template<unsigned Lo, unsigned Hi, typename AuxValue, typename Value = AuxValue, bool Signed = false, bool Clamped = true>
Value GlobalSim::BitField< Lo, Hi, AuxValue, Value, Signed, Clamped >::Params::offset {0}

Definition at line 289 of file BitSpec.h.

289{0};

◆ scale

template<unsigned Lo, unsigned Hi, typename AuxValue, typename Value = AuxValue, bool Signed = false, bool Clamped = true>
Value GlobalSim::BitField< Lo, Hi, AuxValue, Value, Signed, Clamped >::Params::scale {0}

Definition at line 288 of file BitSpec.h.

288{0};

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