EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Cframe.h File Reference
#include <stdio.h>
#include "phenixOnline.h"
#include "framePublic.h"
#include "formatError.h"
#include "frameHdr.h"
+ Include dependency graph for Cframe.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define _FRAMES_
 

Functions

INLINE_P VALUE_ret getFrameHdrLength (FRAME_ptr)
 
INLINE_P VALUE_ret getFrameHdrVersion (FRAME_ptr)
 
INLINE_P VALUE_ret getFrameLength (FRAME_ptr)
 
INLINE_P VALUE_ret getFrameMark (FRAME_ptr)
 
INLINE_P LOGIC_ret setFrameHdrLength (FRAME_ptr, UINT)
 
INLINE_P LOGIC_ret setFrameHdrVersion (FRAME_ptr, UINT)
 
INLINE_P LOGIC_ret setFrameLength (FRAME_ptr, UINT)
 
INLINE_P LOGIC_ret setFrameMark (FRAME_ptr, UINT)
 
VALUE_ret checkFrameHdrVersion (FRAME_ptr)
 
INLINE_P LOGIC_ret validFrameHdr (FRAME_ptr)
 
INLINE_P LOGIC_ret currentFrameHdr (FRAME_ptr)
 
INLINE_P LOGIC_ret validFrameMark (FRAME_ptr)
 
INLINE_P LOGIC_ret emptyFrame (FRAME_ptr)
 
VALUE_ret checkFrameEndianism (FRAME_ptr frame_ptr)
 
INLINE_P void byteSwapFrame (FRAME_ptr frame_ptr)
 
PTR_ret findFrameEnd (FRAME_ptr)
 
PTR_ret findFrameDataStart (FRAME_ptr)
 
PTR_ret findFrameDataEnd (FRAME_ptr)
 
VALUE_ret adjustFrameLength (FRAME_ptr, UINT, UINT, LOGIC_ret)
 
VALUE_ret removeFramePadding (FRAME_ptr)
 
VALUE_ret makeFrameHdr (FRAME_ptr, UINT, UINT, UINT, UINT)
 
VALUE_ret getFrameDataLength (FRAME_ptr)
 
VALUE_ret getFrameHistoryLength (FRAME_ptr)
 
VALUE_ret getFrameErrorLength (FRAME_ptr)
 
VALUE_ret getFrameAlignLength (FRAME_ptr)
 
VALUE_ret getFrameSourceId (FRAME_ptr)
 
VALUE_ret getFrameDataType (FRAME_ptr)
 
VALUE_ret getFrameType (FRAME_ptr)
 
VALUE_ret getFrameStatus (FRAME_ptr)
 
VALUE_ret getFramePadding (FRAME_ptr)
 
VALUE_ret setFramePadding (FRAME_ptr, UINT)
 
VALUE_ret adjustFrameDataLength (FRAME_ptr, UINT)
 
VALUE_ret adjustFrameHistoryLength (FRAME_ptr, UINT)
 
VALUE_ret adjustFrameErrorLength (FRAME_ptr, UINT)
 
VALUE_ret orFrameStatus (FRAME_ptr, UINT)
 
LOGIC_ret setDataType (FRAME_ptr, UINT)
 
LOGIC_ret setFrameType (FRAME_ptr, UINT)
 
LOGIC_ret setSourceId (FRAME_ptr, UINT)
 
LOGIC_ret setFrameHistoryLength (FRAME_ptr, UINT)
 
LOGIC_ret setFrameErrorLength (FRAME_ptr, UINT)
 
LOGIC_ret setFrameAlignLength (FRAME_ptr, UINT)
 
LOGIC_ret setFrameStatus (FRAME_ptr, UINT)
 
PTR_ret findFrameAlignBlock (FRAME_ptr)
 
PTR_ret findFrameErrorStart (FRAME_ptr)
 
PTR_ret findFrameHistoryStart (FRAME_ptr)
 
VALUE_ret getAlignBlock (FRAME_ptr, PHDWORD *, UINT)
 
LOGIC_ret setAlignBlock (FRAME_ptr, PHDWORD *, UINT)
 
VALUE_ret getHistoryEntry (FRAME_ptr, UINT)
 
VALUE_ret getHistoryStage (FRAME_ptr, UINT)
 
VALUE_ret getHistorySourceIndex (FRAME_ptr, UINT)
 
