Belle II Software
release-05-02-19
Main Page
Modules
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Functions
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
z
Variables
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Typedefs
a
b
c
d
e
h
i
l
m
n
p
r
s
t
v
w
Enumerations
Enumerator
c
d
f
p
t
u
v
w
Classes
Class List
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
Enumerations
a
b
c
d
e
f
g
h
i
l
m
o
p
r
s
t
u
v
Enumerator
a
b
c
d
e
f
g
h
k
l
m
n
o
p
r
s
t
u
v
w
z
Related Functions
b
c
d
g
i
o
r
s
t
Files
File List
File Members
All
Functions
RFServerBase.h
1
#ifndef SERVER_BASE_H
2
#define SERVER_BASE_H
3
//+
4
// File : RFServerBase.h
5
// Description : Base class to construct RFARM server applications
6
// The class can be fed to RFNSM to hook up functions
7
//
8
// Author : Ryosuke Itoh, IPNS, KEK
9
// Date : 24 - Jul - 2013
10
//-
11
12
#include "daq/rfarm/manager/RfNodeInfo.h"
13
#include <nsm2/nsm2.h>
14
15
namespace
Belle2
{
20
class
RFServerBase
{
21
public
:
22
RFServerBase
() {};
23
~
RFServerBase
() {};
24
25
virtual
int
Configure(
NSMmsg
*,
NSMcontext
*) {
return
0; };
26
virtual
int
UnConfigure(
NSMmsg
*,
NSMcontext
*) {
return
0; };
27
virtual
int
Start(
NSMmsg
*,
NSMcontext
*) {
return
0; };
28
virtual
int
Stop(
NSMmsg
*,
NSMcontext
*) {
return
0; };
29
virtual
int
Pause(
NSMmsg
*,
NSMcontext
*) {
return
0; };
30
virtual
int
Resume(
NSMmsg
*,
NSMcontext
*) {
return
0; };
31
virtual
int
Restart(
NSMmsg
*,
NSMcontext
*) {
return
0; };
32
virtual
int
Status(
NSMmsg
*,
NSMcontext
*) {
return
0; };
33
34
virtual
void
SetNodeInfo(
RfNodeInfo
* ptr)
35
{
36
m_nsmmem = ptr;
37
};
38
39
virtual
RfNodeInfo
* GetNodeInfo()
40
{
41
return
m_nsmmem;
42
};
43
44
public
:
45
static
RFServerBase
* s_instance;
46
47
private
:
48
RfNodeInfo
* m_nsmmem;
49
50
};
52
}
53
#endif
NSMmsg
Definition:
nsm2.h:217
Belle2
Abstract base class for different kinds of events.
Definition:
MillepedeAlgorithm.h:19
Belle2::RFServerBase
Definition:
RFServerBase.h:20
Belle2::RfNodeInfo
Definition:
RfNodeInfo.h:17
NSMcontext_struct
Definition:
nsmlib2.h:66
daq
rfarm
manager
include
RFServerBase.h
Generated on Tue Jan 4 2022 02:54:03 for Belle II Software by
1.8.17