ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
packetHdrV1.h File Reference
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define PACKET_LENGTH_OFFSET_OF_DWORD   0
 
#define PACKET_STATUS_OFFSET_OF_DWORD   1
 
#define PACKET_STATUS_OFFSET_IN_DWORD   0
 
#define PACKET_STATUS_NUM_BITS   16
 
#define PACKET_STATUS_MASK   0x0000ffff
 
#define ID_OFFSET_OF_DWORD   2
 
#define DEBUG_LENGTH_OFFSET_OF_DWORD   3
 
#define DEBUG_LENGTH_OFFSET_IN_DWORD   16
 
#define DEBUG_LENGTH_NUM_BITS   16
 
#define DEBUG_LENGTH_MASK   0xffff0000
 
#define PACKET_ERROR_LENGTH_OFFSET_OF_DWORD   3
 
#define PACKET_ERROR_LENGTH_OFFSET_IN_DWORD   0
 
#define PACKET_ERROR_LENGTH_NUM_BITS   16
 
#define PACKET_ERROR_LENGTH_MASK   0x0000ffff
 
#define STRUCTURE_OFFSET_OF_DWORD   4
 
#define STRUCTURE_OFFSET_IN_DWORD   24
 
#define STRUCTURE_NUM_BITS   8
 
#define STRUCTURE_MASK   0xff000000
 
#define DESCR_LENGTH_OFFSET_OF_DWORD   4
 
#define DESCR_LENGTH_OFFSET_IN_DWORD   16
 
#define DESCR_LENGTH_NUM_BITS   8
 
#define DESCR_LENGTH_MASK   0x00ff0000
 
#define ENDIANISM_OFFSET_OF_DWORD   4
 
#define ENDIANISM_OFFSET_IN_DWORD   8
 
#define ENDIANISM_NUM_BITS   8
 
#define ENDIANISM_MASK   0x0000ff00
 
#define PACKET_PADDING_OFFSET_OF_DWORD   4
 
#define PACKET_PADDING_OFFSET_IN_DWORD   0
 
#define PACKET_PADDING_NUM_BITS   8
 
#define PACKET_PADDING_MASK   0x000000ff
 
#define DATADESCR_OFFSET_OF_DWORD   5
 
#define PACKETV1_HDR_LENGTH   6
 
#define PACKETV1_HDR_VERSION   1
 

Variables

const UINT packetV1HdrLength = PACKETV1_HDR_LENGTH
 
const UINT packetV1HdrVersion = PACKETV1_HDR_VERSION
 

Macro Definition Documentation

#define DATADESCR_OFFSET_OF_DWORD   5

Definition at line 78 of file packetHdrV1.h.

View newest version in sPHENIX GitHub at line 78 of file packetHdrV1.h

Referenced by findPacketV1DataDescr().

#define DEBUG_LENGTH_MASK   0xffff0000

Definition at line 51 of file packetHdrV1.h.

View newest version in sPHENIX GitHub at line 51 of file packetHdrV1.h

Referenced by getPacketV1DebugLength(), and setPacketV1DebugLength().

#define DEBUG_LENGTH_NUM_BITS   16

Definition at line 50 of file packetHdrV1.h.

View newest version in sPHENIX GitHub at line 50 of file packetHdrV1.h

#define DEBUG_LENGTH_OFFSET_IN_DWORD   16

Definition at line 49 of file packetHdrV1.h.

View newest version in sPHENIX GitHub at line 49 of file packetHdrV1.h

Referenced by getPacketV1DebugLength(), and setPacketV1DebugLength().

#define DEBUG_LENGTH_OFFSET_OF_DWORD   3

Definition at line 48 of file packetHdrV1.h.

View newest version in sPHENIX GitHub at line 48 of file packetHdrV1.h

Referenced by getPacketV1DebugLength(), and setPacketV1DebugLength().

#define DESCR_LENGTH_MASK   0x00ff0000

Definition at line 66 of file packetHdrV1.h.

View newest version in sPHENIX GitHub at line 66 of file packetHdrV1.h

Referenced by getPacketV1DataDescrLength(), and setPacketV1DataDescrLength().

#define DESCR_LENGTH_NUM_BITS   8

Definition at line 65 of file packetHdrV1.h.

View newest version in sPHENIX GitHub at line 65 of file packetHdrV1.h

#define DESCR_LENGTH_OFFSET_IN_DWORD   16

Definition at line 64 of file packetHdrV1.h.

View newest version in sPHENIX GitHub at line 64 of file packetHdrV1.h

Referenced by getPacketV1DataDescrLength(), and setPacketV1DataDescrLength().

#define DESCR_LENGTH_OFFSET_OF_DWORD   4

Definition at line 63 of file packetHdrV1.h.

View newest version in sPHENIX GitHub at line 63 of file packetHdrV1.h

Referenced by getPacketV1DataDescrLength(), and setPacketV1DataDescrLength().

#define ENDIANISM_MASK   0x0000ff00

Definition at line 71 of file packetHdrV1.h.

View newest version in sPHENIX GitHub at line 71 of file packetHdrV1.h

Referenced by getPacketV1Endianism(), and setPacketV1Endianism().

#define ENDIANISM_NUM_BITS   8

Definition at line 70 of file packetHdrV1.h.

View newest version in sPHENIX GitHub at line 70 of file packetHdrV1.h

#define ENDIANISM_OFFSET_IN_DWORD   8

Definition at line 69 of file packetHdrV1.h.

View newest version in sPHENIX GitHub at line 69 of file packetHdrV1.h

Referenced by getPacketV1Endianism(), and setPacketV1Endianism().

#define ENDIANISM_OFFSET_OF_DWORD   4

Definition at line 68 of file packetHdrV1.h.

