//-*- 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"
AliHLTComponentTriggerData& trigData,
AliHLTUInt8_t* outputPtr,
AliHLTUInt32_t& size,
- vector<AliHLTComponentBlockData>& outputBlocks,
+ AliHLTComponentBlockDataList& outputBlocks,
AliHLTComponentEventDoneData*& edd );
// Information member functions for registration.
* 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.
*/
virtual int GetEvent( const AliHLTComponentEventData& evtData, AliHLTComponentTriggerData& trigData);
- ClassDef(AliHLTDataSource, 1)
+private:
+
+ ClassDef(AliHLTDataSource, 3)
};
#endif