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 {
23 public:
26
28 // CprErrorMessage( const char* entry_name );
29
30
32 virtual ~CprErrorMessage();
33
35 void PrintError(char* err_message, const char* file, const char* func_name, const int line);
36
38 void PrintError(const int shmflag, RunInfoBuffer* nsm_status, char* err_message, const char* file, const char* func_name,
39 const int line);
40
42 void PrintError(const int shmflag, RunInfoBuffer* nsm_status, std::string err_str);
43
45 void PrintError(const char* err_message);
46
47
48 };
50}
51
52#endif
virtual ~CprErrorMessage()
Default constructor.
CprErrorMessage()
Default constructor.
Abstract base class for different kinds of events.