CORDET Framework - C2 Implementation
CrFwRepErr.h
Go to the documentation of this file.
1 
47 #ifndef CRFW_REPERR_H_
48 #define CRFW_REPERR_H_
49 
50 /* Include Framework Files */
51 #include "CrFwConstants.h"
52 /* Include Configuration Files */
53 #include "CrFwUserConstants.h"
54 
62 void CrFwRepErr(CrFwRepErrCode_t errCode, CrFwTypeId_t typeId, CrFwInstanceId_t instanceId);
63 
73 void CrFwRepErrDestSrc(CrFwRepErrCode_t errCode, CrFwTypeId_t typeId, CrFwInstanceId_t instanceId,
74  CrFwDestSrc_t destSrc);
75 
85 void CrFwRepErrGroup(CrFwRepErrCode_t errCode, CrFwTypeId_t typeId, CrFwInstanceId_t instanceId,
86  CrFwGroup_t group);
87 
100 void CrFwRepErrSeqCnt(CrFwRepErrCode_t errCode, CrFwTypeId_t typeId, CrFwInstanceId_t instanceId,
101  CrFwSeqCnt_t expSeqCnt, CrFwSeqCnt_t actSeqCnt, CrFwPckt_t pckt);
102 
116  CrFwInstanceId_t instanceId, CrFwInstanceId_t secondaryInstanceId, CrFwOutcome_t outcome);
117 
133  CrFwInstanceId_t instanceId, CrFwInstanceId_t secondaryInstanceId,
135 
145 void CrFwRepErrPckt(CrFwRepErrCode_t errCode, CrFwTypeId_t typeId,
146  CrFwInstanceId_t instanceId, CrFwPckt_t pckt);
147 
156 void CrFwRepErrRep(CrFwRepErrCode_t errCode, CrFwTypeId_t typeId,
157  CrFwInstanceId_t instanceId, FwSmDesc_t rep);
158 
167 void CrFwRepErrCmd(CrFwRepErrCode_t errCode, CrFwTypeId_t typeId,
168  CrFwInstanceId_t instanceId, FwSmDesc_t cmd);
169 
170 
182 void CrFwRepErrKind(CrFwRepErrCode_t errCode, CrFwTypeId_t typeId,
185 
186 
187 #endif /* CRFW_REPERR_H_ */
void CrFwRepErrGroup(CrFwRepErrCode_t errCode, CrFwTypeId_t typeId, CrFwInstanceId_t instanceId, CrFwGroup_t group)
Report an error which has one single parameter attached to it representing a command or report group...
Definition: CrFwRepErr.c:128
unsigned short CrFwInstanceId_t
Type used for instance identifiers.
unsigned char * CrFwPckt_t
Type for packets (see CrFwPckt.h).
Definition: CrFwConstants.h:38
void CrFwRepErrSeqCnt(CrFwRepErrCode_t errCode, CrFwTypeId_t typeId, CrFwInstanceId_t instanceId, CrFwSeqCnt_t expSeqCnt, CrFwSeqCnt_t actSeqCnt, CrFwPckt_t pckt)
Report an error which has two parameters attached to it representing expected and actual sequence cou...
Definition: CrFwRepErr.c:143
void CrFwRepErrInstanceIdAndOutcome(CrFwRepErrCode_t errCode, CrFwTypeId_t typeId, CrFwInstanceId_t instanceId, CrFwInstanceId_t secondaryInstanceId, CrFwOutcome_t outcome)
Report an error which has two parameters attached to it representing the instance identifier of a com...
Definition: CrFwRepErr.c:175
void CrFwRepErrDestSrc(CrFwRepErrCode_t errCode, CrFwTypeId_t typeId, CrFwInstanceId_t instanceId, CrFwDestSrc_t destSrc)
Report an error which has one single parameter attached to it representing a command or report destin...
Definition: CrFwRepErr.c:94
static CrFwServSubType_t servSubType
Service sub-type.
unsigned char CrFwGroup_t
Type used for the destination or source group of a packet.
unsigned char CrFwOutcome_t
Type used for the outcome of a check (see CrFwCmpData).
Header file to define all invariant publicly available constants and types for the CORDET Framework...
unsigned short CrFwDiscriminant_t
Type used for the discriminant of a command or report.
unsigned char CrFwDestSrc_t
Type used for the command or report destination and source.
void CrFwRepErrCmd(CrFwRepErrCode_t errCode, CrFwTypeId_t typeId, CrFwInstanceId_t instanceId, FwSmDesc_t cmd)
Report an error which has one parameter attached to it representing a command component.
Definition: CrFwRepErr.c:224
static CrFwDiscriminant_t disc
Discriminant.
void CrFwRepErrPckt(CrFwRepErrCode_t errCode, CrFwTypeId_t typeId, CrFwInstanceId_t instanceId, CrFwPckt_t pckt)
Report an error which has one parameter attached to it representing a command or report packet...
Definition: CrFwRepErr.c:193
static CrFwServType_t servType
The InCommand type as computed in the Validity Check.
static CrFwDestSrc_t dest
Destination.
Header file to define all user-configurable constants and types for the CORDET Framework (the non-con...
unsigned short int CrFwTypeId_t
Type used for the identifier of a component type.
void CrFwRepErr(CrFwRepErrCode_t errCode, CrFwTypeId_t typeId, CrFwInstanceId_t instanceId)
Report an error which has no parameters attached to it.
Definition: CrFwRepErr.c:81
CrFwRepErrCode_t
Identifier for the errors reported through the error reporting interface of CrFwRepErr.h.
void CrFwRepErrInstanceIdAndDest(CrFwRepErrCode_t errCode, CrFwTypeId_t typeId, CrFwInstanceId_t instanceId, CrFwInstanceId_t secondaryInstanceId, CrFwDestSrc_t dest, CrFwPckt_t pckt)
Report an error which has three parameters attached to it representing the instance identifier of a c...
Definition: CrFwRepErr.c:109
void CrFwRepErrKind(CrFwRepErrCode_t errCode, CrFwTypeId_t typeId, CrFwInstanceId_t instanceId, CrFwServType_t servType, CrFwServSubType_t servSubType, CrFwDiscriminant_t disc)
Report an error which has three parameters attached to it representing the kind of a report or comman...
Definition: CrFwRepErr.c:241
void CrFwRepErrRep(CrFwRepErrCode_t errCode, CrFwTypeId_t typeId, CrFwInstanceId_t instanceId, FwSmDesc_t rep)
Report an error which has one parameter attached to it representing an report component.
Definition: CrFwRepErr.c:207
unsigned char CrFwServType_t
Type used for the service type of a command or report.
unsigned int CrFwSeqCnt_t
Type used for the sequence counter of commands or reports.
unsigned char CrFwServSubType_t
Type used for the command or report sub-type.
P&P Software GmbH, Copyright 2012-2013, All Rights Reserved