Project
Loading...
Searching...
No Matches
DataRef.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_DATAREF_H
12#define FRAMEWORK_DATAREF_H
13
14#include <cstddef> // for size_t
15
16namespace o2
17{
18namespace framework
19{
20
21struct InputSpec;
22
23struct DataRef {
24 // FIXME: had to remove the second 'const' in const T* const
25 // to allow assignment
26 const InputSpec* spec = nullptr;
27 const char* header = nullptr;
28 const char* payload = nullptr;
29 size_t payloadSize = 0;
30};
31
32} // namespace framework
33} // namespace o2
34
35#endif
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...
const char * header
Definition DataRef.h:27
const char * payload
Definition DataRef.h:28
const InputSpec * spec
Definition DataRef.h:26