aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/include/uhdlib/transport/adapter_info.hpp
blob: a21551e96acfe1a33d8040b6e83b660726824611 (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
28
29
30
//
// Copyright 2019 Ettus Research, a National Instruments Brand
//
// SPDX-License-Identifier: GPL-3.0-or-later
//

#ifndef INCLUDED_UHDLIB_TRANSPORT_ADAPTER_INFO_HPP
#define INCLUDED_UHDLIB_TRANSPORT_ADAPTER_INFO_HPP

#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

#endif /* INCLUDED_UHDLIB_TRANSPORT_ADAPTER_INFO_HPP */