EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
|
#include "phenixOnline.h"
Go to the source code of this file.
Macros | |
#define | FORMAT_ERROR_SUBTYPE_FRAME 1 |
#define | FORMAT_ERROR_SUBTYPE_PACKET 2 |
#define | FORMAT_ERROR_SUBTYPE_USER 3 |
Typedefs | |
typedef UINT | ERRORVALUE |
Functions | |
void | setFrameError (ERRORVALUE, PHDWORD *, PHDWORD) |
void | setPacketError (ERRORVALUE, PHDWORD *, PHDWORD) |
void | setUserError (ERRORVALUE, PHDWORD) |
void | setFrameSuccess () |
void | setPacketSuccess () |
ERRORVALUE | formatGetError (UINT *, PHDWORD **, PHDWORD *) |
ERRORVALUE | formatGetErrorNumber () |
PHDWORD * | formatGetErrorPointer () |
PHDWORD | formatGetErrorAdditionalData () |
Variables | |
CONSTANT UINT | errorTypeFrame = FORMAT_ERROR_SUBTYPE_FRAME |
CONSTANT UINT | errorTypePacket = FORMAT_ERROR_SUBTYPE_PACKET |
CONSTANT UINT | errorTypeUser = FORMAT_ERROR_SUBTYPE_USER |
#define FORMAT_ERROR_SUBTYPE_FRAME 1 |
Definition at line 39 of file formatError.h.
View newest version in sPHENIX GitHub at line 39 of file formatError.h
#define FORMAT_ERROR_SUBTYPE_PACKET 2 |
Definition at line 40 of file formatError.h.
View newest version in sPHENIX GitHub at line 40 of file formatError.h
#define FORMAT_ERROR_SUBTYPE_USER 3 |
Definition at line 41 of file formatError.h.
View newest version in sPHENIX GitHub at line 41 of file formatError.h
typedef UINT ERRORVALUE |
Definition at line 37 of file formatError.h.
View newest version in sPHENIX GitHub at line 37 of file formatError.h
enum formatErrorCodes |
Definition at line 71 of file formatError.h.
View newest version in sPHENIX GitHub at line 71 of file formatError.h
ERRORVALUE formatGetError | ( | UINT * | , |
PHDWORD ** | , | ||
PHDWORD * | |||
) |
Definition at line 93 of file formatError.C.
View newest version in sPHENIX GitHub at line 93 of file formatError.C
References formatError::additionalData, formatError::errorNumber, formatError::frameOrPacket_ptr, and formatError::subType.
PHDWORD formatGetErrorAdditionalData | ( | ) |
Definition at line 114 of file formatError.C.
View newest version in sPHENIX GitHub at line 114 of file formatError.C
References formatError::additionalData, and formatError::errorNumber.
ERRORVALUE formatGetErrorNumber | ( | ) |
Definition at line 86 of file formatError.C.
View newest version in sPHENIX GitHub at line 86 of file formatError.C
References formatError::errorNumber.
PHDWORD* formatGetErrorPointer | ( | ) |
Definition at line 104 of file formatError.C.
View newest version in sPHENIX GitHub at line 104 of file formatError.C
References formatError::errorNumber, and formatError::frameOrPacket_ptr.
void setFrameError | ( | ERRORVALUE | , |
PHDWORD * | , | ||
PHDWORD | |||
) |
Definition at line 43 of file formatError.C.
View newest version in sPHENIX GitHub at line 43 of file formatError.C
References formatError::additionalData, formatError::errorNumber, errorTypeFrame, formatError::frameOrPacket_ptr, and formatError::subType.
Referenced by adjustFrameErrorLengthV1(), adjustFrameHistoryLengthV1(), adjustFrameLength(), checkFrameHdrVersion(), getFrameDataLengthV1(), getFrameHdrLength(), getFrameHdrVersion(), getFrameLength(), and validFrameHdrV1().
void setFrameSuccess | ( | ) |
Definition at line 72 of file formatError.C.
View newest version in sPHENIX GitHub at line 72 of file formatError.C
References formatError::errorNumber.
Referenced by adjustFrameErrorLengthV1(), adjustFrameHistoryLengthV1(), checkFrameHdrVersion(), findFrameEnd(), getFrameDataLengthV1(), and validFrameHdrV1().
void setPacketError | ( | ERRORVALUE | , |
PHDWORD * | , | ||
PHDWORD | |||
) |
Definition at line 53 of file formatError.C.
View newest version in sPHENIX GitHub at line 53 of file formatError.C
References formatError::additionalData, formatError::errorNumber, errorTypePacket, formatError::frameOrPacket_ptr, and formatError::subType.
Referenced by extendPacketLength(), findPacketEnd(), getPacketHdrVersion(), getUnstructPacketDataLengthWords(), removePacketPadding(), reservePacketDebugData(), setPacketHdrLength(), setPacketHdrVersion(), setPacketLength(), storePacketHits(), and validPacketV1Hdr().
void setPacketSuccess | ( | ) |
Definition at line 79 of file formatError.C.
View newest version in sPHENIX GitHub at line 79 of file formatError.C
References formatError::errorNumber.
Referenced by appendEmptyFramePacket(), findPacketEnd(), and validPacketV1Hdr().
void setUserError | ( | ERRORVALUE | , |
PHDWORD | |||
) |
Definition at line 63 of file formatError.C.
View newest version in sPHENIX GitHub at line 63 of file formatError.C
References formatError::additionalData, formatError::errorNumber, errorTypeUser, and formatError::subType.
Referenced by appendEmptyFramePacket(), orFrameStatusV1(), orPacketV1Status(), and startUnstructDataWrite().
CONSTANT UINT errorTypeFrame = FORMAT_ERROR_SUBTYPE_FRAME |
Definition at line 43 of file formatError.h.
View newest version in sPHENIX GitHub at line 43 of file formatError.h
Referenced by setFrameError().
CONSTANT UINT errorTypePacket = FORMAT_ERROR_SUBTYPE_PACKET |
Definition at line 44 of file formatError.h.
View newest version in sPHENIX GitHub at line 44 of file formatError.h
Referenced by setPacketError().
CONSTANT UINT errorTypeUser = FORMAT_ERROR_SUBTYPE_USER |
Definition at line 45 of file formatError.h.
View newest version in sPHENIX GitHub at line 45 of file formatError.h
Referenced by setUserError().