37#ifndef StreamDescriptor_h
38#define StreamDescriptor_h
62 if(m_channel ==
nullptr)
68 {
return (m_channel !=
nullptr); }
72 const std::set<FlowGraphNode*>& GetSinks();
74 std::string GetName()
const;
88 float GetVoltageRange();
90 bool IsHighRateOffsetCapable();
91 void SetVoltageRange(
float v);
92 void SetOffset(
float v);
94 float GetScalarValue();
96 size_t GetDigitalWidth();
97 std::string PrettyPrintDigitalScalarHex();
98 std::string PrettyPrintDigitalScalarBinary();
99 std::string PrettyPrintDigitalScalarDecimal();
134 float GetVoltageRange()
Definition AcceleratorBuffer.h:204
Abstract base class for a node in the signal flow graph.
Definition FlowGraphNode.h:81
A single channel of an instrument.
Definition InstrumentChannel.h:63
size_t GetStreamCount()
Get the number of data streams.
Definition InstrumentChannel.h:176
Descriptor for a single stream coming off a channel.
Definition StreamDescriptor.h:47
Stream::StreamType GetType()
Get the type of stream (if connected). Returns STREAM_TYPE_ANALOG if null.
Definition FlowGraphNode_inlines.h:62
bool IsOutOfRange()
Definition StreamDescriptor.h:60
StreamType
General data type stored in a stream.
Definition Stream.h:57
A unit of measurement, plus conversion to pretty-printed output.
Definition Unit.h:59