The device seam.
More...
#include <T7Stream.hpp>
|
| virtual | ~T7Device ()=default |
| virtual void | open (const std::string &ip)=0 |
| virtual int64_t | serial_number ()=0 |
| virtual void | write_names (const std::vector< std::string > &names, const std::vector< double > &values)=0 |
| virtual std::vector< double > | read_names (const std::vector< std::string > &names)=0 |
| | Command-response reads; only valid while no stream is running.
|
| virtual double | stream_start (const std::vector< std::string > &scan_names, int scans_per_read, double scan_rate_hz)=0 |
| | Starts the stream; returns the scan rate the device will actually run at.
|
| virtual Backlog | stream_read (std::vector< double > &data)=0 |
| | Fills data with scans_per_read scans, channels interleaved.
|
| virtual void | stream_stop ()=0 |
| virtual void | close ()=0 |
The device seam.
Every call may throw T7Error.
Definition at line 75 of file T7Stream.hpp.
◆ ~T7Device()
| virtual fsw::t7::T7Device::~T7Device |
( |
| ) |
|
|
virtualdefault |
◆ close()
| virtual void fsw::t7::T7Device::close |
( |
| ) |
|
|
pure virtual |
◆ open()
| virtual void fsw::t7::T7Device::open |
( |
const std::string & | ip | ) |
|
|
pure virtual |
◆ read_names()
| virtual std::vector< double > fsw::t7::T7Device::read_names |
( |
const std::vector< std::string > & | names | ) |
|
|
pure virtual |
◆ serial_number()
| virtual int64_t fsw::t7::T7Device::serial_number |
( |
| ) |
|
|
pure virtual |
◆ stream_read()
| virtual Backlog fsw::t7::T7Device::stream_read |
( |
std::vector< double > & | data | ) |
|
|
pure virtual |
◆ stream_start()
| virtual double fsw::t7::T7Device::stream_start |
( |
const std::vector< std::string > & | scan_names, |
|
|
int | scans_per_read, |
|
|
double | scan_rate_hz ) |
|
pure virtual |
◆ stream_stop()
| virtual void fsw::t7::T7Device::stream_stop |
( |
| ) |
|
|
pure virtual |
◆ write_names()
| virtual void fsw::t7::T7Device::write_names |
( |
const std::vector< std::string > & | names, |
|
|
const std::vector< double > & | values ) |
|
pure virtual |
The documentation for this class was generated from the following file: