35#ifndef StreamGroupDescriptor_inlines_h
36#define StreamGroupDescriptor_inlines_h
38inline Unit StreamGroupDescriptor::GetXAxisUnits()
40 if(m_channels.empty())
41 return Unit(Unit::UNIT_FS);
42 return m_channels[0]->GetXAxisUnits();
45inline Unit StreamGroupDescriptor::GetYAxisUnits()
47 if(m_channels.empty())
48 return Unit(Unit::UNIT_VOLTS);
50 return m_channels[0]->GetYAxisUnits(0);
53inline const std::string& StreamGroupDescriptor::GetName()
const
63 if(m_channels.empty())
64 return Stream::STREAM_TYPE_DIGITAL;
65 return m_channels[0]->GetType(0);
Stream::StreamType GetType()
Get the type of stream (if connected). Returns STREAM_TYPE_ANALOG if null.
Definition StreamGroupDescriptor_inlines.h:61
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