]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - HLT/BASE/AliHLTDataSource.h
ALIROOT-5600 - skip non-participating detector modules
[u/mrichter/AliRoot.git] / HLT / BASE / AliHLTDataSource.h
index 2c7ff5c50430f6f258d64cd6c29355ea53c34300..c9b83566a90b3ad7c7080556ed0356f9efe4d295 100644 (file)
@@ -1,24 +1,18 @@
 //-*- Mode: C++ -*-
-// @(#) $Id$
+// $Id$
 
 #ifndef ALIHLTDATASOURCE_H
 #define ALIHLTDATASOURCE_H
-/* This file is property of and copyright by the ALICE HLT Project        * 
- * ALICE Experiment at CERN, All rights reserved.                         *
- * See cxx source for full Copyright notice                               */
+///* This file is property of and copyright by the                          * 
+///* ALICE Experiment at CERN, All rights reserved.                         *
+///* See cxx source for full Copyright notice                               *
 
-/** @file   AliHLTDataSource.h
-    @author Matthias Richter
-    @date   
-    @brief  Base class declaration for HLT data source components.
-    @note   The class is used in Offline (AliRoot) context
-*/
-
-// see below for class documentation
-// or
-// refer to README to build package
-// or
-// visit http://web.ift.uib.no/~kjeks/doc/alice-hlt   
+/// @file   AliHLTDataSource.h
+/// @author Matthias Richter
+/// @date   
+/// @brief  Base class declaration for HLT data source components.
+/// @note   The class is used in Offline (AliRoot) context
+///
 
 #include "AliHLTComponent.h"
 
@@ -56,7 +50,7 @@ class AliHLTDataSource : public AliHLTComponent {
                    AliHLTComponentTriggerData& trigData,
                    AliHLTUInt8_t* outputPtr, 
                    AliHLTUInt32_t& size,
-                   vector<AliHLTComponentBlockData>& outputBlocks,
+                   AliHLTComponentBlockDataList& outputBlocks,
                    AliHLTComponentEventDoneData*& edd );
 
   // Information member functions for registration.
@@ -71,27 +65,27 @@ class AliHLTDataSource : public AliHLTComponent {
    * Default implementation for all data sources.
    * There are no input data types.
    */
-  void GetInputDataTypes( vector<AliHLTComponentDataType>& list);
+  void GetInputDataTypes( AliHLTComponentDataTypeList& list);
 
- protected:
+protected:
 
   /**
    * The low-level data processing method for the component.
    * This is the custom processing method and can be overloaded by 
    * the component.
-   * @param evtData       event data structure
-   * @param trigData     trigger data structure
-   * @param outputPtr    pointer to target buffer
-   * @param size         <i>input</i>: size of target buffer
+   * @param [in] evtData       event data structure
+   * @param [in] trigData        trigger data structure
+   * @param [in] outputPtr       pointer to target buffer
+   * @param [in,out] size        <i>input</i>: size of target buffer
    *                     <i>output</i>:size of produced data
-   * @param outputBlocks  list to receive output block descriptors
+   * @param [in] outputBlocks  list to receive output block descriptors
    * @return neg. error code if failed
    */
   virtual int GetEvent( const AliHLTComponentEventData& evtData,
                AliHLTComponentTriggerData& trigData,
                AliHLTUInt8_t* outputPtr, 
                AliHLTUInt32_t& size,
-               vector<AliHLTComponentBlockData>& outputBlocks );
+               AliHLTComponentBlockDataList& outputBlocks );
 
   /**
    * The high-level data processing method.
@@ -103,6 +97,8 @@ class AliHLTDataSource : public AliHLTComponent {
    */
   virtual int GetEvent( const AliHLTComponentEventData& evtData, AliHLTComponentTriggerData& trigData);
 
-  ClassDef(AliHLTDataSource, 1)
+private:
+
+  ClassDef(AliHLTDataSource, 3)
 };
 #endif