Project
Loading...
Searching...
No Matches
DataInspector.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_DATAINSPECTOR_H
12
#define O2_DATAINSPECTOR_H
13
14
#include "
Framework/DeviceSpec.h
"
15
#include "
Framework/WorkflowSpec.h
"
16
#include "
DISocket.h
"
17
18
#include <fairmq/FairMQDevice.h>
19
#include <fairmq/FairMQParts.h>
20
21
#include <cstring>
22
23
namespace
o2::framework::data_inspector
24
{
25
inline
bool
isNonInternalDevice
(
const
DeviceSpec
& spec)
26
{
27
return
spec.
name
.find(
"internal"
) == std::string::npos;
28
}
29
30
std::vector<DIMessage>
serializeO2Messages
(
const
std::vector<DataRef>& refs,
const
std::string& deviceName);
31
}
// namespace o2::framework::data_inspector
32
33
#endif
// O2_DATAINSPECTOR_H
DISocket.h
DeviceSpec.h
WorkflowSpec.h
o2::framework::data_inspector
Definition
DataInspector.cxx:48
o2::framework::data_inspector::serializeO2Messages
std::vector< DIMessage > serializeO2Messages(const std::vector< DataRef > &refs, const std::string &deviceName)
Definition
DataInspector.cxx:134
o2::framework::data_inspector::isNonInternalDevice
bool isNonInternalDevice(const DeviceSpec &spec)
Definition
DataInspector.h:25
o2::framework::DeviceSpec
Definition
DeviceSpec.h:48
o2::framework::DeviceSpec::name
std::string name
The name of the associated DataProcessorSpec.
Definition
DeviceSpec.h:50
Framework
DataInspector
src
DataInspector.h
Generated on Tue Feb 25 2025 23:16:41 for Project by
1.9.8