VALUE_ret getHistoryStatus (FRAME_ptr, UINT)
 
PTR_ret findNextError (FRAME_ptr, FRAME_ptr)
 

Macro Definition Documentation

#define _FRAMES_

Definition at line 117 of file Cframe.h.

View newest version in sPHENIX GitHub at line 117 of file Cframe.h

Function Documentation

VALUE_ret adjustFrameDataLength ( FRAME_ptr  ,
UINT   
)

Definition at line 411 of file Cframe.C.

View newest version in sPHENIX GitHub at line 411 of file Cframe.C

References adjustFrameDataLengthV, getFrameHdrVersion(), valueFailure, and conf::version.

Referenced by extendFrameData(), and extendFrameDataNopad().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

VALUE_ret adjustFrameErrorLength ( FRAME_ptr  ,
UINT   
)

Definition at line 430 of file Cframe.C.

View newest version in sPHENIX GitHub at line 430 of file Cframe.C

References adjustFrameErrorLengthV, getFrameHdrVersion(), valueFailure, and conf::version.

+ Here is the call graph for this function:

VALUE_ret adjustFrameHistoryLength ( FRAME_ptr  ,
UINT   
)

Definition at line 421 of file Cframe.C.

View newest version in sPHENIX GitHub at line 421 of file Cframe.C

References adjustFrameHistoryLengthV, getFrameHdrVersion(), valueFailure, and conf::version.

Referenced by extendFrameHistory(), and extendFrameHistoryNopad().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

VALUE_ret adjustFrameLength ( FRAME_ptr  ,
UINT  ,
UINT  ,
LOGIC_ret   
)

Definition at line 122 of file Cframe.C.

View newest version in sPHENIX GitHub at line 122 of file Cframe.C

References currentFrameQuantum, dwordClear, FORMAT_ERR_BUFFER_OVERFLOW, FORMAT_ERR_LENGTH_OVERFLOW, getFrameLength(), maxDwordValue, removeFramePadding(), setFrameError(), setFrameLength(), setFramePadding(), validFrameHdr(), and valueFailure.

Referenced by oEvent::addPacket(), oEvent::addUnstructPacketData(), extendFrameData(), extendFrameDataNopad(), extendFrameHistory(), and extendFrameHistoryNopad().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

INLINE_D void byteSwapFrame ( FRAME_ptr  frame_ptr)

Definition at line 382 of file Cframe.h.

View newest version in sPHENIX GitHub at line 382 of file Cframe.h

References dwordByteSwap(), and singleDwordByteSwap().

Referenced by main().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

VALUE_ret checkFrameEndianism ( FRAME_ptr  frame_ptr)

Definition at line 107 of file Cframe.C.

View newest version in sPHENIX GitHub at line 107 of file Cframe.C

References dwordByteSwap(), maxFrameHdrLength, validFrameHdr(), and valueFailure.

Referenced by main().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

VALUE_ret checkFrameHdrVersion ( FRAME_ptr  )

Definition at line 64 of file Cframe.C.

View newest version in sPHENIX GitHub at line 64 of file Cframe.C

References FORMAT_ERR_INVALID_FRAMEMARK, frameHdrLengthV, frameMarkV, getFrameHdrLength(), getFrameHdrVersion(), getFrameMark(), setFrameError(), setFrameSuccess(), valueFailure, and conf::version.

Referenced by validFrameHdr().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

INLINE_D LOGIC_ret currentFrameHdr ( FRAME_ptr  frame_ptr)

Definition at line 353 of file Cframe.h.

View newest version in sPHENIX GitHub at line 353 of file Cframe.h

References currentFrameHdrVersion, getFrameHdrVersion(), and conf::version.

Referenced by storeFrameData(), and storeFrameHistory().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

INLINE_D LOGIC_ret emptyFrame ( FRAME_ptr  frame_ptr)

Definition at line 372 of file Cframe.h.

View newest version in sPHENIX GitHub at line 372 of file Cframe.h

References getFrameHdrLength(), and getFrameLength().

Referenced by storeFrameData().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

PTR_ret findFrameAlignBlock ( FRAME_ptr  )

Definition at line 352 of file Cframe.C.

View newest version in sPHENIX GitHub at line 352 of file Cframe.C

References findFrameAlignBlockV, getFrameHdrVersion(), ptrFailure, valueFailure, and conf::version.

Referenced by A_Event::dumpFrame(), dumpFrameHdr(), and A_Event::getFrameValue().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

