summaryrefslogtreecommitdiffstats
path: root/lib/usrp/dboard/dboards.hpp
blob: b46b5f590a0c983334bdd80c0ce8dc6e859a1410 (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
35
36
37
38
39
40
//
// 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:
    static xcvr_base::sptr make(ctor_args_t const& args){
        return xcvr_base::sptr(new basic_rx(args));
    }
    basic_rx(ctor_args_t const& args);
    ~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:
    static xcvr_base::sptr make(ctor_args_t const& args){
        return xcvr_base::sptr(new basic_tx(args));
    }
    basic_tx(ctor_args_t const& args);
    ~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 */