DynExp
Highly flexible laboratory automation for dynamically changing experiments.
|
Bundles parameters to describe a NumericSampleStream's
sampling properties.
More...
Classes | |
struct | ValueType |
Type containing the values of all the parameters belonging to NumericSampleStreamParamsExtension . More... | |
Public Types | |
enum | SamplingModeType { Single , Continuous } |
Type to determine how to record/play back to/from the stream. More... | |
Public Member Functions | |
NumericSampleStreamParamsExtension (DynExp::ParamsBase &Owner) | |
Constructs a NumericSampleStreamParamsExtension instance. More... | |
void | DisableUserEditable () |
Calls DynExp::ParamsBase::DisableUserEditable() on all bundled parameters. More... | |
ValueType | Values () const |
Creates and returns a ValueType instance containing the bundled parameters' values. More... | |
Static Public Member Functions | |
static Util::TextValueListType< SamplingModeType > | SamplingModeTypeStrList () |
Maps description strings to the SamplingModeType enum's items. More... | |
Public Attributes | |
DynExp::ParamsBase::Param< ParamsConfigDialog::NumberType > | SamplingRate |
Sampling rate of the related DataStreamInstrument instance's sample stream in samples per second. More... | |
DynExp::ParamsBase::Param< SamplingModeType > | SamplingMode |
Sampling mode of the related DataStreamInstrument instance's sample stream. Indicates whether reading/writing happens only once or continuously. More... | |
Static Private Attributes | |
static constexpr ParamsConfigDialog::NumberType | DefaultSamplingRate = 1 |
Default sampling rate in samples/s. More... | |
static constexpr SamplingModeType | DefaultSamplingMode = SamplingModeType::Single |
Default sampling mode. More... | |
Bundles parameters to describe a NumericSampleStream's
sampling properties.
Definition at line 716 of file DataStreamInstrument.h.
struct DynExpInstr::NumericSampleStreamParamsExtension::ValueType |
Type containing the values of all the parameters belonging to NumericSampleStreamParamsExtension
.
Definition at line 742 of file DataStreamInstrument.h.
Class Members | ||
---|---|---|
SamplingModeType | SamplingMode |
Sampling mode of the related DataStreamInstrument instance's sample stream. Indicates whether reading/writing happens only once or continuously. |
NumberType | SamplingRate |
Sampling rate of the related DataStreamInstrument instance's sample stream in samples per second. |
Type to determine how to record/play back to/from the stream.
Enumerator | |
---|---|
Single | Record/play back to/from the stream only once (until the stream is full or all data has been read). |
Continuous | Record/play back to/from the stream continuously. |
Definition at line 722 of file DataStreamInstrument.h.
|
inline |
Constructs a NumericSampleStreamParamsExtension
instance.
Owner | Parameter class owning the parameters bundled by this instance. |
Definition at line 758 of file DataStreamInstrument.h.
void DynExpInstr::NumericSampleStreamParamsExtension::DisableUserEditable | ( | ) |
Calls DynExp::ParamsBase::DisableUserEditable() on all bundled parameters.
Definition at line 80 of file DataStreamInstrument.cpp.
|
static |
Maps description strings to the SamplingModeType
enum's items.
Definition at line 70 of file DataStreamInstrument.cpp.
|
inline |
Creates and returns a ValueType
instance containing the bundled parameters' values.
Definition at line 775 of file DataStreamInstrument.h.
|
staticconstexprprivate |
Default sampling mode.
Definition at line 735 of file DataStreamInstrument.h.
|
staticconstexprprivate |
Default sampling rate in samples/s.
Definition at line 734 of file DataStreamInstrument.h.
DynExp::ParamsBase::Param<SamplingModeType> DynExpInstr::NumericSampleStreamParamsExtension::SamplingMode |
Sampling mode of the related DataStreamInstrument
instance's sample stream. Indicates whether reading/writing happens only once or continuously.
Definition at line 787 of file DataStreamInstrument.h.
DynExp::ParamsBase::Param<ParamsConfigDialog::NumberType> DynExpInstr::NumericSampleStreamParamsExtension::SamplingRate |
Sampling rate of the related DataStreamInstrument
instance's sample stream in samples per second.
Definition at line 781 of file DataStreamInstrument.h.