90 size_t nSamples(in.
retrieve<
size_t>());
93 for (
size_t i(0);i<nSamples;++i)
std::vector< int16_t > waveform_t
define the waveform
Channel(SerializerBackend &in)
construct this from the stream
double horpos() const
getter
waveform_t & waveform()
setter
Channel()
constructor that will set the serialize version
virtual void writeVersion(SerializerBackend &out) const
write the version to the stream
double & sampleInterval()
setter
void serialize(SerializerBackend &out) const
will serialize this channel to the serializer
file contains classes for serializing objects
double _offset
the vertical offset of this channel (in V)
double fullscale() const
getter
size_t _chNbr
This Channels Number in the Acqiris Instrument.
double _horpos
Horizontal position of first data point with respect to the trigger.
double _sampleInterval
the time between two consecutive datapoints in seconds
file contains base class all serializable classes
virtual void checkVersion(SerializerBackend &in) const
check the version
A Channel of an Acqiris Instrument.
double sampleInterval() const
getter
double offset() const
getter
bool deserialize(SerializerBackend &in)
deserialize this channel from the serializer
size_t channelNbr() const
getter
Type retrieve()
read arbitrary value from stream
waveform_t _waveform
the waveform of this channel
size_t & channelNbr()
setter
const waveform_t & waveform() const
getter
void add(const Type &value)
add arbitrary value to the stream
double _gain
Vertical gain in Volts/LSB.
double gain() const
getter