37#ifndef StreamDescriptor_h
38#define StreamDescriptor_h
63 {
return (m_channel != NULL); }
65 std::string GetName()
const;
78 uint8_t GetFlags()
const;
79 float GetVoltageRange();
81 void SetVoltageRange(
float v);
82 void SetOffset(
float v);
84 float GetScalarValue();
A single channel of an instrument.
Definition: InstrumentChannel.h:63
size_t GetStreamCount()
Get the number of data streams.
Definition: InstrumentChannel.h:171
Descriptor for a single stream coming off a channel.
Definition: StreamDescriptor.h:46
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:59
StreamType
General data type stored in a stream.
Definition: Stream.h:58
A unit of measurement, plus conversion to pretty-printed output.
Definition: Unit.h:57