ROOT logo
AliRoot » HLT » BASE » AliHLTConfigurationHandler

class AliHLTConfigurationHandler: public AliHLTLogging

Function Members (Methods)

public:
AliHLTConfigurationHandler()
virtual~AliHLTConfigurationHandler()
intActivate()
static intAddSubstitution(const char* componentId, const AliHLTConfiguration& subst)
static intAddSubstitution(const AliHLTConfiguration& conf, const AliHLTConfiguration& subst)
static const char*AliHLTLogging::BuildLogString(const char* format, va_list& ap, bool bAppend = false)
intAliHLTLogging::CheckFilter(AliHLTComponentLogSeverity severity) const
intAliHLTLogging::CheckGroup(const char* originClass) const
static TClass*Class()
voidClearScheduledRegistrations()
intCreateConfiguration(const char* id, const char* component, const char* sources, const char* arguments)
static AliHLTConfigurationHandler*CreateHandler()
intDeactivate(bool schedule = false)
intDestroy()
AliHLTConfiguration*FindConfiguration(const char* id)
static const AliHLTConfiguration*FindSubstitution(const AliHLTConfiguration& conf)
static AliHLTComponentLogSeverityAliHLTLogging::GetGlobalLoggingLevel()
const char*AliHLTLogging::GetKeyword() const
static AliHLTComponentLogSeverityAliHLTLogging::GetLocalLoggingDefault()
AliHLTComponentLogSeverityAliHLTLogging::GetLocalLoggingLevel()
virtual void*AliHLTLogging::GetParameter() const
static intAliHLTLogging::Init(AliHLTfctLogging pFun)
static intAliHLTLogging::InitAliLogFunc(AliHLTComponentHandler* pHandler)
static intAliHLTLogging::InitAliLogTrap(AliHLTComponentHandler* pHandler)
static AliHLTConfigurationHandler*Instance()
virtual TClass*IsA() const
boolIsActive() const
boolIsScheduling() const
intAliHLTLogging::Logging(AliHLTComponentLogSeverity severity, const char* origin, const char* keyword, const char* message)
virtual intAliHLTLogging::LoggingVarargs(AliHLTComponentLogSeverity severity, const char* originClass, const char* originFunc, const char* file, int line) const
static intAliHLTLogging::Message(void* param, AliHLTComponentLogSeverity severity, const char* origin, const char* keyword, const char* message)
static intMissedRegistration(const char* name = 0)
AliHLTLogging&AliHLTLogging::operator=(const AliHLTLogging&)
voidPrint(const char* option = "")
voidPrintConfigurations()
intRegisterConfiguration(AliHLTConfiguration* pConf)
intRemoveConfiguration(AliHLTConfiguration* pConf)
intRemoveConfiguration(const char* id)
intAliHLTLogging::SendMessage(AliHLTComponentLogSeverity severity, const char* originClass, const char* originFunc, const char* file, int line, const char* message) const
static intAliHLTLogging::SetBlackList(const char* classnames)
voidAliHLTLogging::SetDefaultKeyword(const char* keyword)
static voidAliHLTLogging::SetGlobalLoggingLevel(AliHLTComponentLogSeverity level)
const char*AliHLTLogging::SetKeyword(const char* keyword)
static voidAliHLTLogging::SetLocalLoggingDefault(AliHLTComponentLogSeverity level)
virtual voidAliHLTLogging::SetLocalLoggingLevel(AliHLTComponentLogSeverity level)
static const char*AliHLTLogging::SetLogString(const void* p, const char* pfmt, const char* format)
static intAliHLTLogging::SetWhiteList(const char* classnames)
virtual voidShowMembers(TMemberInspector&)
virtual voidStreamer(TBuffer&)
voidStreamerNVirtual(TBuffer& ClassDef_StreamerNVirtual_b)
voidAliHLTLogging::SwitchAliLog(int sw)

Data Members

public:
enum { kInactive
kScheduling
};
public:
static ostringstreamAliHLTLogging::fgLogstr! transient
protected:
static void*AliHLTLogging::fgAliLoggingFunc! transient
private:
unsigned intfFlags! transient
TListfgListConfigurationssee above
TListfgListScheduledRegistrationssee above
static intfgNofInstances!transient
static AliHLTConfigurationHandler*fgpInstance!transient
static TMap*fgpSubstitutions!transient

Class Charts

Inheritance Chart:
AliHLTLogging
AliHLTConfigurationHandler

Function documentation

AliHLTConfigurationHandler()
 constructor

 Global Handling of HLT configurations.

 This class implements the global handling of @ref AliHLTConfiguration objects.
 It is a list of all configuration descriptors currently available in the system.
 Each @ref AliHLTConfiguration object is registered automatically with the
 handler and put into the list.
~AliHLTConfigurationHandler()
 destructor
AliHLTConfigurationHandler* CreateHandler()
 create global handler instance
int Destroy()
 destroy instance
int RegisterConfiguration(AliHLTConfiguration* pConf)
 register a configuration
int CreateConfiguration(const char* id, const char* component, const char* sources, const char* arguments)
 create configuration
void PrintConfigurations()
 print information
void Print(const char* option = "")
 print info
int RemoveConfiguration(const char* id)
 remove configuration from registry
int RemoveConfiguration(AliHLTConfiguration* pConf)
 remove configuration from registry
AliHLTConfiguration* FindConfiguration(const char* id)
 find configuration by id
int Deactivate(bool schedule = false)
 deactivate handler
int Activate()
 activate handler
int MissedRegistration(const char* name = 0)
 indicate a failed attempt to register because of unavailable global instance
int AddSubstitution(const char* componentId, const AliHLTConfiguration& subst)
 add component substitution for components of specified id
int AddSubstitution(const AliHLTConfiguration& conf, const AliHLTConfiguration& subst)
 add component substitution for components of specified id
const AliHLTConfiguration* FindSubstitution(const AliHLTConfiguration& conf)
 find component substitution for a configuration
AliHLTConfigurationHandler* Instance()
   * Get the instance of the global singleton.
   * Does not create the global instance.

bool IsActive() const
 check if active
{return (fFlags&kInactive)==0;}
bool IsScheduling() const
 check if scheduling
{return (fFlags&kScheduling)>0;}
void ClearScheduledRegistrations()
 clear scheduled registrations