Belle II Software development
CprErrorMessage.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
9#ifndef CPRERRORMESSAGE_H
10#define CPRERRORMESSAGE_H
11
12// Includes
13#include <string>
14#include <daq/slc/readout/RunInfoBuffer.h>
15
16namespace Belle2 {
21
23 public:
26
28 // CprErrorMessage( const char* entry_name );
29
30
32 virtual ~CprErrorMessage();
33
35 static void PrintError(const char* err_message, const char* file, const char* func_name, int line);
36
38 static void PrintError(const int shmflag, RunInfoBuffer* nsm_status, const char* err_message, const char* file,
39 const char* func_name,
40 const int line);
41
43 static void PrintError(int shmflag, Belle2::RunInfoBuffer* nsm_status, const std::string& err_str);
44
46 static void PrintError(const char* err_message);
47
48
49 };
50
51}
52
53#endif
virtual ~CprErrorMessage()
Default constructor.
CprErrorMessage()
Default constructor.
Abstract base class for different kinds of events.