Added a dummy component into the sample library.
[u/mrichter/AliRoot.git] / HLT / BASE / AliHLTProcessor.cxx
index 53b3863..6b1a778 100644 (file)
@@ -54,18 +54,19 @@ int AliHLTProcessor::Deinit()
   return iResult;
 }
 
-int AliHLTProcessor::ProcessEvent( AliHLTComponent_EventData evtData, AliHLTComponent_BlockData* blocks, 
-                           AliHLTComponent_TriggerData trigData, AliHLTUInt8_t* outputPtr, 
-                           AliHLTUInt32_t* size, AliHLTUInt32_t* outputBlockCnt, 
-                           AliHLTComponent_BlockData** outputBlocks,
-                           AliHLTComponent_EventDoneData** edd )
+int AliHLTProcessor::ProcessEvent( const AliHLTComponent_EventData& evtData, const AliHLTComponent_BlockData* blocks, 
+                           AliHLTComponent_TriggerData& trigData, AliHLTUInt8_t* outputPtr, 
+                           AliHLTUInt32_t& size, AliHLTUInt32_t& outputBlockCnt, 
+                           AliHLTComponent_BlockData*& outputBlocks,
+                           AliHLTComponent_EventDoneData*& edd )
 {
   int iResult=0;
   vector<AliHLTComponent_BlockData> blockData;
   iResult=DoEvent(evtData, blocks, trigData, outputPtr, size, blockData);
   if (iResult>=0) {
-    iResult=MakeOutputDataBlockList(blockData, outputBlockCnt, outputBlocks);
+    iResult=MakeOutputDataBlockList(blockData, &outputBlockCnt, &outputBlocks);
   }
+  edd = NULL;
   return iResult;
 }