Project
Loading...
Searching...
No Matches
MermaidHelpers.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 FRAMEWORK_MERMAIDHELPERS_H
12#define FRAMEWORK_MERMAIDHELPERS_H
13
16#include <vector>
17#include <iosfwd>
18
19namespace o2
20{
21namespace framework
22{
23
25 using Devices = std::vector<DeviceSpec>;
26 static void dumpDataProcessorSpec2Mermaid(std::ostream&, const WorkflowSpec& specs);
27 static void dumpDeviceSpec2Mermaid(std::ostream&, const Devices& specs);
28};
29
30} // namespace framework
31} // namespace o2
32#endif // FRAMEWORK_MERMAIDHELPERS_H
std::vector< DataProcessorSpec > WorkflowSpec
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...
std::vector< DeviceSpec > Devices
static void dumpDataProcessorSpec2Mermaid(std::ostream &, const WorkflowSpec &specs)
static void dumpDeviceSpec2Mermaid(std::ostream &, const Devices &specs)
Helper to dump a set of devices as a mermaid file.