1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-15 21:01:45 -05:00
sdrangel/devices/plutosdr
Andreas Baulig 94ab1bb438
Use shared_ptr to keep track of DeviceScan across multiple collections
Fixes #681.

Relying on memory allocated by `std::vector` via direct pointers is dangerous,
as vectors may move buffers during resize. This fix puts the `DeviceScan`
allocation into a `str::shared_ptr`, which 1) allocates the memory on heap and
2) keeps track of the memory through reference counting. Thus it is safe to
store the `shared_ptr` across different vectors/maps.
2021-05-30 09:34:46 +00:00
..
CMakeLists.txt sdrbase cmake: restored Boost_INCLUDE_DIRS 2020-11-05 20:41:33 +01:00
deviceplutosdr.cpp Fixed incomplete copyright headers (1) 2019-04-11 06:39:30 +02:00
deviceplutosdr.h Plugins device enumeration optimization: factorization of common code for Rx/Tx devices 2019-10-09 07:39:52 +02:00
deviceplutosdrbox.cpp PlutoSDR MIMO: fixed MO thread and att setting in GUI 2021-05-04 17:01:48 +02:00
deviceplutosdrbox.h PlutoSDR MIMO: fixed MO thread and att setting in GUI 2021-05-04 17:01:48 +02:00
deviceplutosdrparams.cpp PlutoSDR: fixed handling of open device status. Fixes issue #510 2020-05-20 11:23:51 +02:00
deviceplutosdrparams.h Added possibility to specify devices that cannot be discovered automatically. This implements #445 2019-12-16 01:03:47 +01:00
deviceplutosdrscan.cpp Use shared_ptr to keep track of DeviceScan across multiple collections 2021-05-30 09:34:46 +00:00
deviceplutosdrscan.h Use shared_ptr to keep track of DeviceScan across multiple collections 2021-05-30 09:34:46 +00:00
deviceplutosdrshared.cpp SampleSourceFifo refactoring and Tx code reorganization 2019-11-15 01:05:32 +01:00
deviceplutosdrshared.h SampleSourceFifo refactoring and Tx code reorganization 2019-11-15 01:05:32 +01:00