ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
#include "framePackets.h"
#include "Cframe.h"
#include "Cpacket.h"
#include "packetPublic.h"
#include "framePublic.h"
#include "frameRoutines.h"
#include "packetRoutines.h"
#include "formatError.h"
Go to the source code of this file.
Functions | |
PACKET_ptr | appendEmptyFramePacket (FRAME_ptr frame_ptr, PHDWORD maxFrameLength, UINT packetId) |
LOGIC_ret | isLastFramePacket (FRAME_ptr frame_ptr, PACKET_ptr packet_ptr) |
PACKET_ptr | findFramePacketIndex (FRAME_ptr frame_ptr, UINT index) |
PACKET_ptr | findFirstFramePacket (FRAME_ptr frame_ptr) |
PACKET_ptr | findLastFramePacket (FRAME_ptr frame_ptr) |
PACKET_ptr | findFramePacketId (FRAME_ptr frame_ptr, UINT packetId) |
PACKET_ptr | findNextFramePacketId (FRAME_ptr frame_ptr, PACKET_ptr previousPacket_ptr, UINT packetId) |
PACKET_ptr | findNextFramePacket (FRAME_ptr frame_ptr, PACKET_ptr currentPacket_ptr) |
VALUE_ret | frameNumPackets (FRAME_ptr frame_ptr) |
PACKET_ptr appendEmptyFramePacket | ( | FRAME_ptr | frame_ptr, |
PHDWORD | maxFrameLength, | ||
UINT | packetId | ||
) |
Definition at line 44 of file framePackets.C.
View newest version in sPHENIX GitHub at line 44 of file framePackets.C
References extendFrameData(), findFrameDataStart(), FORMAT_ERR_BUFFER_OVERFLOW, makeEmptyPacket(), packetV1HdrLength, ptrFailure, setPacketSuccess(), setUserError(), validFrameHdr(), and valueFailure.
PACKET_ptr findFirstFramePacket | ( | FRAME_ptr | frame_ptr | ) |
Definition at line 146 of file framePackets.C.
View newest version in sPHENIX GitHub at line 146 of file framePackets.C
References findFramePacketIndex().
Referenced by dumpFramePackets(), findLastFramePacket(), and frameNumPackets().
PACKET_ptr findFramePacketId | ( | FRAME_ptr | frame_ptr, |
UINT | packetId | ||
) |
Definition at line 181 of file framePackets.C.
View newest version in sPHENIX GitHub at line 181 of file framePackets.C
References findFrameDataStart(), findNextFramePacket(), getPacketId(), ptrFailure, and validFrameHdr().
Referenced by X_Event::change_id(), A_Event::getFrameEntry(), A_Event::listError(), A_Event::listFrame(), and A_Event::listHistory().
PACKET_ptr findFramePacketIndex | ( | FRAME_ptr | frame_ptr, |
UINT | index | ||
) |
Definition at line 103 of file framePackets.C.
View newest version in sPHENIX GitHub at line 103 of file framePackets.C
References findFrameDataStart(), findNextFramePacket(), ptrFailure, validFrameHdr(), and validPacketHdr().
Referenced by X_Event::change_hf(), A_Event::createMap(), findFirstFramePacket(), and A_Event::getPacketList().
PACKET_ptr findLastFramePacket | ( | FRAME_ptr | frame_ptr | ) |
Definition at line 154 of file framePackets.C.
View newest version in sPHENIX GitHub at line 154 of file framePackets.C
References findFirstFramePacket(), findNextFramePacket(), and ptrFailure.
Referenced by isLastFramePacket().
PACKET_ptr findNextFramePacket | ( | FRAME_ptr | frame_ptr, |
PACKET_ptr | currentPacket_ptr | ||
) |
Definition at line 230 of file framePackets.C.
View newest version in sPHENIX GitHub at line 230 of file framePackets.C
References findFrameDataEnd(), findFrameDataStart(), findPacketEnd(), and ptrFailure.
Referenced by X_Event::change_hf(), A_Event::createMap(), dumpFramePackets(), findFramePacketId(), findFramePacketIndex(), findLastFramePacket(), findNextFramePacketId(), frameNumPackets(), and A_Event::getPacketList().
PACKET_ptr findNextFramePacketId | ( | FRAME_ptr | frame_ptr, |
PACKET_ptr | previousPacket_ptr, | ||
UINT | packetId | ||
) |
Definition at line 207 of file framePackets.C.
View newest version in sPHENIX GitHub at line 207 of file framePackets.C
References findNextFramePacket(), getPacketId(), and ptrFailure.
Definition at line 260 of file framePackets.C.
View newest version in sPHENIX GitHub at line 260 of file framePackets.C
References findFirstFramePacket(), findNextFramePacket(), and ptrFailure.
LOGIC_ret isLastFramePacket | ( | FRAME_ptr | frame_ptr, |
PACKET_ptr | packet_ptr | ||
) |
Definition at line 80 of file framePackets.C.
View newest version in sPHENIX GitHub at line 80 of file framePackets.C
References FALSE, findLastFramePacket(), validFrameHdr(), and validPacketHdr().