PTR_ret findFrameDataEnd ( FRAME_ptr  )

Definition at line 49 of file Cframe.C.

View newest version in sPHENIX GitHub at line 49 of file Cframe.C

References findFrameDataStart(), getFrameDataLength(), G4BARRELHCAL::length, ptrFailure, and valueFailure.

Referenced by oEvent::addPacket(), oEvent::addUnstructPacketData(), and findNextFramePacket().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

PTR_ret findFrameDataStart ( FRAME_ptr  )

Definition at line 40 of file Cframe.C.

View newest version in sPHENIX GitHub at line 40 of file Cframe.C

References getFrameHdrLength(), ptrFailure, and validFrameHdr().

Referenced by appendEmptyFramePacket(), dumpFrame(), findFrameDataEnd(), findFramePacketId(), findFramePacketIndex(), findNextFramePacket(), and storeFrameData().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

PTR_ret findFrameEnd ( FRAME_ptr  )

Definition at line 87 of file Cframe.C.

View newest version in sPHENIX GitHub at line 87 of file Cframe.C

References getFrameLength(), ptrFailure, setFrameSuccess(), validFrameHdr(), and valueFailure.

Referenced by fakeFrame(), and findNextErrorV1().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

PTR_ret findFrameErrorStart ( FRAME_ptr  )

Definition at line 372 of file Cframe.C.

View newest version in sPHENIX GitHub at line 372 of file Cframe.C

References findFrameErrorStartV, getFrameHdrVersion(), ptrFailure, valueFailure, and conf::version.

Referenced by A_Event::dumpErrorBlock(), findNextErrorV1(), and A_Event::listError().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

PTR_ret findFrameHistoryStart ( FRAME_ptr  )

Definition at line 362 of file Cframe.C.

View newest version in sPHENIX GitHub at line 362 of file Cframe.C

References findFrameHistoryStartV, getFrameHdrVersion(), ptrFailure, valueFailure, and conf::version.

Referenced by getHistoryEntryV1(), A_Event::listHistory(), and storeFrameHistory().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

PTR_ret findNextError ( FRAME_ptr  ,
FRAME_ptr   
)

Definition at line 565 of file Cframe.C.

View newest version in sPHENIX GitHub at line 565 of file Cframe.C

References findNextErrorV, getFrameHdrVersion(), ptrFailure, valueFailure, and conf::version.

+ Here is the call graph for this function:

VALUE_ret getAlignBlock ( FRAME_ptr  ,
PHDWORD ,
UINT   
)

Definition at line 511 of file Cframe.C.

View newest version in sPHENIX GitHub at line 511 of file Cframe.C

References getAlignBlockV, getFrameHdrVersion(), valueFailure, and conf::version.

+ Here is the call graph for this function:

VALUE_ret getFrameAlignLength ( FRAME_ptr  )

Definition at line 342 of file Cframe.C.

View newest version in sPHENIX GitHub at line 342 of file Cframe.C

References getFrameAlignLengthV, getFrameHdrVersion(), valueFailure, and conf::version.

Referenced by A_Event::dumpFrame(), dumpFrameHdr(), getAlignBlockV1(), A_Event::getFrameValue(), and setAlignBlockV1().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

VALUE_ret getFrameDataLength ( FRAME_ptr  )

Definition at line 312 of file Cframe.C.

View newest version in sPHENIX GitHub at line 312 of file Cframe.C

References getFrameDataLengthV, getFrameHdrVersion(), valueFailure, and conf::version.

Referenced by dumpFrame(), fakeFrame(), and findFrameDataEnd().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

VALUE_ret getFrameDataType ( FRAME_ptr  )

Definition at line 302 of file Cframe.C.

View newest version in sPHENIX GitHub at line 302 of file Cframe.C

References getFrameDataTypeV, getFrameHdrVersion(), valueFailure, and conf::version.

Referenced by A_Event::dumpFrame(), dumpFrameHdr(), and A_Event::getFrameValue().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

VALUE_ret getFrameErrorLength ( FRAME_ptr  )

Definition at line 332 of file Cframe.C.

View newest version in sPHENIX GitHub at line 332 of file Cframe.C

References getFrameErrorLengthV, getFrameHdrVersion(), valueFailure, and conf::version.

Referenced by A_Event::dumpErrorBlock(), A_Event::dumpFrame(), dumpFrameHdr(), and A_Event::listError().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

