Belle II Software  release-05-02-19
ZMQDefinitions.h
1 /**************************************************************************
2  * BASF2 (Belle Analysis Framework 2) *
3  * Copyright(C) 2018 - Belle II Collaboration *
4  * *
5  * Author: The Belle II Collaboration *
6  * Contributors: Nils Braun, Anselm Baur *
7  * *
8  * This software is provided "as is" without any warranty. *
9  **************************************************************************/
10 #pragma once
11 
12 namespace Belle2 {
17  enum class EMessageTypes {
19  // Used by DAQ and Framework: general control messages
20  c_confirmMessage = 'c', // is sent when an event is confirmed to be at the output process
21  c_helloMessage = 'h', // registration
22  c_deleteWorkerMessage = 'd', // Delete the events of a given worker
23  c_lastEventMessage = 'l', // indicates the last event was processed by the process
24  c_readyMessage = 'r', // is sent from the worker to the input to show, that it can process an event
25  c_terminateMessage = 'x', // Ask all processes to (gently) stop
26 
27  // Used by DAQ and Framework: event messages
28  c_rawDataMessage = 'u', // a normal message with event data but in raw format
29  c_compressedDataMessage = 'v', // a normal message with event data but in compressed format
30  c_eventMessage = 'w', // a normal message with event data
31 
32  // Only needed by framework
33  c_goodbyeMessage = 'g', // un-registration
34  c_statisticMessage = 's', // the last statistics will be send from the output to the process monitor
35  c_killWorkerMessage = 'k', // is sent when a worker should be killed (because it needed too much time)
36 
37  // Only needed by DAQ
38  c_monitoringMessage = 'm', // sent in DAQ package to monitor from remote
39  c_newRunMessage = 'n', // sent in DAQ package on starting
40  };
42 }
Belle2::EMessageTypes
EMessageTypes
Type the messages can have.
Definition: ZMQDefinitions.h:26
Belle2
Abstract base class for different kinds of events.
Definition: MillepedeAlgorithm.h:19