PxMessageFunDefault()
Default message handling routine.
- APPLIES TO
-
1.0.0
- SYNOPSIS
-
void PxMessageFunDefault (PxMessageClass_t msg_class, PxError_t err, PxArg_t arg1, PxArg_t arg2);
- ARGUMENTS
|
|
|
|
|
|
|
- DESCRIPTION
-
PxMessageFunDefault is the default message handling routine. This service calls PxAbort for messages of class PXFatal and ignores other classes.
- IMPLEMENTATION GUIDELINES
-
- Before call
-
-
The PXROS-HR error class given in
cls
must be of typePxMessageClass_t
and may have one of the following values (V):-
PXWarning
-
PXError
-
PXLogError
-
PXFatal
-
-
The PXROS-HR error number
err
must be greater or equalPXERR_NOERROR
and lower thanPXERR_LAST_ERRNO
(V)
-
- After call
-
-
No checks necessary.
-
- Best Practice
-
-
No restrictions.
-
- SEE ALSO
- USAGE
-
#include "pxdef.h" PxMessageFunDefault(PXLogError, PXERR_ILLEGAL_SERVICE_CALLED, 0, 0);