lemAutoRun  1.0
Public Slots | Signals | Public Member Functions | Private Member Functions | Private Attributes | List of all members
PErrorHandler Class Reference

#include <PErrorHandler.h>

Inheritance diagram for PErrorHandler:
Inheritance graph
[legend]
Collaboration diagram for PErrorHandler:
Collaboration graph
[legend]

Public Slots

void HandleErrors (int noOfErrors, int idx, int errorNo, int line, QString errorMsg)
 

Signals

void Terminate ()
 emitted in case a too severe error occured. More...
 

Public Member Functions

 PErrorHandler ()
 
 ~PErrorHandler ()
 

Private Member Functions

void CheckForAlarm (int errorNo, QString errorMsg)
 
void CheckErrorNo (int errorNo)
 

Private Attributes

int fNoOfErrors
 
int fErrCount
 

Detailed Description

Definition at line 28 of file PErrorHandler.h.

Constructor & Destructor Documentation

◆ PErrorHandler()

PErrorHandler::PErrorHandler ( )

Constructor

Definition at line 37 of file PErrorHandler.cpp.

◆ ~PErrorHandler()

PErrorHandler::~PErrorHandler ( )

Destructor

Definition at line 49 of file PErrorHandler.cpp.

Member Function Documentation

◆ CheckErrorNo()

void PErrorHandler::CheckErrorNo ( int  errorNo)
private

◆ CheckForAlarm()

void PErrorHandler::CheckForAlarm ( int  errorNo,
QString  errorMsg 
)
private

◆ HandleErrors

void PErrorHandler::HandleErrors ( int  noOfErrors,
int  idx,
int  errorNo,
int  line,
QString  errorMsg 
)
slot

Prints error messages. At the moment only sent to the MIDAS message system.

Parameters
noOfErrorstotal number of errors encoutered so far
idxcurrent error count index
errorNoerror number
lineline number where the error occured in the user auto run sequence
errorMsg'clear text' error message

Definition at line 65 of file PErrorHandler.cpp.

References LAR_AUTO_RUN_DISABLED, LAR_MSG, and LAR_MSG_NO_LINE_NO.

◆ Terminate

void PErrorHandler::Terminate ( )
signal

emitted in case a too severe error occured.

Member Data Documentation

◆ fErrCount

int PErrorHandler::fErrCount
private

Definition at line 44 of file PErrorHandler.h.

◆ fNoOfErrors

int PErrorHandler::fNoOfErrors
private

Definition at line 43 of file PErrorHandler.h.


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