/** @file AliHLTCompAgent.cxx
@author Matthias Richter
@date
- @brief Agent of the libHLTsim library
+ @brief Agent of the libAliHLTComp library
*/
// see header file for class documentation
#include <cassert>
#include <cerrno>
#include "AliHLTCompAgent.h"
-#include "AliHLTConfiguration.h"
// header files of library components
-// ....
+#include "AliHLTCOMPHuffmanAltroComponent.h"
+#include "AliHLTCOMPHuffmanAltroCalibComponent.h"
+
+// header file of the module preprocessor
+#include "AliHLTCompPreprocessor.h"
/** global instance for agent registration */
AliHLTCompAgent gAliHLTCompAgent;
ClassImp(AliHLTCompAgent)
AliHLTCompAgent::AliHLTCompAgent()
+ :
+ AliHLTModuleAgent("Comp")
{
// see header file for class documentation
// or
const char* AliHLTCompAgent::GetRequiredComponentLibraries() const
{
// see header file for class documentation
+
+ // libAliHLTUtil.so for AliRawReaderPublisher
+ //return "libAliHLTUtil.so";
return NULL;
}
// see header file for class documentation
assert(pHandler);
if (!pHandler) return -EINVAL;
- //pHandler->AddComponent(new ...);
+ // use fCompressionSwitch = true for decompressed inputtype (i.e. compressed output)
+ pHandler->AddComponent(new AliHLTCOMPHuffmanAltroComponent(true));
+ // use fCompressionSwitch = false for compressed inputtype (i.e. decompressed output)
+ pHandler->AddComponent(new AliHLTCOMPHuffmanAltroComponent(false));
+ pHandler->AddComponent(new AliHLTCOMPHuffmanAltroCalibComponent);
+
return 0;
}
+
+AliHLTModulePreprocessor* AliHLTCompAgent::GetPreprocessor()
+{
+ // see header file for class documentation
+ return new AliHLTCompPreprocessor;
+}