INLINE_D VALUE_ret getFrameHdrLength ( FRAME_ptr  frame_ptr)

Definition at line 246 of file Cframe.h.

View newest version in sPHENIX GitHub at line 246 of file Cframe.h

References FORMAT_ERR_INVALID_HDRLENGTH, FRAME_HDR_LENGTH_MASK, FRAME_HDR_LENGTH_OFFSET_IN_DWORD, FRAME_HDR_LENGTH_OFFSET_OF_DWORD, getBitsMACRO, getFrameLength(), G4BARRELHCAL::length, setFrameError(), and valueFailure.

Referenced by checkFrameHdrVersion(), A_Event::dumpFrame(), dumpFrameHdr(), emptyFrame(), emptyFrameV1(), findFrameDataStart(), getFrameDataLengthV1(), A_Event::getFrameValue(), and validFrameHdrV1().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

VALUE_ret getFrameHistoryLength ( FRAME_ptr  )

Definition at line 322 of file Cframe.C.

View newest version in sPHENIX GitHub at line 322 of file Cframe.C

References getFrameHdrVersion(), getFrameHistoryLengthV, valueFailure, and conf::version.

Referenced by A_Event::dumpFrame(), dumpFrameHdr(), getHistoryEntryV1(), A_Event::listHistory(), and storeFrameHistory().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

INLINE_D VALUE_ret getFrameLength ( FRAME_ptr  frame_ptr)

Definition at line 283 of file Cframe.h.

View newest version in sPHENIX GitHub at line 283 of file Cframe.h

References FORMAT_ERR_LENGTH_OVERFLOW, FRAME_LENGTH_OFFSET_OF_DWORD, getWordMACRO, G4BARRELHCAL::length, setFrameError(), and valueFailure.

Referenced by oEvent::addFrame(), adjustFrameLength(), prdfBuffer::buffer_swap(), A_Event::dumpFrame(), dumpFrameHdr(), emptyFrame(), emptyFrameV1(), fakeFrame(), findFrameEnd(), findFrameErrorStartV1(), findFrameHistoryStartV1(), getFrameDataLengthV1(), getFrameHdrLength(), A_Event::getFrameValue(), removeFramePadding(), and A_Event::updateFramelist().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

INLINE_D VALUE_ret getFrameMark ( FRAME_ptr  frame_ptr)

Definition at line 298 of file Cframe.h.

View newest version in sPHENIX GitHub at line 298 of file Cframe.h

References FRAME_MARK_OFFSET_OF_DWORD, and getWordMACRO.

Referenced by checkFrameHdrVersion(), A_Event::dumpFrame(), dumpFrameHdr(), A_Event::getFrameValue(), and validFrameMark().

+ Here is the caller graph for this function:

VALUE_ret getFramePadding ( FRAME_ptr  )

Definition at line 392 of file Cframe.C.

View newest version in sPHENIX GitHub at line 392 of file Cframe.C

References getFrameHdrVersion(), getFramePaddingV, valueFailure, and conf::version.

Referenced by A_Event::dumpFrame(), dumpFrameHdr(), findFrameErrorStartV1(), findFrameHistoryStartV1(), and removeFramePadding().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

VALUE_ret getFrameSourceId ( FRAME_ptr  )

Definition at line 292 of file Cframe.C.

View newest version in sPHENIX GitHub at line 292 of file Cframe.C

References getFrameHdrVersion(), getFrameSourceIdV, valueFailure, and conf::version.

Referenced by A_Event::dumpFrame(), dumpFrameHdr(), and A_Event::getFrameValue().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

VALUE_ret getFrameStatus ( FRAME_ptr  )

Definition at line 273 of file Cframe.C.

View newest version in sPHENIX GitHub at line 273 of file Cframe.C

References getFrameHdrVersion(), getFrameStatusV, valueFailure, and conf::version.

Referenced by A_Event::dumpFrame(), dumpFrameHdr(), and A_Event::getFrameValue().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

VALUE_ret getFrameType ( FRAME_ptr  )

Definition at line 282 of file Cframe.C.

View newest version in sPHENIX GitHub at line 282 of file Cframe.C

References getFrameHdrVersion(), getFrameTypeV, valueFailure, and conf::version.

Referenced by A_Event::dumpFrame(), dumpFrameHdr(), and A_Event::getFrameValue().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

