EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
formatError.C File Reference
#include "formatError.h"
+ Include dependency graph for formatError.C:

Go to the source code of this file.

Classes

struct  formatError
 

Macros

#define ERROR_PACKAGE_RAWFMT   1
 

Typedefs

typedef struct formatError FORMATERROR
 

Functions

void setFrameError (ERRORVALUE errorNumber, PHDWORD *pointer, PHDWORD additionalData)
 
void setPacketError (ERRORVALUE errorNumber, PHDWORD *pointer, PHDWORD additionalData)
 
void setUserError (ERRORVALUE errorNumber, PHDWORD additionalData)
 
void setFrameSuccess ()
 
void setPacketSuccess ()
 
ERRORVALUE formatGetErrorNumber ()
 
ERRORVALUE formatGetError (UINT *subType, PHDWORD **errorPointer, PHDWORD *additionalData)
 
PHDWORDformatGetErrorPointer ()
 
PHDWORD formatGetErrorAdditionalData ()
 

Variables

FORMATERROR rawfmtLastError
 

Macro Definition Documentation

#define ERROR_PACKAGE_RAWFMT   1

Definition at line 28 of file formatError.C.

View newest version in sPHENIX GitHub at line 28 of file formatError.C

Typedef Documentation

typedef struct formatError FORMATERROR

Function Documentation

ERRORVALUE formatGetError ( UINT subType,
PHDWORD **  errorPointer,
PHDWORD additionalData 
)

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  errorNumber,
PHDWORD pointer,
PHDWORD  additionalData 
)

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().

+ Here is the caller graph for this function:

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().

+ Here is the caller graph for this function:

void setPacketError ( ERRORVALUE  errorNumber,
PHDWORD pointer,
PHDWORD  additionalData 
)

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().

+ Here is the caller graph for this function:

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().

+ Here is the caller graph for this function:

void setUserError ( ERRORVALUE  errorNumber,
PHDWORD  additionalData 
)

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().

+ Here is the caller graph for this function:

Variable Documentation

FORMATERROR rawfmtLastError

Definition at line 38 of file formatError.C.

View newest version in sPHENIX GitHub at line 38 of file formatError.C