10 #ifndef INCLUDED_IIO_ATTR_UPDATER_IMPL_H
11 #define INCLUDED_IIO_ATTR_UPDATER_IMPL_H
24 const std::string d_attribute;
27 unsigned int d_interval_ms;
31 std::shared_ptr<gr::thread::thread> d_thread;
37 const std::string value,
38 unsigned int interval_ms);
Definition: attr_updater_impl.h:22
attr_updater_impl(const std::string attribute, const std::string value, unsigned int interval_ms)
bool start()
Called to enable drivers, etc for i/o devices.
bool stop()
Called to disable drivers, etc for i/o devices.
void set_value(std::string value)
Generic helper block to create message in a format that will be accepted by the IIO Attribute Sink Bl...
Definition: attr_updater.h:31
boost::mutex mutex
Definition: thread.h:37
GNU Radio logging wrapper.
Definition: basic_block.h:29
std::shared_ptr< pmt_base > pmt_t
typedef for shared pointer (transparent reference counting).
Definition: pmt.h:84