diff options
author | Johnathan Corgan | 2012-01-27 14:00:52 -0800 |
---|---|---|
committer | Johnathan Corgan | 2012-01-27 14:00:52 -0800 |
commit | 29aa72d4499361e661886dbfe7833bcc2c6f3746 (patch) | |
tree | e4bcc65ee249bfc940909cc438c81b009c6c5c8b /gr-uhd/include/gr_uhd_amsg_source.h | |
parent | 8ddd8fbb0d780072081215db432aaf59d4a46dda (diff) | |
parent | 40e186f953abafe4fde19cf2cf34d61d801c31e2 (diff) | |
download | gnuradio-29aa72d4499361e661886dbfe7833bcc2c6f3746.tar.gz gnuradio-29aa72d4499361e661886dbfe7833bcc2c6f3746.tar.bz2 gnuradio-29aa72d4499361e661886dbfe7833bcc2c6f3746.zip |
Merge branch 'gr-uhd-async-msg-recv'
Diffstat (limited to 'gr-uhd/include/gr_uhd_amsg_source.h')
-rw-r--r-- | gr-uhd/include/gr_uhd_amsg_source.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gr-uhd/include/gr_uhd_amsg_source.h b/gr-uhd/include/gr_uhd_amsg_source.h index accf15ce2..3c1b59fa7 100644 --- a/gr-uhd/include/gr_uhd_amsg_source.h +++ b/gr-uhd/include/gr_uhd_amsg_source.h @@ -38,6 +38,13 @@ GR_UHD_API boost::shared_ptr<uhd_amsg_source> uhd_make_amsg_source( ); class GR_UHD_API uhd_amsg_source{ +public: + /*! + * Convert a raw asynchronous message to an asynchronous metatdata object. + * \return The asynchronous metadata object. + */ + static uhd::async_metadata_t msg_to_async_metadata_t(const gr_message_sptr msg); + }; #endif /* INCLUDED_GR_UHD_AMSG_SOURCE_H */ |