Belle II Software light-2406-ragdoll
ZMQDefinitions.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#pragma once
9
10namespace Belle2 {
16 enum class EMessageTypes {
17 // Used by DAQ and Framework: general control messages
18 c_confirmMessage = 'c', // is sent when an event is confirmed to be at the output process
19 c_helloMessage = 'h', // registration
20 c_deleteWorkerMessage = 'd', // Delete the events of a given worker
21 c_lastEventMessage = 'l', // indicates the last event was processed by the process
22 c_readyMessage = 'r', // is sent from the worker to the input to show, that it can process an event
23 c_terminateMessage = 'x', // Ask all processes to (gently) stop
24
25 // Used by DAQ and Framework: event messages
26 c_rawDataMessage = 'u', // a normal message with event data but in raw format
27 c_compressedDataMessage = 'v', // a normal message with event data but in compressed format
28 c_eventMessage = 'w', // a normal message with event data
29
30 // Only needed by framework
31 c_goodbyeMessage = 'g', // un-registration
32 c_statisticMessage = 's', // the last statistics will be send from the output to the process monitor
33 c_killWorkerMessage = 'k', // is sent when a worker should be killed (because it needed too much time)
34
35 // Only needed by DAQ
36 c_monitoringMessage = 'm', // sent in DAQ package to monitor from remote
37 c_newRunMessage = 'n', // sent in DAQ package on starting
38 };
40}
EMessageTypes
Type the messages can have.
Abstract base class for different kinds of events.
Definition: ClusterUtils.h:24