Robox Library for Cpp: BCC/31 module 1.0.0
RLibCpp BCC/31 protocol implementation
|
Single data sample read from the oscilloscope: it holds all the track ( values() ) returned at a specific time() More...
#include <oscilloscope.h>
Classes | |
class | PtrVector |
Class to handle with lists of DataSample pointers. More... | |
Public Types | |
typedef DataSample * | pDataSample |
Public Member Functions | |
DataSample () | |
The default constructor. | |
DataSample (const DataSample &src) | |
The copy constructor. | |
virtual | ~DataSample () |
Class destructor. | |
double | time () const |
Get the sample reference time (uSec) | |
void | setTime (double value) |
Set the sample reference time (uSec) | |
FloatVector & | values () |
void | setValues (const FloatVector &value) |
Static Public Attributes | |
static const int | MAX_TRACK = 24 |
The manimum number of tracks stored. | |
Protected Member Functions | |
void | copyFrom (const DataSample &src) |
Make a copy from the src object. | |
Single data sample read from the oscilloscope: it holds all the track ( values() ) returned at a specific time()
typedef DataSample* pDataSample |
DataSample | ( | ) |
The default constructor.
DataSample | ( | const DataSample & | src | ) |
The copy constructor.
src | The source item to copy data from |
|
virtual |
Class destructor.
|
protected |
Make a copy from the src object.
src | The object to copy |
void setTime | ( | double | value | ) |
Set the sample reference time (uSec)
value | The value to set |
void setValues | ( | const FloatVector & | value | ) |
double time | ( | ) | const |
Get the sample reference time (uSec)
FloatVector & values | ( | ) |
|
static |
The manimum number of tracks stored.