]>
Commit | Line | Data |
---|---|---|
7c4d1228 | 1 | // $Id$ |
2 | ||
3 | //************************************************************************** | |
4 | //* This file is property of and copyright by the ALICE HLT Project * | |
5 | //* ALICE Experiment at CERN, All rights reserved. * | |
6 | //* * | |
7 | //* Primary Authors: Matthias Richter <Matthias.Richter@ift.uib.no> * | |
8 | //* for The ALICE HLT Project. * | |
9 | //* * | |
10 | //* Permission to use, copy, modify and distribute this software and its * | |
11 | //* documentation strictly for non-commercial purposes is hereby granted * | |
12 | //* without fee, provided that the above copyright notice appears in all * | |
13 | //* copies and that both the copyright notice and this permission notice * | |
14 | //* appear in the supporting documentation. The authors make no claims * | |
15 | //* about the suitability of this software for any purpose. It is * | |
16 | //* provided "as is" without express or implied warranty. * | |
17 | //************************************************************************** | |
18 | ||
19 | /** @file AliHLTDAQInterfaceImplementation.cxx | |
20 | @author Matthias Richter | |
21 | @date | |
22 | @brief Interface to the AliDAQ class | |
23 | */ | |
24 | ||
25 | #include "AliHLTDAQInterfaceImplementation.h" | |
26 | #include "AliDAQ.h" | |
27 | ||
28 | /** ROOT macro for the implementation of ROOT specific class methods */ | |
29 | ClassImp(AliHLTDAQInterfaceImplementation) | |
30 | ||
31 | AliHLTDAQInterfaceImplementation::AliHLTDAQInterfaceImplementation() | |
32 | { | |
33 | // see header file for class documentation | |
34 | // or | |
35 | // refer to README to build package | |
36 | // or | |
37 | // visit http://web.ift.uib.no/~kjeks/doc/alice-hlt | |
38 | } | |
39 | ||
40 | AliHLTDAQInterfaceImplementation::~AliHLTDAQInterfaceImplementation() | |
41 | { | |
84221957 | 42 | // see header file for class documentation |
7c4d1228 | 43 | } |
84221957 | 44 | |
45 | Int_t AliHLTDAQInterfaceImplementation::VirtNumberOfDetectors() | |
46 | { | |
7c4d1228 | 47 | // see header file for class documentation |
84221957 | 48 | return AliDAQ::kNDetectors; |
49 | } | |
7c4d1228 | 50 | |
51 | Int_t AliHLTDAQInterfaceImplementation::VirtDetectorID(const char *detectorName) | |
52 | { | |
53 | // see header file for class documentation | |
54 | return AliDAQ::DetectorID(detectorName); | |
55 | } | |
56 | ||
57 | const char *AliHLTDAQInterfaceImplementation::VirtDetectorName(Int_t detectorID) | |
58 | { | |
59 | // see header file for class documentation | |
60 | return AliDAQ::DetectorName(detectorID); | |
61 | } | |
62 | ||
63 | ||
64 | Int_t AliHLTDAQInterfaceImplementation::VirtDdlIDOffset(const char *detectorName) | |
65 | { | |
66 | // see header file for class documentation | |
67 | return AliDAQ::DdlIDOffset(detectorName); | |
68 | } | |
69 | ||
70 | Int_t AliHLTDAQInterfaceImplementation::VirtDdlIDOffset(Int_t detectorID) | |
71 | { | |
72 | // see header file for class documentation | |
73 | return AliDAQ::DdlIDOffset(detectorID); | |
74 | } | |
75 | ||
76 | const char *AliHLTDAQInterfaceImplementation::VirtDetectorNameFromDdlID(Int_t ddlID, Int_t &ddlIndex) | |
77 | { | |
78 | // see header file for class documentation | |
79 | return AliDAQ::DetectorNameFromDdlID(ddlID, ddlIndex); | |
80 | } | |
81 | ||
82 | Int_t AliHLTDAQInterfaceImplementation::VirtDetectorIDFromDdlID(Int_t ddlID, Int_t &ddlIndex) | |
83 | { | |
84 | // see header file for class documentation | |
85 | return AliDAQ::DetectorIDFromDdlID(ddlID, ddlIndex); | |
86 | } | |
87 | ||
88 | Int_t AliHLTDAQInterfaceImplementation::VirtDdlID(const char *detectorName, Int_t ddlIndex) | |
89 | { | |
90 | // see header file for class documentation | |
91 | return AliDAQ::DdlID(detectorName, ddlIndex); | |
92 | } | |
93 | ||
94 | Int_t AliHLTDAQInterfaceImplementation::VirtDdlID(Int_t detectorID, Int_t ddlIndex) | |
95 | { | |
96 | // see header file for class documentation | |
97 | return AliDAQ::DdlID(detectorID, ddlIndex); | |
98 | } | |
99 | ||
100 | const char *AliHLTDAQInterfaceImplementation::VirtDdlFileName(const char *detectorName, Int_t ddlIndex) | |
101 | { | |
102 | // see header file for class documentation | |
103 | return AliDAQ::DdlFileName(detectorName, ddlIndex); | |
104 | } | |
105 | ||
106 | const char *AliHLTDAQInterfaceImplementation::VirtDdlFileName(Int_t detectorID, Int_t ddlIndex) | |
107 | { | |
108 | // see header file for class documentation | |
109 | return AliDAQ::DdlFileName(detectorID, ddlIndex); | |
110 | } | |
111 | ||
112 | Int_t AliHLTDAQInterfaceImplementation::VirtNumberOfDdls(const char *detectorName) | |
113 | { | |
114 | // see header file for class documentation | |
115 | return AliDAQ::NumberOfDdls(detectorName); | |
116 | } | |
117 | ||
118 | Int_t AliHLTDAQInterfaceImplementation::VirtNumberOfDdls(Int_t detectorID) | |
119 | { | |
120 | // see header file for class documentation | |
121 | return AliDAQ::NumberOfDdls(detectorID); | |
122 | } | |
84221957 | 123 | |
124 | const char *AliHLTDAQInterfaceImplementation::VirtListOfTriggeredDetectors(UInt_t detectorPattern) | |
125 | { | |
126 | // see header file for class documentation | |
127 | return AliDAQ::ListOfTriggeredDetectors(detectorPattern); | |
128 | } | |
129 | ||
130 | UInt_t AliHLTDAQInterfaceImplementation::VirtDetectorPattern(const char *detectorList) | |
131 | { | |
132 | // see header file for class documentation | |
133 | return AliDAQ::DetectorPattern(detectorList); | |
134 | } | |
135 | ||
136 | const char *AliHLTDAQInterfaceImplementation::VirtOfflineModuleName(const char *detectorName) | |
137 | { | |
138 | // see header file for class documentation | |
139 | return AliDAQ::OfflineModuleName(detectorName); | |
140 | } | |
141 | ||
142 | const char *AliHLTDAQInterfaceImplementation::VirtOfflineModuleName(Int_t detectorID) | |
143 | { | |
144 | // see header file for class documentation | |
145 | return AliDAQ::OfflineModuleName(detectorID); | |
146 | } | |
147 | ||
148 | const char *AliHLTDAQInterfaceImplementation::VirtOnlineName(const char *detectorName) | |
149 | { | |
150 | // see header file for class documentation | |
151 | return AliDAQ::OnlineName(detectorName); | |
152 | } | |
153 | ||
154 | const char *AliHLTDAQInterfaceImplementation::VirtOnlineName(Int_t detectorID) | |
155 | { | |
156 | // see header file for class documentation | |
157 | return AliDAQ::OnlineName(detectorID); | |
158 | } |