CORDET Framework - C2 Implementation
|
The CORDET Framework defines an interface for reporting the outcome of an InCommand (see CrFwRepInCmdOutcome.h
).
More...
Go to the source code of this file.
Functions | |
CrFwCounterU2_t | CrFwRepInCmdOutcomeStubGetPos () |
Return the position in the InCommand Outcome Report array at which the next outcome report will be written. More... | |
void | CrFwRepInCmdOutcomeStubReset () |
Reset the InCommand Outcome Reporting interface. More... | |
CrFwRepInCmdOutcome_t | CrFwRepInCmdOutcomeStubGetOutcome (CrFwCounterU2_t repPos) |
Return the outcome of the InCommand Outcome Report at position repPos . More... | |
CrFwOutcome_t | CrFwRepInCmdOutcomeStubGetFailCode (CrFwCounterU2_t repPos) |
Return the failure code of the InCommand Outcome Report at position repPos . More... | |
CrFwInstanceId_t | CrFwRepInCmdOutcomeStubGetInstanceId (CrFwCounterU2_t repPos) |
Return the instance identifier of the InCommand Outcome Report at position repPos . More... | |
CrFwServType_t | CrFwRepInCmdOutcomeStubGetServType (CrFwCounterU2_t repPos) |
Return the service type of the InCommand Outcome Report at position repPos . More... | |
CrFwServSubType_t | CrFwRepInCmdOutcomeStubGetServSubType (CrFwCounterU2_t repPos) |
Return the service sub-type of the InCommand Outcome Report at position repPos . More... | |
CrFwDiscriminant_t | CrFwRepInCmdOutcomeStubGetDiscriminant (CrFwCounterU2_t repPos) |
Return the discriminant of the InCommand Outcome Report at position repPos . More... | |
The CORDET Framework defines an interface for reporting the outcome of an InCommand (see CrFwRepInCmdOutcome.h
).
A stub implementation for this interface is provided in CrFwRepInCmdOutcomeStub.c
. The present module defines the public functions which are implemented by CrFwRepInCmdOutcome.c
but which are not declared in CrFwRepInCmdOutcome.h
. Thus, the complete interface of the InCommand outcome reporting stub of CrFwRepInCmdOutcomeStub.c
is provided in:
CrFwRepInCmdOutcome.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/CrFwRepInCmdOutcomeStub.h.
CrFwDiscriminant_t CrFwRepInCmdOutcomeStubGetDiscriminant | ( | CrFwCounterU2_t | repPos | ) |
Return the discriminant of the InCommand Outcome Report at position repPos
.
This function is provided for convenience during testing. It is not part of the InCommand Outcome Reporting interface.
repPos | the position in the InCommand Outcome Report array |
Definition at line 119 of file cordetfw/tests/config/CrFwRepInCmdOutcome.c.
CrFwOutcome_t CrFwRepInCmdOutcomeStubGetFailCode | ( | CrFwCounterU2_t | repPos | ) |
Return the failure code of the InCommand Outcome Report at position repPos
.
This function is provided for convenience during testing. It is not part of the InCommand Outcome Reporting interface.
repPos | the position in the InCommand Outcome Report array |
Definition at line 99 of file cordetfw/tests/config/CrFwRepInCmdOutcome.c.
CrFwInstanceId_t CrFwRepInCmdOutcomeStubGetInstanceId | ( | CrFwCounterU2_t | repPos | ) |
Return the instance identifier of the InCommand Outcome Report at position repPos
.
This function is provided for convenience during testing. It is not part of the InCommand Outcome Reporting interface.
repPos | the position in the InCommand Outcome Report array |
Definition at line 104 of file cordetfw/tests/config/CrFwRepInCmdOutcome.c.
CrFwRepInCmdOutcome_t CrFwRepInCmdOutcomeStubGetOutcome | ( | CrFwCounterU2_t | repPos | ) |
Return the outcome of the InCommand Outcome Report at position repPos
.
This function is provided for convenience during testing. It is not part of the InCommand Outcome Reporting interface.
repPos | the position in the InCommand Outcome Report array |
Definition at line 94 of file cordetfw/tests/config/CrFwRepInCmdOutcome.c.
CrFwCounterU2_t CrFwRepInCmdOutcomeStubGetPos | ( | ) |
Return the position in the InCommand Outcome Report array at which the next outcome report will be written.
Definition at line 69 of file cordetfw/tests/config/CrFwRepInCmdOutcome.c.
CrFwServSubType_t CrFwRepInCmdOutcomeStubGetServSubType | ( | CrFwCounterU2_t | repPos | ) |
Return the service sub-type of the InCommand Outcome Report at position repPos
.
This function is provided for convenience during testing. It is not part of the InCommand Outcome Reporting interface.
repPos | the position in the InCommand Outcome Report array |
Definition at line 114 of file cordetfw/tests/config/CrFwRepInCmdOutcome.c.
CrFwServType_t CrFwRepInCmdOutcomeStubGetServType | ( | CrFwCounterU2_t | repPos | ) |
Return the service type of the InCommand Outcome Report at position repPos
.
This function is provided for convenience during testing. It is not part of the InCommand Outcome Reporting interface.
repPos | the position in the InCommand Outcome Report array |
Definition at line 109 of file cordetfw/tests/config/CrFwRepInCmdOutcome.c.
void CrFwRepInCmdOutcomeStubReset | ( | ) |
Reset the InCommand Outcome Reporting interface.
This effectively deletes all outcome reports created since the last reset.
Definition at line 74 of file cordetfw/tests/config/CrFwRepInCmdOutcome.c.