client connecting to gui serveR done

git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorGui@150 af1100a4-978c-4157-bff7-07162d2ba061
This commit is contained in:
l_maliakal_d
2013-03-04 15:27:57 +00:00
parent 863b662c6b
commit 22b51032dd
8 changed files with 269 additions and 71 deletions

View File

@@ -11,8 +11,7 @@
/** Qt Project Class Headers */
#include "sls_detector_defs.h"
#include "qDefs.h"
class qDrawPlot;
class qTabMeasurement;
class qDetectorMain;
/** Project Class Headers */
class multiSlsDetector;
@@ -28,7 +27,7 @@ class qServer: public virtual slsDetectorDefs{
public:
/** \short The constructor */
qServer(multiSlsDetector*& detector, qTabMeasurement* m, qDrawPlot *d);
qServer(multiSlsDetector*& detector, qDetectorMain *t);
/** Destructor */
~qServer();
@@ -39,10 +38,10 @@ public:
private:
/** assigns functions to the fnum enum */
int function_table();
int FunctionTable();
/** Decodes Function */
int decode_function();
int DecodeFunction();
/** Unrecognized Function */
int M_nofunc();
@@ -62,19 +61,27 @@ private:
*/
int StartServer();
/** Get Detector Status */
int get_status();
/** Exit Server */
int ExitServer();
/** Get Detector Status */
int GetStatus();
/** Starts Acquisition */
int StartAcquisition();
/** Stops Acquisition */
int StopsAcquisition();
/** Acquire - blocking */
int Acquire();
/** The multi detector object */
multiSlsDetector *myDet;
/**The measurement tab object*/
qTabMeasurement *tab_measurement;
/**The plot widget object*/
qDrawPlot *myPlot;
qDetectorMain *myMainTab;
/** tcp socket to gui client */
MySocketTCP *mySocket;