Belle II Software
development
EventServer.h
1
/**************************************************************************
2
* basf2 (Belle II Analysis Software Framework) *
3
* Author: The Belle II Collaboration *
4
* *
5
* See git log for contributors and copyright holders. *
6
* This file is licensed under LGPL-3.0, see LICENSE.md. *
7
**************************************************************************/
8
#ifndef EVENT_SERVER_H
9
#define EVENT_SERVER_H
10
11
#include <string>
12
13
#include <daq/dataflow/EvtSocket.h>
14
#include <daq/dataflow/EvtSocketManager.h>
15
#include <framework/pcore/RingBuffer.h>
16
17
#define MAXBUFSIZE 80000000
18
19
namespace
Belle2
{
24
25
class
EventServer {
26
public
:
27
EventServer(std::string rbufname,
int
port);
28
~EventServer();
29
30
int
server();
// Loop
31
32
private
:
33
EvtSocketRecv
* m_sock;
34
EvtSocketManager
* m_man;
35
RingBuffer
* m_rbuf;
36
int
m_port;
37
int
m_force_exit;
38
};
39
40
}
41
#endif
Belle2::EvtSocketManager
Definition
EvtSocketManager.h:21
Belle2::EvtSocketRecv
Definition
EvtSocket.h:47
Belle2::RingBuffer
Class to manage a Ring Buffer placed in an IPC shared memory.
Definition
RingBuffer.h:39
Belle2
Abstract base class for different kinds of events.
Definition
MillepedeAlgorithm.h:17
daq
expreco
include
EventServer.h
Generated on Mon Sep 1 2025 02:48:40 for Belle II Software by
1.13.2