QDaqClient Class Reference

Inheritance diagram for QDaqClient:

QBaseClient List of all members.

Detailed Description

this class implements client side functions that can be used to communicate with Apollo Daq server.

Author:
sergio.didomizio@ge.infn.it


Public Member Functions

 QDaqClient (const std::string &address, const std::string &port)
bool SetTriggerFlag (const unsigned short crateId, const bool flag)
bool StartRun (const int settingsBasket, const int run, const int shifterSet)
 start a new run
bool StopRun (const int shifterSet)
 stop current run
bool GetCurrentRunNumber (int &run)
 ask daq server for current run number
bool GetDaqStatus (QDaqState &statusId)
 get current daq status


Member Function Documentation

bool QDaqClient::StartRun ( const int  settingsBasket,
const int  run,
const int  shifterSet 
)

start a new run

Parameters:
settingsBasket settings basket id
run run number
shifterSet shifter set id
Returns:
true on success, false if start command failed

bool QDaqClient::StopRun ( const int  shifterSet  ) 

stop current run

Parameters:
shifterSet shifter set id
Returns:
true on success, false if stop command failed

bool QDaqClient::GetCurrentRunNumber ( int &  run  ) 

ask daq server for current run number

Parameters:
run filled with current run number, or 0 if daq is not running
Returns:
true on success, false if command failed

bool QDaqClient::GetDaqStatus ( QDaqState statusId  ) 

get current daq status

Parameters:
statusId filled with current daq status


The documentation for this class was generated from the following files:
Generated on Fri Mar 6 13:40:42 2009 for CUORE Software by  doxygen 1.5.1