FairRoot
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
ptrevcomm.h
Go to the documentation of this file.
1
/********************************************************************************
2
* Copyright (C) 2014 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH *
3
* *
4
* This software is distributed under the terms of the *
5
* GNU Lesser General Public Licence (LGPL) version 3, *
6
* copied verbatim in the file "LICENSE" *
7
********************************************************************************/
8
/*********************************************************************
9
* Copyright:
10
* GSI, Gesellschaft fuer Schwerionenforschung mbH
11
* Planckstr. 1
12
* D-64291 Darmstadt
13
* Germany
14
*********************************************************************
15
* ptrevcomm.h
16
* communication structures
17
* multi-threaded remote event server <-> ROOT clients
18
* created 2. 2.99, Horst Goeringer
19
*********************************************************************
20
* 23. 3.1999, H.G.: srevInfo added
21
* 26. 7.1999, H.G.: sptrevDummy added
22
* 10.11.1999, H.G.: iIdent in srevComm added
23
*********************************************************************
24
*/
25
26
/* client requests events from server */
27
typedef
struct
28
{
29
int
iSize
;
/* size of comm. buffer without this element (bytes) */
30
int
iMode
;
/* must be 1: client requests data */
31
int
iIdent
;
/* =1: NOT IN NET REPR. to identify client endian type */
32
int
iBufRequ
;
/* number of buffers requested */
33
}
srevComm
;
34
35
/* server sends info to client */
36
typedef
struct
37
{
38
int
iSize
;
/* size of info buffer without this element (bytes) */
39
int
iMode
;
/* must be 1: server sends info */
40
/* else: client tries swap */
41
int
iHeadPar
;
/* no. of header parms in buffer */
42
int
iTimeOut
;
/* wait time client after CTL C */
43
}
srevInfo
;
44
45
/* server sends dummy buffer to client, if no DAQ events available */
46
typedef
struct
47
{
48
int
iSize
;
/* size of data following */
49
int
iBufNo
;
/* current buffer number */
50
int
iEvtNo
;
/* no. of events in buffer (= 0) */
51
}
sptrevDummy
;
srevComm::iMode
int iMode
Definition:
ptrevcomm.h:30
srevInfo::iSize
int iSize
Definition:
ptrevcomm.h:38
srevComm::iBufRequ
int iBufRequ
Definition:
ptrevcomm.h:32
srevComm::iIdent
int iIdent
Definition:
ptrevcomm.h:31
srevInfo::iHeadPar
int iHeadPar
Definition:
ptrevcomm.h:41
sptrevDummy
Definition:
ptrevcomm.h:46
srevInfo::iMode
int iMode
Definition:
ptrevcomm.h:39
srevInfo::iTimeOut
int iTimeOut
Definition:
ptrevcomm.h:42
sptrevDummy::iBufNo
int iBufNo
Definition:
ptrevcomm.h:49
sptrevDummy::iSize
int iSize
Definition:
ptrevcomm.h:48
srevInfo
Definition:
ptrevcomm.h:36
sptrevDummy::iEvtNo
int iEvtNo
Definition:
ptrevcomm.h:50
srevComm
Definition:
ptrevcomm.h:27
srevComm::iSize
int iSize
Definition:
ptrevcomm.h:29
FairRoot
base
source
ptrevcomm.h
Generated on Mon Mar 8 2021 12:14:05 for FairRoot by
1.8.5