|
|
|
@ -36,7 +36,7 @@ class sdrplay_source_c; |
|
|
|
|
typedef struct sdrplay_dev sdrplay_dev_t; |
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
* We use boost::shared_ptr's instead of raw pointers for all access |
|
|
|
|
* We use std::shared_ptr's instead of raw pointers for all access |
|
|
|
|
* to gr::blocks (and many other data structures). The shared_ptr gets |
|
|
|
|
* us transparent reference counting, which greatly simplifies storage |
|
|
|
|
* management issues. This is especially helpful in our hybrid |
|
|
|
@ -44,9 +44,9 @@ typedef struct sdrplay_dev sdrplay_dev_t; |
|
|
|
|
* |
|
|
|
|
* See http://www.boost.org/libs/smart_ptr/smart_ptr.htm
|
|
|
|
|
* |
|
|
|
|
* As a convention, the _sptr suffix indicates a boost::shared_ptr |
|
|
|
|
* As a convention, the _sptr suffix indicates a std::shared_ptr |
|
|
|
|
*/ |
|
|
|
|
typedef boost::shared_ptr<sdrplay_source_c> sdrplay_source_c_sptr; |
|
|
|
|
typedef std::shared_ptr<sdrplay_source_c> sdrplay_source_c_sptr; |
|
|
|
|
|
|
|
|
|
/*!
|
|
|
|
|
* \brief Return a shared_ptr to a new instance of sdrplay_source_c. |
|
|
|
|