|
GNU Radio's IIO Package
|
Generic helper block to create message in a format that will be accepted by the IIO Attribute Sink Block. More...
#include <attr_updater.h>
Public Types | |
| typedef std::shared_ptr< attr_updater > | sptr |
Public Member Functions | |
| virtual void | set_value (std::string value)=0 |
Static Public Member Functions | |
| static sptr | make (const std::string attribute, const std::string value, unsigned int interval_ms) |
| Return a shared_ptr to a new instance of iio::attr_updater. More... | |
Generic helper block to create message in a format that will be accepted by the IIO Attribute Sink Block.
This block is a simple but flexible message source which can be connected to the IIO Attribute Sink block for easy interaction and real-time control of IIO driver attributes.
| typedef std::shared_ptr<attr_updater> gr::iio::attr_updater::sptr |
|
static |
Return a shared_ptr to a new instance of iio::attr_updater.
| attribute | String of name of attribute to be updated |
| value | String of value to update the attribute too |
| interval_ms | Integer of interval in milliseconds to produce messages. If zero outputs will be made only on callback changes and when the flowgraph starts |
|
pure virtual |
Implemented in gr::iio::attr_updater_impl.