View newest version in sPHENIX GitHub at line 68 of file packetHdrV1.h

Referenced by getPacketV1Endianism(), and setPacketV1Endianism().

#define ID_OFFSET_OF_DWORD   2

Definition at line 46 of file packetHdrV1.h.

View newest version in sPHENIX GitHub at line 46 of file packetHdrV1.h

Referenced by getPacketV1Id(), and setPacketV1Id().

#define PACKET_ERROR_LENGTH_MASK   0x0000ffff

Definition at line 56 of file packetHdrV1.h.

View newest version in sPHENIX GitHub at line 56 of file packetHdrV1.h

Referenced by getPacketV1ErrorLength(), and setPacketV1ErrorLength().

#define PACKET_ERROR_LENGTH_NUM_BITS   16

Definition at line 55 of file packetHdrV1.h.

View newest version in sPHENIX GitHub at line 55 of file packetHdrV1.h

#define PACKET_ERROR_LENGTH_OFFSET_IN_DWORD   0

Definition at line 54 of file packetHdrV1.h.

View newest version in sPHENIX GitHub at line 54 of file packetHdrV1.h

Referenced by getPacketV1ErrorLength(), and setPacketV1ErrorLength().

#define PACKET_ERROR_LENGTH_OFFSET_OF_DWORD   3

Definition at line 53 of file packetHdrV1.h.

View newest version in sPHENIX GitHub at line 53 of file packetHdrV1.h

Referenced by getPacketV1ErrorLength(), and setPacketV1ErrorLength().

#define PACKET_LENGTH_OFFSET_OF_DWORD   0

Definition at line 39 of file packetHdrV1.h.

View newest version in sPHENIX GitHub at line 39 of file packetHdrV1.h

#define PACKET_PADDING_MASK   0x000000ff

Definition at line 76 of file packetHdrV1.h.

View newest version in sPHENIX GitHub at line 76 of file packetHdrV1.h

Referenced by getPacketV1Padding(), and setPacketV1Padding().

#define PACKET_PADDING_NUM_BITS   8

Definition at line 75 of file packetHdrV1.h.

View newest version in sPHENIX GitHub at line 75 of file packetHdrV1.h

#define PACKET_PADDING_OFFSET_IN_DWORD   0

Definition at line 74 of file packetHdrV1.h.

View newest version in sPHENIX GitHub at line 74 of file packetHdrV1.h

Referenced by getPacketV1Padding(), and setPacketV1Padding().

#define PACKET_PADDING_OFFSET_OF_DWORD   4

Definition at line 73 of file packetHdrV1.h.

View newest version in sPHENIX GitHub at line 73 of file packetHdrV1.h

Referenced by getPacketV1Padding(), and setPacketV1Padding().

#define PACKET_STATUS_MASK   0x0000ffff

Definition at line 44 of file packetHdrV1.h.

View newest version in sPHENIX GitHub at line 44 of file packetHdrV1.h

Referenced by getPacketV1Status(), orPacketV1Status(), and setPacketV1Status().

#define PACKET_STATUS_NUM_BITS   16

Definition at line 43 of file packetHdrV1.h.

View newest version in sPHENIX GitHub at line 43 of file packetHdrV1.h

Referenced by orPacketV1Status().

#define PACKET_STATUS_OFFSET_IN_DWORD   0

Definition at line 42 of file packetHdrV1.h.

View newest version in sPHENIX GitHub at line 42 of file packetHdrV1.h

Referenced by getPacketV1Status(), orPacketV1Status(), and setPacketV1Status().

#define PACKET_STATUS_OFFSET_OF_DWORD   1

Definition at line 41 of file packetHdrV1.h.

View newest version in sPHENIX GitHub at line 41 of file packetHdrV1.h

Referenced by getPacketV1Status(), orPacketV1Status(), and setPacketV1Status().

#define PACKETV1_HDR_LENGTH   6

Definition at line 80 of file packetHdrV1.h.

View newest version in sPHENIX GitHub at line 80 of file packetHdrV1.h

#define PACKETV1_HDR_VERSION   1

Definition at line 83 of file packetHdrV1.h.

View newest version in sPHENIX GitHub at line 83 of file packetHdrV1.h

#define STRUCTURE_MASK   0xff000000

Definition at line 61 of file packetHdrV1.h.

View newest version in sPHENIX GitHub at line 61 of file packetHdrV1.h

Referenced by getPacketV1Structure(), and setPacketV1Structure().

#define STRUCTURE_NUM_BITS   8

Definition at line 60 of file packetHdrV1.h.

View newest version in sPHENIX GitHub at line 60 of file packetHdrV1.h

#define STRUCTURE_OFFSET_IN_DWORD   24

Definition at line 59 of file packetHdrV1.h.

View newest version in sPHENIX GitHub at line 59 of file packetHdrV1.h

Referenced by getPacketV1Structure(), and setPacketV1Structure().

#define STRUCTURE_OFFSET_OF_DWORD   4

Definition at line 58 of file packetHdrV1.h.

View newest version in sPHENIX GitHub at line 58 of file packetHdrV1.h

Referenced by getPacketV1Structure(), and setPacketV1Structure().

Variable Documentation

const UINT packetV1HdrLength = PACKETV1_HDR_LENGTH

Definition at line 81 of file packetHdrV1.h.

View newest version in sPHENIX GitHub at line 81 of file packetHdrV1.h

Referenced by appendEmptyFramePacket(), makePacketV1Hdr(), removePacketPadding(), and validPacketV1Hdr().

const UINT packetV1HdrVersion = PACKETV1_HDR_VERSION

Definition at line 84 of file packetHdrV1.h.

View newest version in sPHENIX GitHub at line 84 of file packetHdrV1.h

Referenced by makePacketV1Hdr().