QApolloDbGui Class Reference
[ApolloDataBase]

Inheritance diagram for QApolloDbGui:

QApolloDb

List of all members.


Detailed Description

interface to cuore database qdb. Used by Apollo GUI

Author:
sergio.didomizio@ge.infn.it

Public Member Functions

 QApolloDbGui ()
 ctor
virtual ~QApolloDbGui ()
 dtor
bool ResetRun ()
 try to reset db status assuming that there is an active run
void InsertUserComments (const std::string &comment, bool start)
 insert user comments into the user_infos table

Member Function Documentation

bool QApolloDbGui::ResetRun (  ) 

try to reset db status assuming that there is an active run

Returns:
true on success, or false if there are no active runs in db

References QApolloDbBase::Get(), QError::GetCode(), and QApolloDbBase::ResetRun().

Referenced by QGuiScope::GetActiveChannels(), and QGUIHistogramDisplay::GetActiveChannels().

void QApolloDbGui::InsertUserComments ( const std::string &  comment,
bool  start 
)

insert user comments into the user_infos table

Parameters:
comment user comment to be inserted into db
start allow to select between start and stop comments: true is for start comments, false for stop comments
In case of start comments, this method can be used only when there is an active run. If it is used when there are no active runs, a QError is thrown.


The documentation for this class was generated from the following files:

Generated on Tue Nov 16 10:50:04 2010 for CUORE Software by  doxygen 1.5.6