![]() |
SoDaRadio-12.2.0-cut_dependencies:6c82803
|
Shared RAII wrapper for an rtlsdr_dev_t handle. More...
#include <rtl-sdr.h>#include <memory>#include <string>Go to the source code of this file.
Classes | |
| struct | SoDa::RTLSDRDev |
Namespaces | |
| namespace | SoDa |
Typedefs | |
| using | SoDa::RTLSDRDevPtr = std::shared_ptr<RTLSDRDev> |
Shared RAII wrapper for an rtlsdr_dev_t handle.
RTLSDRCtrl and RTLSDRRX both need the same device handle. Holding a shared_ptr to this wrapper ensures rtlsdr_close() is called exactly once when both threads finish.
Definition in file RTLSDRDev.hxx.