Project
Loading...
Searching...
No Matches
TextDriverClient.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
#ifndef O2_FRAMEWORK_TEXTDRIVERCLIENT_H_
12
#define O2_FRAMEWORK_TEXTDRIVERCLIENT_H_
13
14
#include "
Framework/DriverClient.h
"
15
#include "
Framework/ServiceRegistryRef.h
"
16
17
namespace
o2::framework
18
{
19
20
struct
ServiceRegistry;
21
struct
DeviceState;
22
24
class
TextDriverClient
:
public
DriverClient
25
{
26
public
:
27
constexpr
static
ServiceKind
service_kind
=
ServiceKind::Global
;
28
29
TextDriverClient
(
ServiceRegistryRef
registry,
DeviceState
& deviceState);
30
33
void
tell
(
char
const
*
msg
,
size_t
s,
bool
flush =
true
) final;
34
void
flushPending
(
ServiceRegistryRef
ref
) final;
35
};
36
37
}
// namespace o2::framework
38
39
#endif
// O2_FRAMEWORK_TEXTDRIVERCLIENT_H_
DriverClient.h
ServiceRegistryRef.h
int
o2::framework::DriverClient
A service API to communicate with the driver.
Definition
DriverClient.h:31
o2::framework::ServiceRegistryRef
Definition
ServiceRegistryRef.h:21
o2::framework::TextDriverClient
A text based way of communicating with the driver.
Definition
TextDriverClient.h:25
o2::framework::TextDriverClient::flushPending
void flushPending(ServiceRegistryRef ref) final
Definition
TextDriverClient.cxx:26
o2::framework::TextDriverClient::tell
void tell(char const *msg, size_t s, bool flush=true) final
Definition
TextDriverClient.cxx:21
o2::framework::TextDriverClient::service_kind
static constexpr ServiceKind service_kind
Definition
TextDriverClient.h:27
o2::framework
Defining PrimaryVertex explicitly as messageable.
Definition
TFIDInfo.h:20
o2::framework::ServiceKind
ServiceKind
The kind of service we are asking for.
Definition
ServiceHandle.h:21
o2::framework::ServiceKind::Global
@ Global
o2::framework::DeviceState
Running state information of a given device.
Definition
DeviceState.h:34
msg
uint64_t const void const *restrict const msg
Definition
x9.h:153
Framework
Core
src
TextDriverClient.h
Generated on Tue Feb 25 2025 23:16:40 for Project by
1.9.8