3 /**************************************************************************
4 * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
6 * Authors: Matthias Richter <Matthias.Richter@ift.uib.no> *
7 * for The ALICE Off-line Project. *
9 * Permission to use, copy, modify and distribute this software and its *
10 * documentation strictly for non-commercial purposes is hereby granted *
11 * without fee, provided that the above copyright notice appears in all *
12 * copies and that both the copyright notice and this permission notice *
13 * appear in the supporting documentation. The authors make no claims *
14 * about the suitability of this software for any purpose. It is *
15 * provided "as is" without express or implied warranty. *
16 **************************************************************************/
18 /** @file AliHLTConfiguration.cxx
19 @author Matthias Richter
21 @brief Implementation of HLT configuration handler.
29 #include "AliHLTConfiguration.h"
30 #include "AliHLTConfigurationHandler.h"
31 #include "AliHLTTask.h"
32 #include "AliHLTComponent.h"
33 #include "AliHLTComponentHandler.h"
37 /** ROOT macro for the implementation of ROOT specific class methods */
38 ClassImp(AliHLTConfiguration)
40 AliHLTConfiguration::AliHLTConfiguration()
52 fListSrcElement=fListSources.begin();
55 AliHLTConfiguration::AliHLTConfiguration(const char* id, const char* component, const char* sources, const char* arguments)
58 fComponent(component),
59 fStringSources(sources),
63 fArguments(arguments),
67 fListSrcElement=fListSources.begin();
68 if (id && component) {
69 if (fConfigurationHandler) {
70 fConfigurationHandler->RegisterConfiguration(this);
72 HLTError("no configuration handler set, abort registration");
77 AliHLTConfiguration::AliHLTConfiguration(const AliHLTConfiguration&)
91 fListSrcElement=fListSources.begin();
92 HLTFatal("copy constructor untested");
95 AliHLTConfiguration& AliHLTConfiguration::operator=(const AliHLTConfiguration&)
97 HLTFatal("assignment operator untested");
101 AliHLTConfiguration::~AliHLTConfiguration()
103 if (fConfigurationHandler) {
104 if (fConfigurationHandler->FindConfiguration(fID)!=NULL) {
105 fConfigurationHandler->RemoveConfiguration(this);
110 for (int i=0; i<fArgc; i++) {
119 /* the global configuration handler which is used to automatically register the configuration
121 AliHLTConfigurationHandler* AliHLTConfiguration::fConfigurationHandler=NULL;
123 int AliHLTConfiguration::GlobalInit(AliHLTConfigurationHandler* pHandler)
126 if (fConfigurationHandler!=NULL) {
127 fConfigurationHandler->Logging(kHLTLogWarning, "AliHLTConfiguration::GlobalInit", HLT_DEFAULT_LOG_KEYWORD, "configuration handler already initialized, overriding object %p", fConfigurationHandler);
129 fConfigurationHandler=pHandler;
133 int AliHLTConfiguration::GlobalDeinit()
136 fConfigurationHandler=NULL;
140 const char* AliHLTConfiguration::GetName() const {
143 return TObject::GetName();
146 AliHLTConfiguration* AliHLTConfiguration::GetSource(const char* id)
148 AliHLTConfiguration* pSrc=NULL;
150 // first check the current element
151 if (fListSrcElement!=fListSources.end() && strcmp(id, (*fListSrcElement)->GetName())==0) {
152 pSrc=*fListSrcElement;
156 pSrc=GetFirstSource();
158 if (strcmp(id, pSrc->GetName())==0)
160 pSrc=GetNextSource();
167 AliHLTConfiguration* AliHLTConfiguration::GetFirstSource()
169 AliHLTConfiguration* pSrc=NULL;
170 if (fNofSources>=0 || ExtractSources()) {
171 fListSrcElement=fListSources.begin();
172 if (fListSrcElement!=fListSources.end()) pSrc=*fListSrcElement;
177 AliHLTConfiguration* AliHLTConfiguration::GetNextSource()
179 AliHLTConfiguration* pSrc=NULL;
181 if (fListSrcElement!=fListSources.end() && (++fListSrcElement)!=fListSources.end())
182 pSrc=*fListSrcElement;
187 int AliHLTConfiguration::SourcesResolved(int bAuto)
190 if (fNofSources>=0 || bAuto && (iResult=ExtractSources())>=0) {
191 //HLTDebug("fNofSources=%d", fNofSources);
192 //HLTDebug("list size = %d", fListSources.size());
193 iResult=fNofSources==(int)fListSources.size();
198 int AliHLTConfiguration::InvalidateSource(AliHLTConfiguration* pConf)
202 vector<AliHLTConfiguration*>::iterator element=fListSources.begin();
203 while (element!=fListSources.end()) {
204 if (*element==pConf) {
205 fListSources.erase(element);
206 fListSrcElement=fListSources.end();
207 // there is no need to re-evaluate until there was a new configuration registered
208 // -> postpone the invalidation, its done in AliHLTConfigurationHandler::RegisterConfiguration
209 //InvalidateSources();
220 void AliHLTConfiguration::PrintStatus()
222 HLTLogKeyword("configuration status");
223 HLTMessage("status of configuration \"%s\" (%p)", GetName(), this);
224 if (fComponent) HLTMessage(" - component: \"%s\"", fComponent);
225 else HLTMessage(" - component string invalid");
226 if (fStringSources) HLTMessage(" - sources: \"%s\"", fStringSources);
227 else HLTMessage(" - no sources");
228 if (SourcesResolved(1)<=0)
229 HLTMessage(" there are unresolved sources");
230 AliHLTConfiguration* pSrc=GetFirstSource();
232 HLTMessage(" source \"%s\" (%p) resolved", pSrc->GetName(), pSrc);
233 pSrc=GetNextSource();
237 int AliHLTConfiguration::GetArguments(const char*** pArgv)
242 *pArgv=(const char**)fArgv;
250 int AliHLTConfiguration::ExtractSources()
254 if (fStringSources!=NULL) {
255 vector<char*> tgtList;
256 fListSources.clear();
257 if ((iResult=InterpreteString(fStringSources, tgtList))>=0) {
258 fNofSources=tgtList.size();
259 vector<char*>::iterator element=tgtList.begin();
260 while ((element=tgtList.begin())!=tgtList.end()) {
261 if (fConfigurationHandler) {
262 AliHLTConfiguration* pConf=fConfigurationHandler->FindConfiguration(*element);
264 HLTDebug("source \"%s\" inserted", pConf->GetName());
265 fListSources.push_back(pConf);
267 HLTError("can not find source \"%s\"", (*element));
270 } else if (iResult>=0) {
272 HLTFatal("global configuration handler not initialized, can not resolve sources");
275 tgtList.erase(element);
277 fListSrcElement=fListSources.begin();
283 int AliHLTConfiguration::ExtractArguments()
286 if (fArguments!=NULL) {
287 vector<char*> tgtList;
288 if ((iResult=InterpreteString(fArguments, tgtList))>=0) {
289 fArgc=tgtList.size();
290 //HLTDebug("found %d arguments", fArgc);
292 fArgv = new char*[fArgc];
294 vector<char*>::iterator element=tgtList.begin();
296 while (element!=tgtList.end()) {
297 //HLTDebug("assign arguments %d (%s)", i, *element);
298 fArgv[i++]=(*element);
310 int AliHLTConfiguration::InterpreteString(const char* arg, vector<char*>& argList)
314 //HLTDebug("interprete \"%s\"", arg);
318 if (arg[i]==0 || arg[i]==' ') {
320 char* pEntry= new char[i-prec+1];
322 strncpy(pEntry, &arg[prec], i-prec);
323 pEntry[i-prec]=0; // terminate string
324 //HLTDebug("create string \"%s\", insert at %d", pEntry, argList.size());
325 argList.push_back(pEntry);
330 } else if (prec==-1) prec=i;
331 } while (arg[i++]!=0 && iResult>=0);
338 int AliHLTConfiguration::FollowDependency(const char* id, TList* pTgtList)
342 AliHLTConfiguration* pDep=NULL;
343 if ((pDep=GetSource(id))!=NULL) {
344 if (pTgtList) pTgtList->Add(pDep);
347 pDep=GetFirstSource();
348 while (pDep && iResult==0) {
349 if ((iResult=pDep->FollowDependency(id, pTgtList))>0) {
350 if (pTgtList) pTgtList->AddFirst(pDep);
353 pDep=GetNextSource();
362 ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
364 /** ROOT macro for the implementation of ROOT specific class methods */
367 AliHLTTask::AliHLTTask()
369 fpConfiguration(NULL),
374 fpBlockDataArray(NULL),
375 fBlockDataArraySize(0)
379 AliHLTTask::AliHLTTask(AliHLTConfiguration* pConf)
381 fpConfiguration(pConf),
386 fpBlockDataArray(NULL),
387 fBlockDataArraySize(0)
391 AliHLTTask::AliHLTTask(const AliHLTTask&)
395 fpConfiguration(NULL),
400 fpBlockDataArray(NULL),
401 fBlockDataArraySize(0)
403 HLTFatal("copy constructor untested");
406 AliHLTTask& AliHLTTask::operator=(const AliHLTTask&)
408 HLTFatal("assignment operator untested");
412 AliHLTTask::~AliHLTTask()
414 if (fpComponent) delete fpComponent;
416 if (fpBlockDataArray) delete[] fpBlockDataArray;
417 fpBlockDataArray=NULL;
420 int AliHLTTask::Init(AliHLTConfiguration* pConf, AliHLTComponentHandler* pCH)
423 if (fpConfiguration!=NULL && fpConfiguration!=pConf) {
424 HLTWarning("overriding existing reference to configuration object %p (%s) by %p",
425 fpConfiguration, GetName(), pConf);
427 if (pConf!=NULL) fpConfiguration=pConf;
428 if (fpConfiguration) {
431 const char** argv=NULL;
432 if ((iResult=fpConfiguration->GetArguments(&argv))>=0) {
433 argc=iResult; // just to make it clear
434 // TODO: we have to think about the optional environment parameter,
435 // currently just set to NULL.
436 iResult=pCH->CreateComponent(fpConfiguration->GetComponentID(), NULL, argc, argv, fpComponent);
439 HLTError("can not find component \"%s\"", fpConfiguration->GetComponentID());
443 HLTError("component handler instance needed for task initialization");
447 HLTError("configuration object instance needed for task initialization");
453 int AliHLTTask::Deinit()
456 AliHLTComponent* pComponent=GetComponent();
459 pComponent->Deinit();
462 HLTWarning("task %s (%p) doesn't seem to be in initialized", GetName(), this);
467 const char *AliHLTTask::GetName() const
470 return fpConfiguration->GetName();
471 return TObject::GetName();
474 AliHLTConfiguration* AliHLTTask::GetConf() const
476 return fpConfiguration;
479 AliHLTComponent* AliHLTTask::GetComponent() const
484 AliHLTTask* AliHLTTask::FindDependency(const char* id)
486 AliHLTTask* pTask=NULL;
488 pTask=(AliHLTTask*)fListDependencies.FindObject(id);
493 int AliHLTTask::FollowDependency(const char* id, TList* pTgtList)
497 AliHLTTask* pDep=NULL;
498 if ((pDep=(AliHLTTask*)fListDependencies.FindObject(id))!=NULL) {
499 if (pTgtList) pTgtList->Add(pDep);
502 TObjLink* lnk=fListDependencies.FirstLink();
503 while (lnk && iResult==0) {
504 pDep=(AliHLTTask*)lnk->GetObject();
506 if ((iResult=pDep->FollowDependency(id, pTgtList))>0) {
507 if (pTgtList) pTgtList->AddFirst(pDep);
522 void AliHLTTask::PrintDependencyTree(const char* id, int bFromConfiguration)
524 HLTLogKeyword("task dependencies");
527 if (bFromConfiguration) {
529 iResult=fpConfiguration->FollowDependency(id, &tgtList);
533 iResult=FollowDependency(id, &tgtList);
535 HLTMessage(" task \"%s\": dependency level %d ", GetName(), iResult);
536 TObjLink* lnk=tgtList.FirstLink();
538 char* pSpace = new char[iResult+1];
540 memset(pSpace, 32, iResult);
543 TObject* obj=lnk->GetObject();
544 HLTMessage(" %s^-- %s ", &pSpace[i--], obj->GetName());
554 int AliHLTTask::SetDependency(AliHLTTask* pDep)
558 if (FindDependency(pDep->GetName())==NULL) {
559 fListDependencies.Add(pDep);
569 int AliHLTTask::CheckDependencies()
572 AliHLTConfiguration* pSrc=fpConfiguration->GetFirstSource();
574 if (FindDependency(pSrc->GetName())==NULL) {
575 //HLTDebug("dependency \"%s\" unresolved", pSrc->GetName());
578 pSrc=fpConfiguration->GetNextSource();
584 int AliHLTTask::Depends(AliHLTTask* pTask)
588 if (fpConfiguration) {
589 iResult=fpConfiguration->GetSource(pTask->GetName())!=NULL;
591 //HLTDebug("task \"%s\" depends on \"%s\"", GetName(), pTask->GetName());
593 //HLTDebug("task \"%s\" independend of \"%s\"", GetName(), pTask->GetName());
604 AliHLTTask* AliHLTTask::FindTarget(const char* id)
606 AliHLTTask* pTask=NULL;
608 pTask=(AliHLTTask*)fListTargets.FindObject(id);
613 int AliHLTTask::SetTarget(AliHLTTask* pTgt)
617 if (FindTarget(pTgt->GetName())==NULL) {
618 fListTargets.Add(pTgt);
628 int AliHLTTask::StartRun()
631 int iNofInputDataBlocks=0;
632 AliHLTComponent* pComponent=GetComponent();
634 // determine the number of input data blocks provided from the source tasks
635 TObjLink* lnk=fListDependencies.FirstLink();
636 while (lnk && iResult>=0) {
637 AliHLTTask* pSrcTask=(AliHLTTask*)lnk->GetObject();
639 if ((iResult=pSrcTask->GetNofMatchingDataTypes(this))>0) {
640 iNofInputDataBlocks+=iResult;
641 } else if (iResult==0) {
642 HLTWarning("source task %s (%p) does not provide any matching data type for task %s (%p)", pSrcTask->GetName(), pSrcTask, GetName(), this);
644 HLTError("task %s (%p): error getting matching data types for source task %s (%p)", GetName(), this, pSrcTask->GetName(), pSrcTask);
651 if (fpBlockDataArray) {
652 HLTWarning("block data array for task %s (%p) was not cleaned", GetName(), this);
653 delete [] fpBlockDataArray;
654 fpBlockDataArray=NULL;
655 fBlockDataArraySize=0;
659 // the initialization of the component is done by the ComponentHandler after creation
661 //iResult=Init( AliHLTComponentEnvironment* environ, void* environ_param, int argc, const char** argv );
663 // allocate internal task variables for bookkeeping aso.
664 fpBlockDataArray=new AliHLTComponentBlockData[iNofInputDataBlocks];
665 if (fpBlockDataArray) {
666 fBlockDataArraySize=iNofInputDataBlocks;
668 HLTError("memory allocation failed");
673 HLTError("task %s (%p) does not have a component", GetName(), this);
679 int AliHLTTask::EndRun()
682 if (fpBlockDataArray) {
683 fBlockDataArraySize=0;
684 delete [] fpBlockDataArray;
687 HLTWarning("task %s (%p) doesn't seem to be in running mode", GetName(), this);
692 int AliHLTTask::ProcessTask()
695 AliHLTComponent* pComponent=GetComponent();
696 if (pComponent && fpBlockDataArray) {
697 int iSourceDataBlock=0;
698 int iInputDataVolume=0;
700 int iNofInputDataBlocks=0;
701 /* TODO: the assumption of only one output data type per component is the current constraint
702 * later it should be checked how many output blocks of the source component match the input
703 * data types of the consumer component (GetNofMatchingDataBlocks). If one assumes that a
704 * certain output block is always been produced, the initialization could be done in the
705 * StartRun. Otherwise the fpBlockDataArray has to be adapted each time.
707 iNofInputDataBlocks=fListDependencies.GetSize(); // one block per source
708 // is not been used since the allocation was done in StartRun, but check the size
709 if (iNofInputDataBlocks>fBlockDataArraySize) {
710 HLTError("block data array too small");
713 AliHLTTask* pSrcTask=NULL;
714 TList subscribedTaskList;
715 TObjLink* lnk=fListDependencies.FirstLink();
717 // subscribe to all source tasks
718 while (lnk && iResult>=0) {
719 pSrcTask=(AliHLTTask*)lnk->GetObject();
721 if (pSrcTask->GetNofMatchingDataBlocks(this)<fBlockDataArraySize-iSourceDataBlock) {
722 if ((iResult=pSrcTask->Subscribe(this, &fpBlockDataArray[iSourceDataBlock],fBlockDataArraySize-iSourceDataBlock))>0) {
723 for (int i=0; i<iResult; i++) {
724 iInputDataVolume+=fpBlockDataArray[i+iSourceDataBlock].fSize;
725 // put the source task as many times into the list as it provides data blocks
726 // makes the bookkeeping for the data release easier
727 subscribedTaskList.Add(pSrcTask);
729 iSourceDataBlock+=iResult;
730 HLTDebug("Task %s (%p) successfully subscribed to %d data blocks of task %s (%p)", GetName(), this, iResult, pSrcTask->GetName(), pSrcTask);
733 HLTError("Task %s (%p): subscription to task %s (%p) failed with error %d", GetName(), this, pSrcTask->GetName(), pSrcTask, iResult);
737 HLTFatal("Task %s (%p): too little space in data block array for subscription to task %s (%p)", GetName(), this, pSrcTask->GetName(), pSrcTask);
741 HLTFatal("fatal internal error in ROOT list handling");
749 long unsigned int iConstBase=0;
750 double fInputMultiplier=0;
751 pComponent->GetOutputDataSize(iConstBase, fInputMultiplier);
752 int iOutputDataSize=int(fInputMultiplier*iInputDataVolume) + iConstBase;
753 AliHLTUInt8_t* pTgtBuffer=fpDataBuffer->GetTargetBuffer(iOutputDataSize);
754 AliHLTComponentEventData evtData;
755 AliHLTComponentTriggerData trigData;
756 AliHLTUInt32_t size=iOutputDataSize;
757 AliHLTUInt32_t outputBlockCnt=0;
758 AliHLTComponentBlockData* outputBlocks=NULL;
759 AliHLTComponentEventDoneData* edd;
760 if (pTgtBuffer!=NULL || iOutputDataSize==0) {
761 iResult=pComponent->ProcessEvent(evtData, fpBlockDataArray, trigData, pTgtBuffer, size, outputBlockCnt, outputBlocks, edd);
763 iResult=fpDataBuffer->SetSegments(pTgtBuffer, outputBlocks, outputBlockCnt);
769 // now release all buffers which we have subscribed to
771 lnk=subscribedTaskList.FirstLink();
773 pSrcTask=(AliHLTTask*)lnk->GetObject();
776 if ((iTempRes=pSrcTask->Release(&fpBlockDataArray[iSourceDataBlock], this))>=0) {
777 HLTDebug("Task %s (%p) successfully released task %s (%p)", GetName(), this, pSrcTask->GetName(), pSrcTask);
779 HLTError("Task %s (%p): realease of task %s (%p) failed with error %d", GetName(), this, pSrcTask->GetName(), pSrcTask, iTempRes);
782 HLTFatal("internal error in ROOT list handling");
783 if (iResult>=0) iResult=-EFAULT;
785 subscribedTaskList.Remove(lnk);
786 lnk=subscribedTaskList.FirstLink();
789 if (subscribedTaskList.GetSize()>0) {
790 HLTError("task %s (%p): could not release all data buffers", GetName(), this);
793 HLTError("internal failure: task not initialized");
799 int AliHLTTask::GetNofMatchingDataBlocks(const AliHLTTask* pConsumerTask) const
804 iResult=fpDataBuffer->FindMatchingDataBlocks(pConsumerTask->GetComponent(), NULL);
806 HLTFatal("internal data buffer missing");
815 int AliHLTTask::GetNofMatchingDataTypes(const AliHLTTask* pConsumerTask) const
819 AliHLTComponent* pComponent=GetComponent();
824 iResult=pComponent->FindMatchingDataTypes(pConsumerTask->GetComponent(), NULL);
826 HLTFatal("task initialization failed");
835 int AliHLTTask::Subscribe(const AliHLTTask* pConsumerTask, AliHLTComponentBlockData* pBlockDesc, int iArraySize)
840 iResult=fpDataBuffer->Subscribe(pConsumerTask->GetComponent(), pBlockDesc, iArraySize);
842 HLTFatal("internal data buffer missing");
851 int AliHLTTask::Release(AliHLTComponentBlockData* pBlockDesc, const AliHLTTask* pConsumerTask)
854 if (pConsumerTask && pBlockDesc) {
856 iResult=fpDataBuffer->Release(pBlockDesc, pConsumerTask->GetComponent());
858 HLTFatal("internal data buffer missing");
867 /* this function is most likely depricated
868 int AliHLTTask::ClearSourceBlocks()
875 void AliHLTTask::PrintStatus()
877 HLTLogKeyword("task properties");
878 AliHLTComponent* pComponent=GetComponent();
880 HLTMessage(" component: %s (%p)", pComponent->GetComponentID(), pComponent);
882 HLTMessage(" no component set!");
884 if (fpConfiguration) {
885 AliHLTConfiguration* pSrc=fpConfiguration->GetFirstSource();
887 const char* pQualifier="unresolved";
888 if (FindDependency(pSrc->GetName()))
889 pQualifier="resolved";
890 HLTMessage(" source: %s (%s)", pSrc->GetName(), pQualifier);
891 pSrc=fpConfiguration->GetNextSource();
893 TObjLink* lnk = fListTargets.FirstLink();
895 TObject *obj = lnk->GetObject();
896 HLTMessage(" target: %s", obj->GetName());
900 HLTMessage(" task \"%s\" not initialized", GetName());
904 ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
906 TList AliHLTConfigurationHandler::fListConfigurations;
907 TList AliHLTConfigurationHandler::fListDynamicConfigurations;
909 /** ROOT macro for the implementation of ROOT specific class methods */
910 ClassImp(AliHLTConfigurationHandler)
912 AliHLTConfigurationHandler::AliHLTConfigurationHandler()
916 AliHLTConfigurationHandler::~AliHLTConfigurationHandler()
918 TObjLink* lnk=fListDynamicConfigurations.FirstLink();
920 TObject* obj=lnk->GetObject();
921 if (fListConfigurations.FindObject(obj->GetName())==NULL) {
922 HLTDebug("delete dynamic configuration \"%s\"", obj->GetName());
929 int AliHLTConfigurationHandler::RegisterConfiguration(AliHLTConfiguration* pConf)
933 if (FindConfiguration(pConf->GetName()) == NULL) {
934 fListConfigurations.Add(pConf);
935 //HLTDebug("configuration \"%s\" registered", pConf->GetName());
937 // mark all configurations with unresolved dependencies for re-evaluation
938 TObjLink* lnk=fListConfigurations.FirstLink();
940 AliHLTConfiguration* pSrc=(AliHLTConfiguration*)lnk->GetObject();
941 if (pSrc && pSrc!=pConf && pSrc->SourcesResolved()!=1) {
942 pSrc->InvalidateSources();
948 HLTWarning("configuration \"%s\" already registered", pConf->GetName());
956 int AliHLTConfigurationHandler::CreateConfiguration(const char* id, const char* component, const char* sources, const char* arguments)
959 AliHLTConfiguration* pConf= new AliHLTConfiguration(id, component, sources, arguments);
961 // the configuration will be registered automatically, if this failes the configuration
962 // is missing -> delete it
963 if (FindConfiguration(id)==NULL) {
968 fListDynamicConfigurations.Add(pConf);
971 HLTError("system error: object allocation failed");
977 void AliHLTConfigurationHandler::PrintConfigurations()
979 HLTLogKeyword("configuration listing");
980 HLTMessage("registered configurations:");
981 TObjLink *lnk = fListConfigurations.FirstLink();
983 TObject *obj = lnk->GetObject();
984 HLTMessage(" %s", obj->GetName());
989 int AliHLTConfigurationHandler::RemoveConfiguration(const char* id)
993 AliHLTConfiguration* pConf=NULL;
994 if ((pConf=FindConfiguration(id))!=NULL) {
995 iResult=RemoveConfiguration(pConf);
997 HLTWarning("can not find configuration \"%s\"", id);
1006 int AliHLTConfigurationHandler::RemoveConfiguration(AliHLTConfiguration* pConf)
1010 // remove the configuration from the list
1011 fListConfigurations.Remove(pConf);
1012 // remove cross links in the remaining configurations
1013 TObjLink* lnk=fListConfigurations.FirstLink();
1014 while (lnk && iResult>=0) {
1015 AliHLTConfiguration* pRem=(AliHLTConfiguration*)lnk->GetObject();
1017 pRem->InvalidateSource(pConf);
1027 AliHLTConfiguration* AliHLTConfigurationHandler::FindConfiguration(const char* id)
1029 AliHLTConfiguration* pConf=NULL;
1031 pConf=(AliHLTConfiguration*)fListConfigurations.FindObject(id);