Belle II Software
development
RFDqmServer.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
#ifndef RF_DQMSERVER_H
9
#define RF_DQMSERVER_H
10
11
#include <string>
12
13
#include "daq/rfarm/manager/RFConf.h"
14
#include "daq/rfarm/manager/RFProcessManager.h"
15
#include "daq/rfarm/manager/RFLogManager.h"
16
17
#include "daq/rfarm/manager/RFServerBase.h"
18
19
#define MAXNODES 256
20
21
namespace
Belle2
{
27
class
RFDqmServer
:
public
RFServerBase
{
28
public
:
29
RFDqmServer
(std::string conffile);
30
~RFDqmServer
();
31
32
// Functions to be hooked to NSM
33
int
Configure(
NSMmsg
*,
NSMcontext
*)
override
;
34
int
UnConfigure(
NSMmsg
*,
NSMcontext
*)
override
;
35
int
Start(
NSMmsg
*,
NSMcontext
*)
override
;
36
int
Stop(
NSMmsg
*,
NSMcontext
*)
override
;
37
int
Restart(
NSMmsg
*,
NSMcontext
*)
override
;
38
39
// Server function
40
void
server();
41
42
// Cleanup
43
void
cleanup();
44
45
private
:
46
RFConf
* m_conf;
47
RFProcessManager
* m_proc;
48
RFLogManager
* m_log;
49
50
int
m_pid_dqm;
51
int
m_pid_relay;
52
53
int
m_expno;
54
int
m_runno;
55
56
};
58
}
59
#endif
60
Belle2::RFConf
Definition:
RFConf.h:24
Belle2::RFDqmServer
Definition:
RFDqmServer.h:27
Belle2::RFLogManager
Definition:
RFLogManager.h:18
Belle2::RFProcessManager
Definition:
RFProcessManager.h:22
Belle2::RFServerBase
Definition:
RFServerBase.h:19
Belle2
Abstract base class for different kinds of events.
Definition:
MillepedeAlgorithm.h:17
NSMcontext_struct
Definition:
nsmlib2.h:71
NSMmsg
Definition:
nsm2.h:224
daq
rfarm
manager
include
RFDqmServer.h
Generated on Fri Nov 8 2024 02:35:28 for Belle II Software by
1.9.6