aboutsummaryrefslogtreecommitdiffstats
path: root/Transceiver52M/device/ipc/ipcb210.h
diff options
context:
space:
mode:
Diffstat (limited to 'Transceiver52M/device/ipc/ipcb210.h')
-rw-r--r--Transceiver52M/device/ipc/ipcb210.h36
1 files changed, 24 insertions, 12 deletions
diff --git a/Transceiver52M/device/ipc/ipcb210.h b/Transceiver52M/device/ipc/ipcb210.h
index fbcf1da..ae0f169 100644
--- a/Transceiver52M/device/ipc/ipcb210.h
+++ b/Transceiver52M/device/ipc/ipcb210.h
@@ -1,24 +1,36 @@
#ifndef IPC_B210_H
#define IPC_B210_H
-#include "magicwrap.h"
+#include <thread>
+//#include "magicwrap.h"
#include "IPCDevice.h"
-#include "../uhd/UHDDevice.h"
+//#include "../uhd/UHDDevice.h"
+class IPC_b210 : public IPCDevice {
+ // std::thread *t;
+ // bool flush_recv(size_t num_pkts) override;
+ public:
+ template <typename... Args> IPC_b210(Args... args);
+ virtual ~IPC_b210();
+ // void ipc_sock_close() override {};
+#if 0
+ int readSamples(std::vector<short *> &bufs, int len, bool *overrun, TIMESTAMP timestamp,
+ bool *underrun) override;
+ TIMESTAMP initialWriteTimestamp() override;
+ TIMESTAMP initialReadTimestamp() override;
+ bool start() override;
+#endif
-class IPC_b210 : public IPCDevice {
- magicwrap m;
- public:
- template<typename... Args>
- IPC_b210(Args... args): IPCDevice(args...){
- //drvtest::main(0,0);
- }
- virtual ~IPC_b210() {};
+#if 0
+ int writeSamples(std::vector<short *> &bufs, int len, bool *underrun, unsigned long long timestamp) override;
+ bool updateAlignment(TIMESTAMP timestamp) override;
+#endif
+ // double setTxGain(double dB, size_t chan) override;
+ // double setRxGain(double dB, size_t chan) override;
- int foo(){return 32;}
-// void ipc_sock_close() override {};
+ // bool stop() override;
};
#endif // IPC_B210_H