VALUE_ret getHistoryEntry ( FRAME_ptr  ,
UINT   
)

Definition at line 529 of file Cframe.C.

View newest version in sPHENIX GitHub at line 529 of file Cframe.C

References getFrameHdrVersion(), getHistoryEntryV, valueFailure, and conf::version.

+ Here is the call graph for this function:

VALUE_ret getHistorySourceIndex ( FRAME_ptr  ,
UINT   
)

Definition at line 547 of file Cframe.C.

View newest version in sPHENIX GitHub at line 547 of file Cframe.C

References getFrameHdrVersion(), getHistorySourceIndexV, valueFailure, and conf::version.

+ Here is the call graph for this function:

VALUE_ret getHistoryStage ( FRAME_ptr  ,
UINT   
)

Definition at line 538 of file Cframe.C.

View newest version in sPHENIX GitHub at line 538 of file Cframe.C

References getFrameHdrVersion(), getHistoryStageV, valueFailure, and conf::version.

+ Here is the call graph for this function:

VALUE_ret getHistoryStatus ( FRAME_ptr  ,
UINT   
)

Definition at line 556 of file Cframe.C.

View newest version in sPHENIX GitHub at line 556 of file Cframe.C

References getFrameHdrVersion(), getHistoryStatusV, valueFailure, and conf::version.

+ Here is the call graph for this function:

VALUE_ret makeFrameHdr ( FRAME_ptr  ,
UINT  ,
UINT  ,
UINT  ,
UINT   
)

Definition at line 404 of file Cframe.C.

View newest version in sPHENIX GitHub at line 404 of file Cframe.C

References currentFrameHdrVersion, and makeFrameHdrV.

Referenced by oEvent::addPacket(), oEvent::addUnstructPacketData(), and fakeFrame().

+ Here is the caller graph for this function:

VALUE_ret orFrameStatus ( FRAME_ptr  ,
UINT   
)

Definition at line 382 of file Cframe.C.

View newest version in sPHENIX GitHub at line 382 of file Cframe.C

References getFrameHdrVersion(), orFrameStatusV, valueFailure, and conf::version.

+ Here is the call graph for this function:

VALUE_ret removeFramePadding ( FRAME_ptr  )

Definition at line 186 of file Cframe.C.

View newest version in sPHENIX GitHub at line 186 of file Cframe.C

References getFrameLength(), getFramePadding(), G4BARRELHCAL::length, setFrameLength(), and setFramePadding().

Referenced by adjustFrameLength(), storeFrameData(), and storeFrameHistory().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

LOGIC_ret setAlignBlock ( FRAME_ptr  ,
PHDWORD ,
UINT   
)

Definition at line 520 of file Cframe.C.

View newest version in sPHENIX GitHub at line 520 of file Cframe.C

References FALSE, getFrameHdrVersion(), setAlignBlockV, valueFailure, and conf::version.

Referenced by fakeFrame().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

LOGIC_ret setDataType ( FRAME_ptr  ,
UINT   
)

Definition at line 448 of file Cframe.C.

View newest version in sPHENIX GitHub at line 448 of file Cframe.C

References FALSE, getFrameHdrVersion(), setDataTypeV, valueFailure, and conf::version.

Referenced by makeFrameHdrV1().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

LOGIC_ret setFrameAlignLength ( FRAME_ptr  ,
UINT   
)

Definition at line 493 of file Cframe.C.

View newest version in sPHENIX GitHub at line 493 of file Cframe.C

References FALSE, getFrameHdrVersion(), setFrameAlignLengthV, valueFailure, and conf::version.

Referenced by makeFrameHdrV1().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

LOGIC_ret setFrameErrorLength ( FRAME_ptr  ,
UINT   
)

Definition at line 484 of file Cframe.C.

View newest version in sPHENIX GitHub at line 484 of file Cframe.C

References FALSE, getFrameHdrVersion(), setFrameErrorLengthV, valueFailure, and conf::version.

+ Here is the call graph for this function:

INLINE_D LOGIC_ret setFrameHdrLength ( FRAME_ptr  frame_ptr,
UINT  hdrLength 
)

Definition at line 306 of file Cframe.h.

View newest version in sPHENIX GitHub at line 306 of file Cframe.h

References FRAME_HDR_LENGTH_MASK, FRAME_HDR_LENGTH_OFFSET_IN_DWORD, FRAME_HDR_LENGTH_OFFSET_OF_DWORD, setBitsMACRO, and TRUE.

