CORDET Framework - C2 Implementation
|
Implementation of the Sample 1 InReport. More...
Go to the source code of this file.
Functions | |
CrFwBool_t | CrFwInRepSample1ValidityCheck (FwPrDesc_t prDesc) |
Implementation of the Validity Check Operation for the Sample 1 InReport. More... | |
void | CrFwInRepSample1SetValidityFlag (CrFwBool_t flag) |
Set the value of the Validity Flag (see CrFwInRepSample1ValidityCheck ). More... | |
void | CrFwInRepSample1UpdateAction (FwPrDesc_t prDesc) |
Implementation of the Update Action Operation for the Sample 1 InReport. More... | |
void | CrFwInRepSample1SetUpdateActionOutcome (CrFwOutcome_t outcome) |
Set the value of the Update Action Outcome (see CrFwInRepSample1UpdateAction ). More... | |
CrFwCounterU1_t | CrFwInRepSample1GetUpdateActionCounter () |
Get the value of the Update Action Counter (see CrFwInRepSample1UpdateAction ). More... | |
CrFwServType_t | CrFwInRepSample1GetType () |
Get the value of the InReport's type as it is computed by the Validity Check (see CrFwInRepSample1ValidityCheck ). More... | |
Variables | |
static CrFwBool_t | validityFlag |
The Validity Flag. More... | |
static CrFwOutcome_t | updateOutcome |
The Update Action Outcome. More... | |
static CrFwCounterU1_t | updateCounter = 0 |
The Update Action Counter. More... | |
static CrFwServType_t | servType = 0 |
The InReport's type computed by the Validity Check. More... | |
Implementation of the Sample 1 InReport.
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 CrFwInRepSample1.c.
CrFwServType_t CrFwInRepSample1GetType | ( | ) |
Get the value of the InReport's type as it is computed by the Validity Check (see CrFwInRepSample1ValidityCheck
).
Definition at line 81 of file CrFwInRepSample1.c.
CrFwCounterU1_t CrFwInRepSample1GetUpdateActionCounter | ( | ) |
Get the value of the Update Action Counter (see CrFwInRepSample1UpdateAction
).
Definition at line 76 of file CrFwInRepSample1.c.
void CrFwInRepSample1SetUpdateActionOutcome | ( | CrFwOutcome_t | outcome | ) |
Set the value of the Update Action Outcome (see CrFwInRepSample1UpdateAction
).
outcome | the value of the Update Action Outcome |
Definition at line 71 of file CrFwInRepSample1.c.
void CrFwInRepSample1SetValidityFlag | ( | CrFwBool_t | flag | ) |
Set the value of the Validity Flag (see CrFwInRepSample1ValidityCheck
).
flag | the value of the validity flag |
Definition at line 59 of file CrFwInRepSample1.c.
void CrFwInRepSample1UpdateAction | ( | FwPrDesc_t | prDesc | ) |
Implementation of the Update Action Operation for the Sample 1 InReport.
This function sets the outcome to the value of an internal flag (the Update Action Outcome) whose value is set through function CrFwInRepSample1SetUpdateActionOutcome
and it increments the value of a counter (the Update Action Counter) whose value is read through function CrFwInRepSample1GetUpdateActionCounter
.
prDesc | the descriptor of the InReport procedure |
Definition at line 64 of file CrFwInRepSample1.c.
CrFwBool_t CrFwInRepSample1ValidityCheck | ( | FwPrDesc_t | prDesc | ) |
Implementation of the Validity Check Operation for the Sample 1 InReport.
This function: (a) stores the value of the InReport's type in an internal variable which can be accessed through function CrFwInRepSample1GetType
, and (b) returns the value of an internal flag (the Validity Flag) whose value is set through function CrFwInRepSample1SetValidityFlag
.
prDesc | the descriptor of the InReport reset procedure |
Definition at line 51 of file CrFwInRepSample1.c.
|
static |
The InReport's type computed by the Validity Check.
Definition at line 48 of file CrFwInRepSample1.c.
|
static |
The Update Action Counter.
Definition at line 45 of file CrFwInRepSample1.c.
|
static |
The Update Action Outcome.
Definition at line 42 of file CrFwInRepSample1.c.
|
static |
The Validity Flag.
Definition at line 39 of file CrFwInRepSample1.c.