aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/include/uhdlib/transport/adapter_info.hpp
blob: c6fd798ab3943286ce613506bf2b230d02b10750 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
//
// Copyright 2019 Ettus Research, a National Instruments Brand
//
// SPDX-License-Identifier: GPL-3.0-or-later
//

#pragma once

#include <uhd/transport/adapter_id.hpp>
#include <uhd/utils/noncopyable.hpp>
#include <uhd/utils/static.hpp>
#include <unordered_map>
#include <memory>
#include <mutex>

namespace uhd { namespace transport {

class adapter_info
{
public:
    /*! Returns a unique string identifying the adapter
     *  String contents are not API. Only uniqueness is guaranteed.
     */
    virtual std::string to_string() = 0;
};

}} // namespace uhd::transport