Project
Loading...
Searching...
No Matches
SpyService.h
Go to the documentation of this file.
1
// Copyright 2019-2020 CERN and copyright holders of ALICE O2.
2
// See https://alice-o2.web.cern.ch/copyright for details of the copyright holders.
3
// All rights not expressly granted are reserved.
4
//
5
// This software is distributed under the terms of the GNU General Public
6
// License v3 (GPL Version 3), copied verbatim in the file "COPYING".
7
//
8
// In applying this license CERN does not waive the privileges and immunities
9
// granted to it by virtue of its status as an Intergovernmental Organization
10
// or submit itself to any jurisdiction.
11
12
#ifndef O2_FRAMEWORK_SPYSERVICE_H
13
#define O2_FRAMEWORK_SPYSERVICE_H
14
15
#include "
Framework/ServiceHandle.h
"
16
#include "
Framework/ServiceSpec.h
"
17
#include "
Framework/ServiceRegistryRef.h
"
18
#include <mutex>
19
#include <vector>
20
#include <fairmq/FwdDecls.h>
21
22
namespace
o2::framework
23
{
24
struct
ServiceRegistry;
25
struct
DeviceState;
26
struct
DriverClient;
27
28
struct
GuiRenderer;
29
30
class
SpyService
31
{
32
public
:
33
SpyService
(
ServiceRegistryRef
registry,
DeviceState
& deviceState);
34
35
GuiRenderer
*
renderer
;
36
int
selectedFrame
= 0;
37
int
selectedData
= 0;
38
int
debugCurrentItemIndex
= 0;
39
40
fair::mq::Parts*
parts
;
41
42
bool
partsAlive
=
false
;
43
size_t
enableAfter
= 0;
44
45
private
:
46
bool
mOnce =
false
;
47
ServiceRegistryRef
mRegistry;
48
DeviceState
& mDeviceState;
49
std::mutex mMutex;
50
};
51
52
struct
SpyGUIPlugin
:
public
ServicePlugin
{
53
auto
create
() ->
ServiceSpec
*
final
;
54
};
55
56
}
// namespace o2::framework
57
58
#endif
// O2_SPYSERVICE_H
ServiceHandle.h
ServiceRegistryRef.h
ServiceSpec.h
o2::framework::ServiceRegistryRef
Definition
ServiceRegistryRef.h:21
o2::framework::SpyService
Definition
SpyService.h:31
o2::framework::SpyService::renderer
GuiRenderer * renderer
Definition
SpyService.h:35
o2::framework::SpyService::partsAlive
bool partsAlive
Definition
SpyService.h:42
o2::framework::SpyService::selectedFrame
int selectedFrame
Definition
SpyService.h:36
o2::framework::SpyService::parts
fair::mq::Parts * parts
Definition
SpyService.h:40
o2::framework::SpyService::selectedData
int selectedData
Definition
SpyService.h:37
o2::framework::SpyService::enableAfter
size_t enableAfter
Definition
SpyService.h:43
o2::framework::SpyService::debugCurrentItemIndex
int debugCurrentItemIndex
Definition
SpyService.h:38
o2::framework
Defining PrimaryVertex explicitly as messageable.
Definition
TFIDInfo.h:20
o2::framework::DeviceState
Running state information of a given device.
Definition
DeviceState.h:34
o2::framework::GuiRenderer
Definition
GuiCallbackContext.h:28
o2::framework::ServicePlugin
Definition
ServiceSpec.h:321
o2::framework::ServiceSpec
Definition
ServiceSpec.h:138
o2::framework::SpyGUIPlugin
Definition
SpyService.h:52
o2::framework::SpyGUIPlugin::create
auto create() -> ServiceSpec *final
Definition
SpyService.cxx:31
Framework
GUISupport
src
SpyService.h
Generated on Tue Feb 25 2025 23:16:41 for Project by
1.9.8