Belle II Software
release-05-02-19
HLTMainLoop.h
1
/**************************************************************************
2
* BASF2 (Belle Analysis Framework 2) *
3
* Copyright(C) 2019 - Belle II Collaboration *
4
* *
5
* Author: The Belle II Collaboration *
6
* Contributors: Nils Braun *
7
* *
8
* This software is provided "as is" without any warranty. *
9
**************************************************************************/
10
11
#pragma once
12
13
#include <framework/pcore/RingBuffer.h>
14
15
namespace
Belle2
{
20
class
HLTMainLoop {
21
public
:
22
HLTMainLoop();
23
24
bool
isRunning()
const
;
25
int
writeToRingBufferWaiting(RingBuffer* ringBuffer,
int
* buffer,
unsigned
int
size)
const
;
26
int
readFromRingBufferWaiting(RingBuffer* ringBuffer,
int
* buffer)
const
;
27
28
private
:
29
static
bool
s_interrupted;
30
static
void
signalHandler(
int
signalValue);
31
32
void
initSignalHandler()
const
;
33
};
35
}
Belle2
Abstract base class for different kinds of events.
Definition:
MillepedeAlgorithm.h:19
daq
rfarm
event
hltsocket
include
HLTMainLoop.h
Generated on Tue Jan 4 2022 02:53:50 for Belle II Software by
1.8.17