DynExp
Highly flexible laboratory automation for dynamically changing experiments.
PyModules.h
Go to the documentation of this file.
1 // This file is part of DynExp.
2 
9 #pragma once
10 
11 #include "stdafx.h"
13 
14 namespace DynExpInstr
15 {
20  {
21  public:
26  static void import();
27 
33  size_t CalcLastConsumedSampleID(size_t NumConsumedSamples);
34 
38  bool IsTimeUsed{};
39 
44 
48  size_t StreamSizeRead{};
49 
53  size_t StreamSizeWrite{};
54 
59 
64  };
65 }
Implementation of a data stream meta instrument and of data streams input/output devices might work o...
std::vector< BasicSample > BasicSampleListType
Type of a list containing data stream samples of type BasicSample.
UnitType
Units which can be used for data stream instruments.
Python mapping of a DynExpInstr::DataStreamInstrument's DynExpInstr::DataStreamBase instance.
Definition: PyModules.h:20
bool IsTimeUsed
Contains the result of DynExpInstr::DataStreamBase::IsBasicSampleTimeUsed().
Definition: PyModules.h:38
size_t StreamSizeWrite
Contains the result of DynExpInstr::DataStreamBase::GetStreamSizeWrite().
Definition: PyModules.h:53
size_t NumSamplesWritten
Contains the result of DynExpInstr::DataStreamBase::GetNumSamplesWritten().
Definition: PyModules.h:58
size_t StreamSizeRead
Contains the result of DynExpInstr::DataStreamBase::GetStreamSizeRead().
Definition: PyModules.h:48
DataStreamBase::BasicSampleListType Samples
Samples of the data stream instrument.
Definition: PyModules.h:63
size_t CalcLastConsumedSampleID(size_t NumConsumedSamples)
Allows to calculate the ID of the last consumed sample based on the amount of samples consumed from t...
Definition: PyModules.cpp:54
DataStreamInstrumentData::UnitType ValueUnit
Refer to DynExpInstr::DataStreamInstrumentData::UnitType.
Definition: PyModules.h:43
DynExp's instrument namespace contains the implementation of DynExp instruments which extend DynExp's...
Definition: Instrument.h:1254
Accumulates include statements to provide a precompiled header.