blob: ef455151b738998952ca6eb5db498c1b8550f419 (
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
|
//
// Copyright 2010 Ettus Research LLC
//
#ifndef INCLUDED_USRP_UHD_USRP_MBOARD_BASE_HPP
#define INCLUDED_USRP_UHD_USRP_MBOARD_BASE_HPP
#include <usrp_uhd/wax.hpp>
#include <boost/utility.hpp>
#include <boost/shared_ptr.hpp>
namespace usrp_uhd{ namespace usrp{ namespace mboard{
/*!
* A base class for usrp mboard objects.
*/
class base : boost::noncopyable, public wax::obj{
public:
typedef boost::shared_ptr<base> sptr;
base(void);
~base(void);
//TODO other api calls
private:
virtual void get(const wax::type &, wax::type &) = 0;
virtual void set(const wax::type &, const wax::type &) = 0;
};
}}} //namespace
#endif /* INCLUDED_USRP_UHD_USRP_MBOARD_BASE_HPP */
|