From 56f21097483da8aa5d8787a75a1b22a0c4c41313 Mon Sep 17 00:00:00 2001 From: Martin Braun Date: Mon, 19 Aug 2019 17:13:21 -0700 Subject: niusrprio: Add get_resource() API call --- host/include/uhd/transport/nirio/niusrprio_session.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'host/include') diff --git a/host/include/uhd/transport/nirio/niusrprio_session.h b/host/include/uhd/transport/nirio/niusrprio_session.h index 41f05aec0..2154c41f1 100644 --- a/host/include/uhd/transport/nirio/niusrprio_session.h +++ b/host/include/uhd/transport/nirio/niusrprio_session.h @@ -87,6 +87,11 @@ public: static niriok_proxy::sptr create_kernel_proxy( const std::string& resource_name, const std::string& rpc_port_name); + std::string get_resource() const + { + return _resource_name; + } + private: nirio_status _verify_signature(); std::string _read_bitstream_checksum(); -- cgit v1.2.3