ngscopeclient 0.1-dev+51fbda87c
|
Descriptor for a single stream coming off a channel. More...
#include <StreamDescriptor.h>
Public Member Functions | |
StreamDescriptor (InstrumentChannel *channel, size_t stream=0) | |
bool | IsOutOfRange () |
operator bool () const | |
std::string | GetName () const |
Unit | GetXAxisUnits () |
Unit | GetYAxisUnits () |
WaveformBase * | GetData () const |
bool | operator== (const StreamDescriptor &rhs) const |
bool | operator!= (const StreamDescriptor &rhs) const |
bool | operator< (const StreamDescriptor &rhs) const |
uint8_t | GetFlags () const |
float | GetVoltageRange () |
float | GetOffset () |
void | SetVoltageRange (float v) |
void | SetOffset (float v) |
Stream::StreamType | GetType () |
Get the type of stream (if connected). Returns STREAM_TYPE_ANALOG if null. | |
float | GetScalarValue () |
Public Attributes | |
InstrumentChannel * | m_channel |
size_t | m_stream |
Descriptor for a single stream coming off a channel.
|
inline |