ROOT logo
AliRoot » HLT » BASE » AliHLTErrorGuard

class AliHLTErrorGuard: public AliHLTLogging

This file is property of and copyright by the ALICE HLT Project
ALICE Experiment at CERN, All rights reserved.

Primary Authors: Matthias Richter <Matthias.Richter@ift.uib.no>
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.

Function Members (Methods)

public:
AliHLTErrorGuard(const char* classname, const char* functionname, const char* message, const char* file = 0, int line = 0)
virtual~AliHLTErrorGuard()
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()
static AliHLTComponentLogSeverityAliHLTLogging::GetGlobalLoggingLevel()
const char*AliHLTLogging::GetKeyword() const
static AliHLTComponentLogSeverityAliHLTLogging::GetLocalLoggingDefault()
AliHLTComponentLogSeverityAliHLTLogging::GetLocalLoggingLevel()
intGetOccurrence() const
virtual void*AliHLTLogging::GetParameter() const
static intAliHLTLogging::Init(AliHLTfctLogging pFun)
static intAliHLTLogging::InitAliLogFunc(AliHLTComponentHandler* pHandler)
static intAliHLTLogging::InitAliLogTrap(AliHLTComponentHandler* pHandler)
virtual TClass*IsA() 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)
AliHLTErrorGuard&operator++()
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)
voidSetMessage(int dummy)
static intAliHLTLogging::SetWhiteList(const char* classnames)
virtual voidShowMembers(TMemberInspector&)
virtual voidStreamer(TBuffer&)
voidStreamerNVirtual(TBuffer& ClassDef_StreamerNVirtual_b)
voidAliHLTLogging::SwitchAliLog(int sw)
voidThrow(int maxoccurrence = 1, const char* format = "%s")

Data Members

public:
static ostringstreamAliHLTLogging::fgLogstr! transient
protected:
static void*AliHLTLogging::fgAliLoggingFunc! transient
private:
TStringfClass! transient
TStringfFile! transient
TStringfFunction! transient
intfLine!transient
TStringfMessage! transient
intfOccurrence!transient

Class Charts

Inheritance Chart:
AliHLTLogging
AliHLTErrorGuard

Function documentation

AliHLTErrorGuard(const char* classname, const char* functionname, const char* message, const char* file = 0, int line = 0)
 constructor
{}
void SetMessage( int dummy, ... )
 set variable message
virtual ~AliHLTErrorGuard()
 destructor
Throw(int maxoccurrence = 1, const char* format = "%s")
AliHLTErrorGuard& operator++()
 prefix increment operator
{fOccurrence++; return *this;}
int GetOccurrence() const
{return fOccurrence;}
AliHLTErrorGuard()
 standard constructor prohibited 
AliHLTErrorGuard(const AliHLTErrorGuard& )
 copy constructor prohibited 
AliHLTErrorGuard& operator=(const AliHLTErrorGuard& )
 assignment operator prohibited