summaryrefslogtreecommitdiffstats
path: root/lib/usrp/dboard/dboards.hpp
blob: 0a54ec94862b9a0833153c47ef2779df32405375 (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
31
32
33
34
//
// Copyright 2010 Ettus Research LLC
//

#ifndef INCLUDED_LOCAL_DBOARDS_HPP
#define INCLUDED_LOCAL_DBOARDS_HPP

#include <usrp_uhd/usrp/dboard/base.hpp>

using namespace usrp_uhd::usrp::dboard;

/***********************************************************************
 * The basic boards:
 **********************************************************************/
class basic_rx : public rx_base{
public:
    basic_rx(size_t subdev_index, interface::sptr dboard_interface);
    ~basic_rx(void);

    void rx_get(const wax::type &key, wax::type &val);
    void rx_set(const wax::type &key, const wax::type &val);
};

class basic_tx : public tx_base{
public:
    basic_tx(size_t subdev_index, interface::sptr dboard_interface);
    ~basic_tx(void);

    void tx_get(const wax::type &key, wax::type &val);
    void tx_set(const wax::type &key, const wax::type &val);

};

#endif /* INCLUDED_LOCAL_DBOARDS_HPP */