advanced down

This commit is contained in:
2019-05-08 16:44:08 +02:00
parent 2a1c89f712
commit c30485a65b
18 changed files with 1766 additions and 1648 deletions

View File

@@ -61,43 +61,39 @@ class qServer : public QWidget, public virtual slsDetectorDefs {
*/
void ServerThread(ServerSocket* sock);
/**
* Thread of stop server
*/
void StopServer();
/**
* Get Detector Status
* @returns success of operation
*/
int GetStatus();
int GetStatus(ServerSocket* sock);
/**
* Starts Acquisition
* @returns success of operation
*/
int StartAcquisition();
int StartAcquisition(ServerSocket* sock);
/**
* Stops Acquisition
* @returns success of operation
*/
int StopsAcquisition();
int StopsAcquisition(ServerSocket* sock);
/**
* Acquire - blocking
* @returns success of operation
*/
int Acquire();
int Acquire(ServerSocket* sock);
/**
* Exit Server
* @returns GOODBYE
*/
int ExitServer();
int ExitServer(ServerSocket* sock);
/** function list */
std::vector<int (*)()> flist;
typedef int (qServer::*some_func_t)(ServerSocket*);
typedef std::vector<some_func_t> sflist;
/** if the gui server thread is running*/
bool threadRunning;