mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2026-02-15 11:28:42 +01:00
advanced down
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user