Referenced by makeFrameHdrV1().

+ Here is the caller graph for this function:

INLINE_D LOGIC_ret setFrameHdrVersion ( FRAME_ptr  frame_ptr,
UINT  hdrVersion 
)

Definition at line 316 of file Cframe.h.

View newest version in sPHENIX GitHub at line 316 of file Cframe.h

References FRAME_HDR_VERSION_MASK, FRAME_HDR_VERSION_OFFSET_IN_DWORD, FRAME_HDR_VERSION_OFFSET_OF_DWORD, setBitsMACRO, and TRUE.

Referenced by makeFrameHdrV1().

+ Here is the caller graph for this function:

LOGIC_ret setFrameHistoryLength ( FRAME_ptr  ,
UINT   
)

Definition at line 475 of file Cframe.C.

View newest version in sPHENIX GitHub at line 475 of file Cframe.C

References FALSE, getFrameHdrVersion(), setFrameHistoryLengthV, valueFailure, and conf::version.

+ Here is the call graph for this function:

INLINE_D LOGIC_ret setFrameLength ( FRAME_ptr  frame_ptr,
UINT  length 
)

Definition at line 326 of file Cframe.h.

View newest version in sPHENIX GitHub at line 326 of file Cframe.h

References FRAME_LENGTH_OFFSET_OF_DWORD, setWordMACRO, and TRUE.

Referenced by adjustFrameLength(), makeFrameHdrV1(), and removeFramePadding().

+ Here is the caller graph for this function:

INLINE_D LOGIC_ret setFrameMark ( FRAME_ptr  frame_ptr,
UINT  frameMark 
)

Definition at line 335 of file Cframe.h.

View newest version in sPHENIX GitHub at line 335 of file Cframe.h

References FRAME_MARK_OFFSET_OF_DWORD, setWordMACRO, and TRUE.

Referenced by makeFrameHdrV1().

+ Here is the caller graph for this function:

VALUE_ret setFramePadding ( FRAME_ptr  ,
UINT   
)

Definition at line 439 of file Cframe.C.

View newest version in sPHENIX GitHub at line 439 of file Cframe.C

References getFrameHdrVersion(), setFramePaddingV, valueFailure, and conf::version.

Referenced by adjustFrameLength(), and removeFramePadding().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

LOGIC_ret setFrameStatus ( FRAME_ptr  ,
UINT   
)

Definition at line 502 of file Cframe.C.

View newest version in sPHENIX GitHub at line 502 of file Cframe.C

References FALSE, getFrameHdrVersion(), setFrameStatusV, valueFailure, and conf::version.

+ Here is the call graph for this function:

LOGIC_ret setFrameType ( FRAME_ptr  ,
UINT   
)

Definition at line 457 of file Cframe.C.

View newest version in sPHENIX GitHub at line 457 of file Cframe.C

References FALSE, getFrameHdrVersion(), setFrameTypeV, valueFailure, and conf::version.

Referenced by makeFrameHdrV1().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

LOGIC_ret setSourceId ( FRAME_ptr  ,
UINT   
)

Definition at line 466 of file Cframe.C.

View newest version in sPHENIX GitHub at line 466 of file Cframe.C

References FALSE, getFrameHdrVersion(), setSourceIdV, valueFailure, and conf::version.

Referenced by makeFrameHdrV1().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

INLINE_D LOGIC_ret validFrameHdr ( FRAME_ptr  frame_ptr)

Definition at line 346 of file Cframe.h.

View newest version in sPHENIX GitHub at line 346 of file Cframe.h

References checkFrameHdrVersion(), and valueFailure.

Referenced by adjustFrameLength(), appendEmptyFramePacket(), checkFrameEndianism(), dumpFrameHdr(), findFrameDataStart(), findFrameEnd(), findFramePacketId(), findFramePacketIndex(), isLastFramePacket(), storeFrameHistory(), and A_Event::updateFramelist().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

INLINE_D LOGIC_ret validFrameMark ( FRAME_ptr  frame_ptr)

Definition at line 361 of file Cframe.h.

View newest version in sPHENIX GitHub at line 361 of file Cframe.h

References FALSE, frameMarkV, getFrameHdrVersion(), getFrameMark(), valueFailure, and conf::version.

+ Here is the call graph for this function: