Components/Libraries/XF/FreeRTOS/Error
From UIT
(Difference between revisions)
Sara.chalokh (Talk | contribs) (Created page with "{{TOC right}} = Error = This class is used to get more informations about an error that occur. It indicate the type of the error and it's severity. Error are received and trea...") |
Sara.chalokh (Talk | contribs) |
||
Line 17: | Line 17: | ||
eErrorType '''oType''' : the type of the Error (basically set to NO_ERROR) | eErrorType '''oType''' : the type of the Error (basically set to NO_ERROR) | ||
eSeverityLevel '''oSeverityLevel''' : the severity level of the Error (basically set to UNDETERMINED) | eSeverityLevel '''oSeverityLevel''' : the severity level of the Error (basically set to UNDETERMINED) | ||
+ | |||
+ | == ~Error() [virtual] == | ||
+ | === Description === | ||
+ | he destructor of the Error. | ||
+ | |||
+ | == eErrorType getErrorType() == | ||
+ | === Description === | ||
+ | Returns the type of the Error | ||
+ | |||
+ | == eSeverityLevel getErrorSeverityLevel() == | ||
+ | === Description === | ||
+ | Returns the type of the Error |
Latest revision as of 11:21, 25 August 2017
|
Error
This class is used to get more informations about an error that occur. It indicate the type of the error and it's severity. Error are received and treated by the ErrorHandler.
Member Attributes
eErrorType _errorType : the type of the error
eSeverityLevel _severityLevel : the severity level of the error
Member Functions Documentation
Error(eErrorType oType, eSeverityLevel oSeverityLevel)
Description
The constructor of the Error. It create an Error with the give type and severity level
Parameters
eErrorType oType : the type of the Error (basically set to NO_ERROR) eSeverityLevel oSeverityLevel : the severity level of the Error (basically set to UNDETERMINED)
~Error() [virtual]
Description
he destructor of the Error.
eErrorType getErrorType()
Description
Returns the type of the Error
eSeverityLevel getErrorSeverityLevel()
Description
Returns the type of the Error