#include "AliHLTModuleAgent.h"
+class AliHLTOUTHandler;
+
/**
* @class AliHLTAgentUtil
* This is the agent for the AliHLTUtil library.
* AliHLTConfigurationHandler. The agent can adapt the configurations
* to be registered to the current AliRoot setup by checking the
* runloader.
- * @param handler the configuration handler
- * @param runloader AliRoot runloader
+ * @param handler [in] the configuration handler
+ * @param rawReader [in] AliRoot RawReader instance
+ * @param runloader [in] AliRoot runloader
* @return neg. error code if failed
*/
int CreateConfigurations(AliHLTConfigurationHandler* handler,
+ AliRawReader* rawReader=NULL,
AliRunLoader* runloader=NULL) const;
/**
* described by the last configuration(s) in the chain.
* The agent can adapt the configurations to be registered to the current
* AliRoot setup by checking the runloader.
- * @param runloader AliRoot runloader
- * @return number of configurations, neg. error code if failed
+ * @param rawReader [in] AliRoot RawReader instance
+ * @param runloader [in] AliRoot runloader
+ * @return string containing the top configurations separated by blanks
*/
- const char* GetLocalRecConfigurations(AliRunLoader* runloader=NULL) const;
-
+ const char* GetReconstructionChains(AliRawReader* rawReader=NULL,
+ AliRunLoader* runloader=NULL) const;
/**
* Component libraries which the configurations of this agent depend on.
* @return list of component libraries as a blank-separated string.
*/
const char* GetRequiredComponentLibraries() const;
+ /**
+ * Register components for the AliHLTUtil library.
+ * @param pHandler [in] instance of the component handler
+ */
+ int RegisterComponents(AliHLTComponentHandler* pHandler) const;
+
+ int GetHandlerDescription(AliHLTComponentDataType dt,
+ AliHLTUInt32_t spec,
+ AliHLTOUTHandlerDesc& desc) const;
+
+ AliHLTOUTHandler* GetOutputHandler(AliHLTComponentDataType dt, AliHLTUInt32_t spec);
+
+ int DeleteOutputHandler(AliHLTOUTHandler* pInstance);
+
protected:
private:
- ClassDef(AliHLTAgentUtil, 0);
+ /** copy constructor prohibited */
+ AliHLTAgentUtil(const AliHLTAgentUtil&);
+ /** assignment operator prohibited */
+ AliHLTAgentUtil& operator=(const AliHLTAgentUtil&);
+
+ /** the one and only handler for compstat blocks */
+ AliHLTOUTHandler* fCompStatDataHandler; //!transient
+
+ ClassDef(AliHLTAgentUtil, 1);
};
#endif