Project
Loading...
Searching...
No Matches
GPUO2InterfaceDisplay.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
14
15#ifndef GPUO2INTERFACEDisplay_H
16#define GPUO2INTERFACEDisplay_H
17
18#include "GPUO2ExternalUser.h"
19#include <memory>
20#include <vector>
21#include "GPUDataTypes.h"
22
23namespace o2::gpu
24{
25class GPUDisplayInterface;
26class GPUQA;
27struct GPUParam;
28struct GPUTrackingInOutPointers;
29struct GPUO2InterfaceConfiguration;
30struct GPUSettingsGRP;
31class GPUDisplayFrontendInterface;
33{
34 public:
37
38 void UpdateCalib(const GPUCalibObjectsConst* calib);
39 void UpdateGRP(const GPUSettingsGRP* grp);
40 int32_t startDisplay();
41 int32_t show(const GPUTrackingInOutPointers* ptrs);
42 int32_t endDisplay();
43
44 private:
45 std::unique_ptr<GPUDisplayInterface> mDisplay;
46 std::unique_ptr<GPUQA> mQA;
47 std::unique_ptr<GPUParam> mParam;
48 std::unique_ptr<GPUDisplayFrontendInterface> mFrontend;
49 std::unique_ptr<GPUO2InterfaceConfiguration> mConfig;
50};
51} // namespace o2::gpu
52
53#endif
int32_t show(const GPUTrackingInOutPointers *ptrs)
void UpdateCalib(const GPUCalibObjectsConst *calib)
void UpdateGRP(const GPUSettingsGRP *grp)