Electric Tiger DAQ  1.0.0
Data Acquisition Software for the Electric Tiger Experiment
abstractsocketcommunictor.h
1 #ifndef ABSTRACTSOCKETCOMMUNICATOR_H
2 #define ABSTRACTSOCKETCOMMUNICATOR_H
3 
4 //C System-Headers
5 //
6 //C++ System header
7 //
8 //Boost Headers
9 //
10 //Qt Headers
11 #include <QObject>
12 //Project specific headers
13 #include "../SocketComm/q_socket_comm.h"
14 #include "../../ConfigProcessor/experiment_parameters.h"
15 
16 class AbstractSocketCommunicator : public QObject {
17 
18  Q_OBJECT
19 
20  public:
21  AbstractSocketCommunicator( std::string ip_addr, uint port_number, QObject* parent = 0 );
22  AbstractSocketCommunicator( const TCPSocketParam socket_param, QObject* parent = 0 );
23 
24  AbstractSocketCommunicator& operator=( const AbstractSocketCommunicator& ) = delete; // non copyable
25  virtual ~AbstractSocketCommunicator() = 0;
26 
27  protected:
28  QSocketComm* socket;
29 
30 };
31 
32 #endif // ABSTRACTSOCKETCOMMUNICATOR_H
Definition: q_socket_comm.h:18
Definition: configprocessor.h:38
Definition: abstractsocketcommunictor.h:16