Analysis Software
Documentation for
sPHENIX
simulation software
Home page
Related Pages
Modules
Namespaces
Classes
Files
Examples
External Links
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
packetRoutines.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file packetRoutines.h
1
/*
2
** packetRoutines.h
3
**
4
** Author: $Author: purschke $
5
** Date: $Date: 2000/07/21 01:51:17 $
6
**
7
** $Log: packetRoutines.h,v $
8
** Revision 1.1.1.1 2000/07/21 01:51:17 purschke
9
** mlp -- adding the new automakified "basic" module to CVS.
10
**
11
**
12
** Revision 1.4 1998/12/11 22:01:48 markacs
13
** (stephen markacs) adding log into cvs tags
14
**
15
*/
16
/*
17
**
18
** packetRoutines.h
19
**
20
**
21
** Function prototypes for routines that perform more sophisticated
22
** manipulation of packets than provided for by routines in packets.cpp.
23
*/
24
25
#ifndef _PACKET_ROUTINES_
26
#define _PACKET_ROUTINES_
27
28
#include "
phenixOnline.h
"
29
#include "
packetPublic.h
"
30
31
/*
32
** Use C linkage for below structures
33
*/
34
#ifdef __cplusplus
35
extern
"C"
{
36
#endif
37
38
PTR_ret
makeEmptyPacket
(
PACKET_ptr
,
UINT
,
UINT
);
39
40
PTR_ret
makeUnstructPacket
(
PACKET_ptr
,
UINT
,
UINT
,
UINT
,
UINT
);
41
42
LOGIC_ret
appendPacketError
(
PACKET_ptr
,
UINT
,
ERRORENTRYV1_ptr
);
43
44
PTR_ret
reservePacketDebugData
(
PACKET_ptr
,
UINT
,
UINT
);
45
46
PTR_ret
startUnstructDataWrite
(
PACKET_ptr
,
UINT
,
PHDWORD
);
47
48
PTR_ret
finishUnstructDataWrite
(
PACKET_ptr
,
UINT
,
PHDWORD
);
49
50
VALUE_ret
storePacketHits
(
PACKET_ptr
,
UINT
,
UINT
*,
BYTE
*,
UINT
,
UINT
);
51
52
VALUE_ret
fetchPacketHits
(
PACKET_ptr
,
UINT
**,
BYTE
**,
UINT
*);
53
54
#ifdef __cplusplus
55
}
56
#endif
57
/* end of ifdef __cplusplus */
58
59
#endif
60
/* end of ifndef _PACKET_ROUTINES_ */
61
62
63
64
65
66
67
68
69
70
71
72
73
74
online_distribution
blob
master
newbasic
packetRoutines.h
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:28
using
1.8.2 with
sPHENIX GitHub integration