This file is property of and copyright by the
ALICE Experiment at CERN, All rights reserved.
Primary Authors: Matthias Richter <Matthias.Richter@ift.uib.no>
Timm Steinbeck <timm@kip.uni-heidelberg.de>
for The ALICE HLT Project.
Permission to use, copy, modify and distribute this software and its
documentation strictly for non-commercial purposes is hereby granted
without fee, provided that the above copyright notice appears in all
copies and that both the copyright notice and this permission notice
appear in the supporting documentation. The authors make no claims
about the suitability of this software for any purpose. It is
provided "as is" without express or implied warranty.
AliHLTComponentHandler() | |
AliHLTComponentHandler(AliHLTAnalysisEnvironment* pEnv) | |
virtual | ~AliHLTComponentHandler() |
int | AddComponent(AliHLTComponent* pSample) |
int | AddStandardComponents() |
int | AnnounceVersion() |
static const char* | AliHLTLogging::BuildLogString(const char* format, va_list& ap, bool bAppend = false) |
int | AliHLTLogging::CheckFilter(AliHLTComponentLogSeverity severity) const |
int | AliHLTLogging::CheckGroup(const char* originClass) const |
static TClass* | Class() |
int | CreateComponent(const char* componentID, AliHLTComponent*& component) |
int | CreateComponent(const char* componentID, void* pEnvParam, AliHLTComponent*& component) |
int | CreateComponent(const char* componentID, void* pEnvParam, int argc, const char** argv, AliHLTComponent*& component) |
static AliHLTComponentHandler* | CreateHandler() |
int | DeleteOwnedComponents() |
int | DeregisterComponent(const char* componentID) |
int | Destroy() |
int | FindComponentIndex(const char* componentID) |
AliHLTfctVoid | FindSymbol(const char* library, const char* symbol) |
const AliHLTAnalysisEnvironment* | GetEnvironment() const |
static AliHLTComponentLogSeverity | AliHLTLogging::GetGlobalLoggingLevel() |
const char* | AliHLTLogging::GetKeyword() const |
static AliHLTComponentLogSeverity | AliHLTLogging::GetLocalLoggingDefault() |
AliHLTComponentLogSeverity | AliHLTLogging::GetLocalLoggingLevel() |
virtual void* | AliHLTLogging::GetParameter() const |
int | HasOutputData(const char* componentID) |
static int | AliHLTLogging::Init(AliHLTfctLogging pFun) |
static int | AliHLTLogging::InitAliLogFunc(AliHLTComponentHandler* pHandler) |
static int | AliHLTLogging::InitAliLogTrap(AliHLTComponentHandler* pHandler) |
virtual TClass* | IsA() const |
void | List() |
int | LoadLibrary(const char* libraryPath, int bActivateAgents = 1) |
int | AliHLTLogging::Logging(AliHLTComponentLogSeverity severity, const char* origin, const char* keyword, const char* message) |
virtual int | AliHLTLogging::LoggingVarargs(AliHLTComponentLogSeverity severity, const char* originClass, const char* originFunc, const char* file, int line) const |
static int | AliHLTLogging::Message(void* param, AliHLTComponentLogSeverity severity, const char* origin, const char* keyword, const char* message) |
int | RegisterComponent(AliHLTComponent* pSample) |
int | RegisterScheduledComponents() |
int | ScheduleRegister(AliHLTComponent* pSample) |
int | AliHLTLogging::SendMessage(AliHLTComponentLogSeverity severity, const char* originClass, const char* originFunc, const char* file, int line, const char* message) const |
static int | AliHLTLogging::SetBlackList(const char* classnames) |
void | AliHLTLogging::SetDefaultKeyword(const char* keyword) |
void | SetEnvironment(AliHLTAnalysisEnvironment* pEnv) |
static void | AliHLTLogging::SetGlobalLoggingLevel(AliHLTComponentLogSeverity level) |
const char* | AliHLTLogging::SetKeyword(const char* keyword) |
AliHLTComponentHandler::TLibraryMode | SetLibraryMode(AliHLTComponentHandler::TLibraryMode mode) |
static void | AliHLTLogging::SetLocalLoggingDefault(AliHLTComponentLogSeverity level) |
virtual void | AliHLTLogging::SetLocalLoggingLevel(AliHLTComponentLogSeverity level) |
static const char* | AliHLTLogging::SetLogString(const void* p, const char* pfmt, const char* format) |
int | SetRunDescription(const AliHLTRunDesc* desc, const char* runType) |
static int | AliHLTLogging::SetWhiteList(const char* classnames) |
virtual void | ShowMembers(TMemberInspector&) |
virtual void | Streamer(TBuffer&) |
void | StreamerNVirtual(TBuffer& ClassDef_StreamerNVirtual_b) |
void | AliHLTLogging::SwitchAliLog(int sw) |
int | UnloadLibrary(const char* libraryPath) |
AliHLTComponentHandler(const AliHLTComponentHandler&) | |
int | ActivateAgents(const char* library = 0, const char* blackList = 0) |
int | DeactivateAgents() const |
AliHLTComponent* | FindComponent(const char* componentID) |
AliHLTComponentHandler::AliHLTLibHandle* | FindLibrary(const char* library) |
int | InsertComponent(AliHLTComponent* pSample) |
AliHLTComponentHandler& | operator=(const AliHLTComponentHandler&) |
int | UnloadLibraries() |
int | UnloadLibrary(AliHLTComponentHandler::AliHLTLibHandle& handle) |
static ostringstream | AliHLTLogging::fgLogstr | ! transient |
static void* | AliHLTLogging::fgAliLoggingFunc | ! transient |
vector<AliHLTComponent*> | fComponentList | see above |
AliHLTAnalysisEnvironment | fEnvironment | see above |
vector<AliHLTLibHandle> | fLibraryList | see above |
AliHLTComponentHandler::TLibraryMode | fLibraryMode | see above |
vector<AliHLTComponent*> | fOwnedComponents | see above |
AliHLTRunDesc | fRunDesc | !transient |
char* | fRunType | !transient |
vector<AliHLTComponent*> | fScheduleList | see above |
static int | fgNofInstances | !transient |
static AliHLTComponentHandler* | fgpInstance | !transient |
Inheritance Chart: | |||||||||
|
see header file for class documentation or refer to README to build package or visit http://web.ift.uib.no/~kjeks/doc/alice-hlt
destroy/delete 'this', checks if 'this' pointer is the global instance, reduce the instance counter and delete if there are no instances left IMPORTANT: the object must be considered self-destroyed after the function
register a component, handler creates clone of sample
create a component
* Get the current environment.
{return &fEnvironment;}
* Set library mode. * The mode effects all loaded libraries until another mode is set. * @param mode persistent library or not * @return previous mode
* Find the ID of a component with the given output data. * @param dtype data type descriptor * @param prevType can be used to iterate if there are multiple components * with the same output data type. * @return component id const char* FindComponentType( AliHLTComponentDataType dtype, const char* prevType = NULL ) { return NULL;} * Create a component of the given name (ID). * The method tries to find a registerd component of id \em componentID and * calls the \em Spawn method of the template component. After successful * creation of a new object, the Init method is called in order to initialize * the environment and the component arguments. <br> * The environment is the same for all components, but each component can * have an additional private parameter \em pEnvParam.<br> * The component arguments consist of an array of strings and the array size * in the usual manner of the main() function. * @param componentID ID of the component to create * @param pEnvParam environment parameter for the component * @param argc number of arguments in argv * @param argv argument array like in main() * @param component reference to receive the create component instance * @return component pointer in component, neg. error code if failed
* Find a specific library among the loaded libraries. * @param library library name/path * @return pointer to AliHLTLibHandle