uhd: move non-52MHz transceiver to common radio device interface
Use the same header files for the device and start moving
toward a commmon transceiver without so much redundant code.
Signed-off-by: Thomas Tsou <ttsou@vt.edu>
git-svn-id: http://wush.net/svn/range/software/public/openbts/trunk@2641 19bc5d8c-e614-43d4-8b26-e1612bc8e597
diff --git a/Transceiver52M/radioDevice.h b/Transceiver52M/radioDevice.h
index 8835ae5..f10da3e 100644
--- a/Transceiver52M/radioDevice.h
+++ b/Transceiver52M/radioDevice.h
@@ -29,6 +29,7 @@
public:
static RadioDevice *make(double desiredSampleRate, bool skipRx = false);
+ /** Initialize the USRP */
virtual bool open()=0;
/** Start the USRP */
@@ -37,6 +38,9 @@
/** Stop the USRP */
virtual bool stop()=0;
+ /** Enable thread priority */
+ virtual void setPriority()=0;
+
/**
Read samples from the radio.
@param buf preallocated buf to contain read result