3 #ifndef ALIHLT_C_COMPONENT_WARAPPERINTERFACE_H
4 #define ALIHLT_C_COMPONENT_WARAPPERINTERFACE_H
5 //* This file is property of and copyright by the ALICE HLT Project *
6 //* ALICE Experiment at CERN, All rights reserved. *
7 //* See cxx source for full Copyright notice *
9 /** @file AliHLT_C_Component_WrapperInterface.h
10 @author Matthias Richter, Timm Steinbeck
12 @brief Pure C interface to the AliRoot HLT component handler
13 @note Utilized by the HLT Online (PubSub) framework
17 * @defgroup alihlt_wrapper_interface_deprecated First version of the HLT wrapper
19 * This is the first version of the wrapper interface and became deprecated in
20 * July 2008. See @ref alihlt_wrapper_interface for current interface
21 * description. The interface is fixed and can not be extended.
22 * @ingroup alihlt_wrapper_interface
25 #include <AliHLTDataTypes.h>
27 * The names have been changed for Aliroot's coding conventions sake
28 * The old names are defined for backward compatibility with the
29 * PublisherSubscriber framework
31 typedef AliHLTComponentLogSeverity AliHLTComponent_LogSeverity;
32 typedef AliHLTComponentEventData AliHLTComponent_EventData;
33 typedef AliHLTComponentShmData AliHLTComponent_ShmData;
34 typedef AliHLTComponentDataType AliHLTComponent_DataType;
35 typedef AliHLTComponentBlockData AliHLTComponent_BlockData;
36 typedef AliHLTComponentTriggerData AliHLTComponent_TriggerData;
37 typedef AliHLTComponentEventDoneData AliHLTComponent_EventDoneData;
38 const AliHLTUInt32_t gkAliHLTComponent_InvalidShmType = gkAliHLTComponentInvalidShmType;
39 const AliHLTUInt64_t gkAliHLTComponent_InvalidShmID = gkAliHLTComponentInvalidShmID;
47 * @ingroup alihlt_wrapper_interface_deprecated
49 int AliHLT_C_Component_InitSystem( AliHLTComponentEnvironment* environ );
53 * @ingroup alihlt_wrapper_interface_deprecated
55 int AliHLT_C_Component_DeinitSystem();
59 * @ingroup alihlt_wrapper_interface_deprecated
61 int AliHLT_C_Component_LoadLibrary( const char* libraryPath );
65 * @ingroup alihlt_wrapper_interface_deprecated
67 int AliHLT_C_Component_UnloadLibrary( const char* libraryPath );
71 * @ingroup alihlt_wrapper_interface_deprecated
73 int AliHLT_C_CreateComponent( const char* componentType, void* environ_param, int argc, const char** argv, AliHLTComponentHandle* handle );
77 * @ingroup alihlt_wrapper_interface_deprecated
79 void AliHLT_C_DestroyComponent( AliHLTComponentHandle );
83 * @ingroup alihlt_wrapper_interface_deprecated
85 int AliHLT_C_SetRunDescription(const AliHLTRunDesc* desc, const char* runType);
89 * @ingroup alihlt_wrapper_interface_deprecated
91 int AliHLT_C_ProcessEvent( AliHLTComponentHandle handle, const AliHLTComponent_EventData* evtData, const AliHLTComponent_BlockData* blocks,
92 AliHLTComponent_TriggerData* trigData, AliHLTUInt8_t* outputPtr,
93 AliHLTUInt32_t* size, AliHLTUInt32_t* outputBlockCnt,
94 AliHLTComponent_BlockData** outputBlocks,
95 AliHLTComponent_EventDoneData** edd );
99 * @ingroup alihlt_wrapper_interface_deprecated
101 int AliHLT_C_GetOutputDataType( AliHLTComponentHandle, AliHLTComponent_DataType* dataType );
105 * @ingroup alihlt_wrapper_interface_deprecated
107 int AliHLT_C_GetOutputSize( AliHLTComponentHandle, unsigned long* constBase, double* inputMultiplier );
113 #endif //ALIHLT_C_COMPONENT_WARAPPERINTERFACE_H