CORDET Framework - C2 Implementation
|
The CORDET Framework defines an interface for generating error reports (see CrFwRepErr.h
).
More...
Go to the source code of this file.
Functions | |
CrFwCounterU2_t | CrFwRepErrStubGetPos () |
Return the position in the error report array at which the next error report will be written. More... | |
void | CrFwRepErrStubReset () |
Reset the error reporting interface. More... | |
CrFwRepErrCode_t | CrFwRepErrStubGetErrCode (CrFwCounterU2_t errRepPos) |
Return the error code of the error report at position errRepPos . More... | |
CrFwTypeId_t | CrFwRepErrStubGetTypeId (CrFwCounterU2_t errRepPos) |
Return the type identifier of the error report at position errRepPos . More... | |
CrFwInstanceId_t | CrFwRepErrStubGetInstanceId (CrFwCounterU2_t errRepPos) |
Return the type identifier of the error report at position errRepPos . More... | |
CrFwCounterU1_t * | CrFwRepErrStubGetParArray (CrFwCounterU2_t errRepPos) |
Return the array holding the parameters associated to the error report at position errRepPos . More... | |
CrFwDestSrc_t | CrFwRepErrStubGetDest (CrFwCounterU2_t errRepPos) |
Return the destination associated to the error report at position errRepPos . More... | |
CrFwSeqCnt_t | CrFwRepErrStubGetExpSeqCnt (CrFwCounterU2_t errRepPos) |
Return the expected sequence counter associated to the error report at position errRepPos . More... | |
CrFwSeqCnt_t | CrFwRepErrStubGetActualSeqCnt (CrFwCounterU2_t errRepPos) |
Return the actual sequence counter associated to the error report at position errRepPos . More... | |
CrFwInstanceId_t | CrFwRepErrStubGetSecondatyInstanceId (CrFwCounterU2_t errRepPos) |
Return the secondary instance identifier associated to the error report at position errRepPos . More... | |
CrFwOutcome_t | CrFwRepErrStubGetOutcome (CrFwCounterU2_t errRepPos) |
Return the outcome associated to the error report at position errRepPos . More... | |
The CORDET Framework defines an interface for generating error reports (see CrFwRepErr.h
).
A stub implementation for this interface is provided in CrFwRepErr.c
. The present module defines the public functions which are implemented by CrFwRepErr.c
but which are not declared in CrFwRepErr.h
. Thus, the complete interface of the error reporting stub implemented in CrFwRepErr.c
is provided in:
CrFwRepErr.h
(interface defined at framework level)This file is part of the CORDET Framework.
This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
For information on alternative licensing, please contact P&P Software GmbH.
Definition in file tests/CrFwRepErrStub.h.
CrFwSeqCnt_t CrFwRepErrStubGetActualSeqCnt | ( | CrFwCounterU2_t | errRepPos | ) |
Return the actual sequence counter associated to the error report at position errRepPos
.
This function assumes that the error report at position errRepPos
was created with a call to CrFwRepErrSeqCnt
.
errRepPos | the position in the error reporting array |
Definition at line 221 of file cordetfw/tests/config/CrFwRepErr.c.
CrFwDestSrc_t CrFwRepErrStubGetDest | ( | CrFwCounterU2_t | errRepPos | ) |
Return the destination associated to the error report at position errRepPos
.
This function assumes that the error report at position errRepPos
was created with a call to CrFwRepErrDestSrc
.
errRepPos | the position in the error reporting array |
Definition at line 210 of file cordetfw/tests/config/CrFwRepErr.c.
CrFwRepErrCode_t CrFwRepErrStubGetErrCode | ( | CrFwCounterU2_t | errRepPos | ) |
Return the error code of the error report at position errRepPos
.
This function is provided for convenience during testing. It is not part of the error reporting interface.
errRepPos | the position in the error reporting array |
Definition at line 190 of file cordetfw/tests/config/CrFwRepErr.c.
CrFwSeqCnt_t CrFwRepErrStubGetExpSeqCnt | ( | CrFwCounterU2_t | errRepPos | ) |
Return the expected sequence counter associated to the error report at position errRepPos
.
This function assumes that the error report at position errRepPos
was created with a call to CrFwRepErrSeqCnt
.
errRepPos | the position in the error reporting array |
Definition at line 215 of file cordetfw/tests/config/CrFwRepErr.c.
CrFwInstanceId_t CrFwRepErrStubGetInstanceId | ( | CrFwCounterU2_t | errRepPos | ) |
Return the type identifier of the error report at position errRepPos
.
This function is provided for convenience during testing. It is not part of the error reporting interface.
errRepPos | the position in the error reporting array |
Definition at line 200 of file cordetfw/tests/config/CrFwRepErr.c.
CrFwOutcome_t CrFwRepErrStubGetOutcome | ( | CrFwCounterU2_t | errRepPos | ) |
Return the outcome associated to the error report at position errRepPos
.
This function assumes that the error report at position errRepPos
was created with a call to CrFwRepErrInstanceIdAndOutcome
.
errRepPos | the position in the error reporting array |
Definition at line 232 of file cordetfw/tests/config/CrFwRepErr.c.
CrFwCounterU1_t* CrFwRepErrStubGetParArray | ( | CrFwCounterU2_t | errRepPos | ) |
Return the array holding the parameters associated to the error report at position errRepPos
.
This function is provided for convenience during testing. It is not part of the error reporting interface.
errRepPos | the position in the error reporting array |
Definition at line 205 of file cordetfw/tests/config/CrFwRepErr.c.
CrFwCounterU2_t CrFwRepErrStubGetPos | ( | ) |
Return the position in the error report array at which the next error report will be written.
Definition at line 71 of file cordetfw/tests/config/CrFwRepErr.c.
CrFwInstanceId_t CrFwRepErrStubGetSecondatyInstanceId | ( | CrFwCounterU2_t | errRepPos | ) |
Return the secondary instance identifier associated to the error report at position errRepPos
.
This function assumes that the error report at position errRepPos
was created with a call to CrFwRepErrInstanceIdAndOutcome
.
errRepPos | the position in the error reporting array |
Definition at line 227 of file cordetfw/tests/config/CrFwRepErr.c.
CrFwTypeId_t CrFwRepErrStubGetTypeId | ( | CrFwCounterU2_t | errRepPos | ) |
Return the type identifier of the error report at position errRepPos
.
This function is provided for convenience during testing. It is not part of the error reporting interface.
errRepPos | the position in the error reporting array |
Definition at line 195 of file cordetfw/tests/config/CrFwRepErr.c.
void CrFwRepErrStubReset | ( | ) |
Reset the error reporting interface.
This effectively deletes all error reports created since the last reset.
Definition at line 76 of file cordetfw/tests/config/CrFwRepErr.c.