Analysis Software
Documentation for
sPHENIX
simulation software
Home page
Related Pages
Modules
Namespaces
Classes
Files
Examples
External Links
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
MessageSystem.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file MessageSystem.h
1
#ifndef ONLMONSERVER_MESSAGESYSTEM_H
2
#define ONLMONSERVER_MESSAGESYSTEM_H
3
4
#include "
OnlMonBase.h
"
5
6
#include <map>
7
#include <string>
8
#include <utility>
// for pair
9
10
class
msg_control
;
11
12
class
MessageSystem
:
public
OnlMonBase
13
{
14
public
:
15
MessageSystem
(
const
std::string
&
name
);
16
~MessageSystem
()
override
;
17
18
// delete copy ctor and assignment operator (cppcheck)
19
explicit
MessageSystem
(
const
MessageSystem
&) =
delete
;
20
MessageSystem
&
operator=
(
const
MessageSystem
&) =
delete
;
21
22
int
send_message
(
const
int
msg_source,
const
int
severity,
const
std::string
&err_message,
const
int
msgtype);
23
24
int
Reset
();
25
26
protected
:
27
msg_control
*
Message
;
28
std::map<int, std::pair<int, int> >
msgcounter
;
29
};
30
31
#endif
OnlMon
blob
main
onlmonserver
MessageSystem.h
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:28
using
1.8.2 with
sPHENIX GitHub integration