UHD
003.005.003-83-stable
Main Page
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
include
uhd
usrp
dboard_base.hpp
Go to the documentation of this file.
1
//
2
// Copyright 2010 Ettus Research LLC
3
//
4
// This program is free software: you can redistribute it and/or modify
5
// it under the terms of the GNU General Public License as published by
6
// the Free Software Foundation, either version 3 of the License, or
7
// (at your option) any later version.
8
//
9
// This program is distributed in the hope that it will be useful,
10
// but WITHOUT ANY WARRANTY; without even the implied warranty of
11
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
// GNU General Public License for more details.
13
//
14
// You should have received a copy of the GNU General Public License
15
// along with this program. If not, see <http://www.gnu.org/licenses/>.
16
//
17
18
#ifndef INCLUDED_UHD_USRP_DBOARD_BASE_HPP
19
#define INCLUDED_UHD_USRP_DBOARD_BASE_HPP
20
21
#include <
uhd/config.hpp
>
22
#include <
uhd/property_tree.hpp
>
23
#include <
uhd/utils/pimpl.hpp
>
24
#include <boost/utility.hpp>
25
#include <boost/shared_ptr.hpp>
26
#include <
uhd/usrp/dboard_id.hpp
>
27
#include <
uhd/usrp/dboard_iface.hpp
>
28
29
namespace
uhd{
namespace
usrp{
30
35
class
UHD_API
dboard_base
: boost::noncopyable{
36
public
:
37
typedef
boost::shared_ptr<dboard_base>
sptr
;
43
typedef
void
*
ctor_args_t
;
44
45
//structors
46
dboard_base
(
ctor_args_t
);
47
48
protected
:
49
std::string get_subdev_name(
void
);
50
dboard_iface::sptr
get_iface(
void
);
51
dboard_id_t
get_rx_id(
void
);
52
dboard_id_t
get_tx_id(
void
);
53
property_tree::sptr
get_rx_subtree(
void
);
54
property_tree::sptr
get_tx_subtree(
void
);
55
56
private
:
57
UHD_PIMPL_DECL
(impl) _impl;
58
};
59
64
class
UHD_API
xcvr_dboard_base
: public
dboard_base
{
65
public
:
69
xcvr_dboard_base
(
ctor_args_t
);
70
};
71
76
class
UHD_API
rx_dboard_base
:
public
dboard_base
{
77
public
:
81
rx_dboard_base
(
ctor_args_t
);
82
};
83
88
class
UHD_API
tx_dboard_base
:
public
dboard_base
{
89
public
:
93
tx_dboard_base
(
ctor_args_t
);
94
};
95
96
}}
//namespace
97
98
#endif
/* INCLUDED_UHD_USRP_DBOARD_BASE_HPP */
Generated by
1.8.3.1