Added the DataType2Text function to convert a datatype structure into
[u/mrichter/AliRoot.git] / HLT / BASE / AliHLTComponent.h
index 62ab2df00f728bec56a5f1b1b325a96551fb5b8d..e10ca1e3a1e529e174741fe418058d0192b65bf8 100644 (file)
@@ -90,11 +90,12 @@ class AliHLTComponent : public AliHLTLogging {
   }
 
   int MakeOutputDataBlockList( const vector<AliHLTComponent_BlockData>& blocks, AliHLTUInt32_t* blockCount,
-                              AliHLTComponent_BlockData** outputBlocks ) {
-    if (fEnvironment.fMakeOutputDataBlockListFunc)
-      return (*fEnvironment.fMakeOutputDataBlockListFunc)(fEnvironment.fParam, blocks, blockCount, outputBlocks );
-    return -ENOSYS;
-  }
+                              AliHLTComponent_BlockData** outputBlocks );
+/*  { */
+/*     if (fEnvironment.fMakeOutputDataBlockListFunc) */
+/*       return (*fEnvironment.fMakeOutputDataBlockListFunc)(fEnvironment.fParam, blocks, blockCount, outputBlocks ); */
+/*     return -ENOSYS; */
+/*   } */
 
   int GetEventDoneData( unsigned long size, AliHLTComponent_EventDoneData** edd ) {
     if (fEnvironment.fGetEventDoneDataFunc)
@@ -103,6 +104,8 @@ class AliHLTComponent : public AliHLTLogging {
   }
 
 
+  void DataType2Text( const AliHLTComponent_DataType& type, char output[14] );
+
  private:
   static AliHLTComponentHandler* fpComponentHandler;
   AliHLTComponentEnvironment fEnvironment;