AliHLTDataSource::AliHLTDataSource()
{
+ // see header file for class documentation
+ // or
+ // refer to README to build package
+ // or
+ // visit http://web.ift.uib.no/~kjeks/doc/alice-hlt
}
AliHLTDataSource::~AliHLTDataSource()
{
+ // see header file for class documentation
}
-int AliHLTDataSource::ProcessEvent( const AliHLTComponentEventData& evtData,
+void AliHLTDataSource::GetInputDataTypes( vector<AliHLTComponentDataType>& list)
+{
+ // see header file for class documentation
+ list.clear(); // there are no input data types
+}
+
+
+int AliHLTDataSource::DoProcessing( const AliHLTComponentEventData& evtData,
const AliHLTComponentBlockData* blocks,
AliHLTComponentTriggerData& trigData,
AliHLTUInt8_t* outputPtr,
AliHLTUInt32_t& size,
- AliHLTUInt32_t& outputBlockCnt,
- AliHLTComponentBlockData*& outputBlocks,
+ vector<AliHLTComponentBlockData>& outputBlocks,
AliHLTComponentEventDoneData*& edd )
{
+ // see header file for class documentation
int iResult=0;
if (blocks) {
// this is currently just to get rid of the warning "unused parameter"
}
- vector<AliHLTComponentBlockData> blockData;
if (evtData.fBlockCnt > 0) {
- HLTWarning("Data source component skips imput data blocks");
- }
- iResult=GetEvent(evtData, trigData, outputPtr, size, blockData);
- if (iResult>=0) {
- iResult=MakeOutputDataBlockList(blockData, &outputBlockCnt, &outputBlocks);
+ HLTWarning("Data source component skips input data blocks");
}
+ iResult=GetEvent(evtData, trigData, outputPtr, size, outputBlocks);
+ HLTDebug("component %s (%p) GetEvent finished (%d)", GetComponentID(), this, iResult);
edd = NULL;
return iResult;
}
+
+int AliHLTDataSource::GetEvent( const AliHLTComponentEventData& evtData,
+ AliHLTComponentTriggerData& trigData,
+ AliHLTUInt8_t* outputPtr,
+ AliHLTUInt32_t& size,
+ vector<AliHLTComponentBlockData>& outputBlocks )
+{
+ // we just forward to the high level method, all other parameters already
+ // have been stored internally
+ return GetEvent(evtData, trigData);
+}
+
+int AliHLTDataSource::GetEvent( const AliHLTComponentEventData& evtData, AliHLTComponentTriggerData& trigData)
+{
+ HLTFatal("no processing method implemented");
+ return -ENOSYS;
+}