|
DynExp
Highly flexible laboratory automation for dynamically changing experiments.
|
#include <NetworkDataStreamInstrument.h>
Inheritance diagram for DynExpInstr::NetworkDataStreamInstrumentData< BaseInstr,, gRPCStubs >:Classes | |
| struct | RemoteStreamInfoType |
Public Types | |
| using | SampleStreamType = NetworkDataStreamInstrumentDataSampleStreamType |
| using | InstrumentType = NetworkDataStreamInstrumentT< BaseInstr, 0, gRPCStubs... > |
Public Member Functions | |
| NetworkDataStreamInstrumentData (size_t BufferSizeInSamples=1) | |
| virtual | ~NetworkDataStreamInstrumentData ()=default |
| const auto & | GetRemoteStreamInfo () const noexcept |
| auto | HasFinished () const noexcept |
| auto | IsRunning () const noexcept |
| auto | GetLastReadRemoteSampleID () const noexcept |
| void | SetLastReadRemoteSampleID (size_t SampleID) noexcept |
| auto | GetLastWrittenSampleID () const noexcept |
| void | SetLastWrittenSampleID (size_t SampleID) noexcept |
Public Member Functions inherited from DynExpInstr::gRPCInstrumentData< BaseInstr, 0, gRPCStubs... > | |
| gRPCInstrumentData (ArgTs &&...Args) | |
Constructs a gRPCInstrumentData instance and forwards all arguments passed to the constructor to the constructor of the instrument data type of BaseInstr. | |
| virtual | ~gRPCInstrumentData ()=default |
| auto | GetStub () const noexcept |
Returns a stub pointer this gRPCInstrument uses selected by the stub index in the gRPCStubs list of gRPCInstrument. | |
| auto | GetStub () const noexcept |
Returns a stub pointer this gRPCInstrument uses selected by the stub type T. | |
Private Member Functions | |
| void | ResetImpl (DynExp::InstrumentDataBase::dispatch_tag< gRPCInstrumentData< BaseInstr, 0, gRPCStubs... > >) override final |
| virtual void | ResetImpl (DynExp::InstrumentDataBase::dispatch_tag< NetworkDataStreamInstrumentData >) |
Private Attributes | |
| RemoteStreamInfoType | RemoteStreamInfo |
| Util::OptionalBool | Finished |
| Util::OptionalBool | Running |
| size_t | LastReadRemoteSampleID = 0 |
| ID of the last sample read from the remote site and written to the assigned data stream. | |
| size_t | LastWrittenSampleID = 0 |
| ID of the last sample read from the assigned data stream and written to the remote site. | |
Friends | |
| class | NetworkDataStreamInstrumentTasks::InitTask< BaseInstr, 0, gRPCStubs... > |
| class | NetworkDataStreamInstrumentTasks::UpdateTask< BaseInstr, 0, gRPCStubs... > |
Definition at line 358 of file NetworkDataStreamInstrument.h.
| struct DynExpInstr::NetworkDataStreamInstrumentData::RemoteStreamInfoType |
Definition at line 367 of file NetworkDataStreamInstrument.h.
| Class Members | ||
|---|---|---|
| double | HardwareMaxValue = 0 | |
| double | HardwareMinValue = 0 | |
| bool | IsBasicSampleTimeUsed = false | |
| size_t | StreamSizeRead = 0 | |
| size_t | StreamSizeWrite = 0 | |
| UnitType | ValueUnit = DataStreamInstrumentData::UnitType::Ampere | |
| using DynExpInstr::NetworkDataStreamInstrumentData< BaseInstr,, gRPCStubs >::InstrumentType = NetworkDataStreamInstrumentT<BaseInstr, 0, gRPCStubs...> |
Definition at line 365 of file NetworkDataStreamInstrument.h.
| using DynExpInstr::NetworkDataStreamInstrumentData< BaseInstr,, gRPCStubs >::SampleStreamType = NetworkDataStreamInstrumentDataSampleStreamType |
Definition at line 364 of file NetworkDataStreamInstrument.h.
|
inline |
Definition at line 377 of file NetworkDataStreamInstrument.h.
|
virtualdefault |
|
inlinenoexcept |
Definition at line 385 of file NetworkDataStreamInstrument.h.
|
inlinenoexcept |
Definition at line 387 of file NetworkDataStreamInstrument.h.
|
inlinenoexcept |
Definition at line 381 of file NetworkDataStreamInstrument.h.
|
inlinenoexcept |
Definition at line 382 of file NetworkDataStreamInstrument.h.
|
inlinenoexcept |
Definition at line 383 of file NetworkDataStreamInstrument.h.
|
inlinefinaloverrideprivate |
Definition at line 391 of file NetworkDataStreamInstrument.h.
|
inlineprivatevirtual |
Definition at line 403 of file NetworkDataStreamInstrument.h.
|
inlinenoexcept |
Definition at line 386 of file NetworkDataStreamInstrument.h.
|
inlinenoexcept |
Definition at line 388 of file NetworkDataStreamInstrument.h.
|
friend |
Definition at line 333 of file NetworkDataStreamInstrument.h.
|
friend |
Definition at line 333 of file NetworkDataStreamInstrument.h.
|
private |
Definition at line 406 of file NetworkDataStreamInstrument.h.
|
private |
ID of the last sample read from the remote site and written to the assigned data stream.
Definition at line 409 of file NetworkDataStreamInstrument.h.
|
private |
ID of the last sample read from the assigned data stream and written to the remote site.
Definition at line 410 of file NetworkDataStreamInstrument.h.
|
private |
Definition at line 405 of file NetworkDataStreamInstrument.h.
|
private |
Definition at line 407 of file NetworkDataStreamInstrument.h.