return GetFirstInputBlock(dt);
}
-const AliHLTComponentBlockData* AliHLTComponent::GetInputBlock(int index)
+const AliHLTComponentBlockData* AliHLTComponent::GetInputBlock(int index) const
{
// see header file for function documentation
ALIHLTCOMPONENT_BASE_STOPWATCH();
* \em Note: THE BLOCK DESCRIPTOR MUST NOT BE DELETED by the caller.
* @return pointer to AliHLTComponentBlockData, NULL if index out of range
*/
- const AliHLTComponentBlockData* GetInputBlock(int index);
+ const AliHLTComponentBlockData* GetInputBlock(int index) const;
/**
* Get the next block of a specific data type from the input data.