diff options
author | Jörgen Scott <jorgen.scott@gmail.com> | 2015-01-13 11:27:39 +0100 |
---|---|---|
committer | Jörgen Scott <jorgen.scott@gmail.com> | 2015-01-13 11:27:39 +0100 |
commit | ba790cba2f7b48dd66f4418de0b7b366422926b0 (patch) | |
tree | a31f4fce6227b549561f53fb6f10e455070871f0 /src/OutputUHD.h | |
parent | 593c130b1e6848a08b30a84732ebd6862ef2e3b7 (diff) | |
download | dabmod-ba790cba2f7b48dd66f4418de0b7b366422926b0.tar.gz dabmod-ba790cba2f7b48dd66f4418de0b7b366422926b0.tar.bz2 dabmod-ba790cba2f7b48dd66f4418de0b7b366422926b0.zip |
added zmq remote control
Diffstat (limited to 'src/OutputUHD.h')
-rw-r--r-- | src/OutputUHD.h | 18 |
1 files changed, 2 insertions, 16 deletions
diff --git a/src/OutputUHD.h b/src/OutputUHD.h index 25f7476..60dfc65 100644 --- a/src/OutputUHD.h +++ b/src/OutputUHD.h @@ -48,7 +48,6 @@ DESCRIPTION: #include <boost/shared_ptr.hpp> #include <list> #include <string> -#include <zmq.hpp> #include "Log.h" #include "ModOutput.h" @@ -184,9 +183,7 @@ class OutputUHD: public ModOutput, public RemoteControllable { OutputUHD( OutputUHDConfig& config, - Logger& logger, - zmq::context_t *pContext, - const std::string &zmqCtrlEndpoint); + Logger& logger); ~OutputUHD(); int process(Buffer* dataIn, Buffer* dataOut); @@ -226,20 +223,9 @@ class OutputUHD: public ModOutput, public RemoteControllable { bool myMuting; private: - // zmq receiving method - //TODO: Should be implemented as an alternative to RemoteControllerTelnet and - //moved to the RemoteControl.h/cpp file instead. - void ZmqCtrl(void); - void RecvAll(zmq::socket_t* pSocket, std::vector<std::string> &message); - void SendOkReply(zmq::socket_t *pSocket); - void SendFailReply(zmq::socket_t *pSocket, const std::string &error); - // data int myStaticDelay; - std::vector<complexf> m_delayBuf; - zmq::context_t *m_pContext; - std::string m_zmqCtrlEndpoint; - boost::thread *m_pZmqRepThread; + std::vector<complexf> myDelayBuf; size_t lastLen; }; |