]>
Commit | Line | Data |
---|---|---|
7c4d1228 | 1 | //-*- Mode: C++ -*- |
2 | // $Id$ | |
3 | ||
4 | #ifndef ALIHLTDAQINTERFACEIMPLEMENTATION_H | |
5 | #define ALIHLTDAQINTERFACEIMPLEMENTATION_H | |
6 | //* This file is property of and copyright by the ALICE HLT Project * | |
7 | //* ALICE Experiment at CERN, All rights reserved. * | |
8 | //* See cxx source for full Copyright notice * | |
9 | ||
10 | /** @file AliHLTDAQInterfaceImplementation.h | |
11 | @author Matthias Richter | |
12 | @date | |
13 | @brief Implementation of the AliHLTDAQInterfaceImplementation | |
14 | */ | |
15 | ||
16 | #include "AliHLTDAQ.h" | |
17 | ||
18 | /** | |
19 | * @class AliHLTDAQInterfaceImplementation | |
20 | * Implementation of the AliHLTDAQVirtualInterface | |
21 | * | |
22 | * For the sake of library (in)dependencies, AliDAQ can not be used directly in | |
23 | * libHLTbase as this would introduce dependencies to AliRoot libraries. | |
24 | * The AliHLTDAQVirtualInterface provides a virtual interface to AliDAQ with | |
25 | * the implementation in libHLTrec.so. | |
26 | * See AliHLTDAQVirtualInterface for usage. | |
27 | * | |
28 | * @ingroup alihlt_aliroot_reconstruction | |
29 | */ | |
30 | class AliHLTDAQInterfaceImplementation : public AliHLTDAQ { | |
31 | public: | |
32 | /** constructor */ | |
33 | AliHLTDAQInterfaceImplementation(); | |
34 | /** destructor */ | |
35 | virtual ~AliHLTDAQInterfaceImplementation(); | |
36 | ||
37 | Int_t VirtDetectorID(const char *detectorName); | |
38 | const char *VirtDetectorName(Int_t detectorID); | |
39 | ||
40 | Int_t VirtDdlIDOffset(const char *detectorName); | |
41 | Int_t VirtDdlIDOffset(Int_t detectorID); | |
42 | ||
43 | const char *VirtDetectorNameFromDdlID(Int_t ddlID, Int_t &ddlIndex); | |
44 | Int_t VirtDetectorIDFromDdlID(Int_t ddlID, Int_t &ddlIndex); | |
45 | ||
46 | Int_t VirtDdlID(const char *detectorName, Int_t ddlIndex); | |
47 | Int_t VirtDdlID(Int_t detectorID, Int_t ddlIndex); | |
48 | const char *VirtDdlFileName(const char *detectorName, Int_t ddlIndex); | |
49 | const char *VirtDdlFileName(Int_t detectorID, Int_t ddlIndex); | |
50 | ||
51 | Int_t VirtNumberOfDdls(const char *detectorName); | |
52 | Int_t VirtNumberOfDdls(Int_t detectorID); | |
53 | ||
54 | protected: | |
55 | ||
56 | private: | |
57 | /** copy constructor prohibited */ | |
58 | AliHLTDAQInterfaceImplementation(const AliHLTDAQInterfaceImplementation&); | |
59 | /** assignment operator prohibited */ | |
60 | AliHLTDAQInterfaceImplementation& operator=(const AliHLTDAQInterfaceImplementation&); | |
61 | ||
62 | ClassDef(AliHLTDAQInterfaceImplementation, 0) | |
63 | }; | |
64 | ||
65 | #endif |