UHD  003.000.001
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
misc_utils.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_MISC_UTILS_HPP
19 #define INCLUDED_UHD_USRP_MISC_UTILS_HPP
20 
21 #include <uhd/config.hpp>
22 #include <uhd/wax.hpp>
23 #include <uhd/usrp/dboard_id.hpp>
24 #include <uhd/usrp/subdev_spec.hpp>
25 #include <uhd/utils/gain_group.hpp>
26 
27 namespace uhd{ namespace usrp{
28 
35  };
36 
45  const dboard_id_t &dboard_id,
46  wax::obj subdev, wax::obj codec,
47  gain_group_policy_t gain_group_policy
48  );
49 
57  UHD_API void verify_rx_subdev_spec(subdev_spec_t &subdev_spec, wax::obj mboard);
58 
66  UHD_API void verify_tx_subdev_spec(subdev_spec_t &subdev_spec, wax::obj mboard);
67 
68 }} //namespace
69 
70 #endif /* INCLUDED_UHD_USRP_MISC_UTILS_HPP */
71 
Definition: misc_utils.hpp:33
UHD_API gain_group::sptr make_gain_group(const dboard_id_t &dboard_id, wax::obj subdev, wax::obj codec, gain_group_policy_t gain_group_policy)
Definition: dboard_id.hpp:28
gain_group_policy_t
Definition: misc_utils.hpp:32
#define UHD_API
Definition: config.hpp:76
Definition: convert.hpp:28
Definition: wax.hpp:64
boost::shared_ptr< gain_group > sptr
Definition: gain_group.hpp:42
Definition: subdev_spec.hpp:71
UHD_API void verify_tx_subdev_spec(subdev_spec_t &subdev_spec, wax::obj mboard)
Definition: misc_utils.hpp:34
UHD_API void verify_rx_subdev_spec(subdev_spec_t &subdev_spec, wax::obj mboard)