aboutsummaryrefslogtreecommitdiffstats
path: root/include/usrp_uhd/usrp/mboard/test.hpp
blob: 10b46c7fcc6028ac3dca282c6b2fd2f212923c4a (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
//
// Copyright 2010 Ettus Research LLC
//

#ifndef INCLUDED_USRP_UHD_USRP_MBOARD_TEST_HPP
#define INCLUDED_USRP_UHD_USRP_MBOARD_TEST_HPP

#include <usrp_uhd/usrp/mboard/base.hpp>
#include <usrp_uhd/device_addr.hpp>
#include <usrp_uhd/usrp/dboard/manager.hpp>
#include <vector>

namespace usrp_uhd{ namespace usrp{ namespace mboard{

/*!
 * A test usrp mboard object.
 * Exercises access routines for the test suite.
 */
class test : public base{
public:
    test(const device_addr_t &);
    ~test(void);

private:
    void get(const wax::type &, wax::type &);
    void set(const wax::type &, const wax::type &);

    std::vector<dboard::manager::sptr> _dboard_managers;
};

}}} //namespace

#endif /* INCLUDED_USRP_UHD_USRP_MBOARD_TEST_HPP */