Line data Source code
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 VirtNumberOfDetectors();
38 :
39 : Int_t VirtHLTId();
40 : Int_t VirtDetectorID(const char *detectorName);
41 : const char *VirtDetectorName(Int_t detectorID);
42 :
43 : Int_t VirtDdlIDOffset(const char *detectorName);
44 : Int_t VirtDdlIDOffset(Int_t detectorID);
45 :
46 : const char *VirtDetectorNameFromDdlID(Int_t ddlID, Int_t &ddlIndex);
47 : Int_t VirtDetectorIDFromDdlID(Int_t ddlID, Int_t &ddlIndex);
48 :
49 : Int_t VirtDdlID(const char *detectorName, Int_t ddlIndex);
50 : Int_t VirtDdlID(Int_t detectorID, Int_t ddlIndex);
51 : const char *VirtDdlFileName(const char *detectorName, Int_t ddlIndex);
52 : const char *VirtDdlFileName(Int_t detectorID, Int_t ddlIndex);
53 :
54 : Int_t VirtNumberOfDdls(const char *detectorName);
55 : Int_t VirtNumberOfDdls(Int_t detectorID);
56 :
57 : const char *VirtListOfTriggeredDetectors(UInt_t detectorPattern);
58 : UInt_t VirtDetectorPattern(const char *detectorList);
59 :
60 : const char *VirtOfflineModuleName(const char *detectorName);
61 : const char *VirtOfflineModuleName(Int_t detectorID);
62 :
63 : const char *VirtOnlineName(const char *detectorName);
64 : const char *VirtOnlineName(Int_t detectorID);
65 :
66 : protected:
67 :
68 : private:
69 : /** copy constructor prohibited */
70 : AliHLTDAQInterfaceImplementation(const AliHLTDAQInterfaceImplementation&);
71 : /** assignment operator prohibited */
72 : AliHLTDAQInterfaceImplementation& operator=(const AliHLTDAQInterfaceImplementation&);
73 :
74 6 : ClassDef(AliHLTDAQInterfaceImplementation, 0)
75 : };
76 :
77 : #endif
|