ROOT » NET » NET » TSQLMonitoringWriter

class TSQLMonitoringWriter: public TVirtualMonitoringWriter

Function Members (Methods)

public:
virtual~TSQLMonitoringWriter()
voidTObject::AbstractMethod(const char* method) const
virtual voidTObject::AppendPad(Option_t* option = "")
virtual voidTObject::Browse(TBrowser* b)
static TClass*Class()
virtual const char*TObject::ClassName() const
virtual voidTNamed::Clear(Option_t* option = "")
virtual TObject*TNamed::Clone(const char* newname = "") const
virtual Int_tTNamed::Compare(const TObject* obj) const
virtual voidTNamed::Copy(TObject& named) const
virtual voidTObject::Delete(Option_t* option = "")MENU
virtual Int_tTObject::DistancetoPrimitive(Int_t px, Int_t py)
virtual voidTObject::Draw(Option_t* option = "")
virtual voidTObject::DrawClass() constMENU
virtual TObject*TObject::DrawClone(Option_t* option = "") constMENU
virtual voidTObject::Dump() constMENU
virtual voidTObject::Error(const char* method, const char* msgfmt) const
virtual voidTObject::Execute(const char* method, const char* params, Int_t* error = 0)
virtual voidTObject::Execute(TMethod* method, TObjArray* params, Int_t* error = 0)
virtual voidTObject::ExecuteEvent(Int_t event, Int_t px, Int_t py)
virtual voidTObject::Fatal(const char* method, const char* msgfmt) const
virtual voidTNamed::FillBuffer(char*& buffer)
virtual TObject*TObject::FindObject(const char* name) const
virtual TObject*TObject::FindObject(const TObject* obj) const
virtual Option_t*TObject::GetDrawOption() const
static Long_tTObject::GetDtorOnly()
virtual const char*TObject::GetIconName() const
virtual const char*TNamed::GetName() const
virtual char*TObject::GetObjectInfo(Int_t px, Int_t py) const
static Bool_tTObject::GetObjectStat()
virtual Option_t*TObject::GetOption() const
virtual const char*TNamed::GetTitle() const
virtual UInt_tTObject::GetUniqueID() const
virtual Bool_tTObject::HandleTimer(TTimer* timer)
virtual ULong_tTNamed::Hash() const
virtual voidTObject::Info(const char* method, const char* msgfmt) const
virtual Bool_tTObject::InheritsFrom(const char* classname) const
virtual Bool_tTObject::InheritsFrom(const TClass* cl) const
virtual voidTObject::Inspect() constMENU
voidTObject::InvertBit(UInt_t f)
virtual TClass*IsA() const
virtual Bool_tTObject::IsEqual(const TObject* obj) const
virtual Bool_tTObject::IsFolder() const
Bool_tTObject::IsOnHeap() const
virtual Bool_tTNamed::IsSortable() const
Bool_tTObject::IsZombie() const
virtual voidTNamed::ls(Option_t* option = "") const
voidTObject::MayNotUse(const char* method) const
virtual Bool_tTObject::Notify()
voidTObject::Obsolete(const char* method, const char* asOfVers, const char* removedFromVers) const
voidTObject::operator delete(void* ptr)
voidTObject::operator delete(void* ptr, void* vp)
voidTObject::operator delete[](void* ptr)
voidTObject::operator delete[](void* ptr, void* vp)
void*TObject::operator new(size_t sz)
void*TObject::operator new(size_t sz, void* vp)
void*TObject::operator new[](size_t sz)
void*TObject::operator new[](size_t sz, void* vp)
virtual voidTObject::Paint(Option_t* option = "")
virtual voidTObject::Pop()
virtual voidTNamed::Print(Option_t* option = "") const
virtual Int_tTObject::Read(const char* name)
virtual voidTObject::RecursiveRemove(TObject* obj)
voidTObject::ResetBit(UInt_t f)
virtual voidTObject::SaveAs(const char* filename = "", Option_t* option = "") constMENU
virtual voidTObject::SavePrimitive(ostream& out, Option_t* option = "")
virtual Bool_tTVirtualMonitoringWriter::SendFileCloseEvent(TFile*)
virtual Bool_tTVirtualMonitoringWriter::SendFileOpenProgress(TFile*, TList*, const char*, Bool_t = kFALSE)
virtual Bool_tTVirtualMonitoringWriter::SendFileReadProgress(TFile*)
virtual Bool_tTVirtualMonitoringWriter::SendFileWriteProgress(TFile*)
virtual Bool_tTVirtualMonitoringWriter::SendInfoDescription(const char*)
virtual Bool_tTVirtualMonitoringWriter::SendInfoStatus(const char*)
virtual Bool_tTVirtualMonitoringWriter::SendInfoTime()
virtual Bool_tTVirtualMonitoringWriter::SendInfoUser(const char* = 0)
virtual Bool_tSendParameters(TList* values, const char*)
virtual Bool_tTVirtualMonitoringWriter::SendProcessingProgress(Double_t, Double_t, Bool_t = kFALSE)
virtual Bool_tTVirtualMonitoringWriter::SendProcessingStatus(const char*, Bool_t = kFALSE)
voidTObject::SetBit(UInt_t f)
voidTObject::SetBit(UInt_t f, Bool_t set)
virtual voidTObject::SetDrawOption(Option_t* option = "")MENU
static voidTObject::SetDtorOnly(void* obj)
virtual voidTVirtualMonitoringWriter::SetLogLevel(const char* = "WARNING")
virtual voidTNamed::SetName(const char* name)MENU
virtual voidTNamed::SetNameTitle(const char* name, const char* title)
static voidTObject::SetObjectStat(Bool_t stat)
virtual voidTNamed::SetTitle(const char* title = "")MENU
virtual voidTObject::SetUniqueID(UInt_t uid)
virtual voidShowMembers(TMemberInspector& insp) const
virtual Int_tTNamed::Sizeof() const
virtual voidStreamer(TBuffer&)
voidStreamerNVirtual(TBuffer& ClassDef_StreamerNVirtual_b)
virtual voidTObject::SysError(const char* method, const char* msgfmt) const
Bool_tTObject::TestBit(UInt_t f) const
Int_tTObject::TestBits(UInt_t f) const
TSQLMonitoringWriter(const char* serv, const char* user, const char* pass, const char* table)
virtual voidTObject::UseCurrentStyle()
virtual voidVerbose(Bool_t onoff)
virtual voidTObject::Warning(const char* method, const char* msgfmt) const
virtual Int_tTObject::Write(const char* name = 0, Int_t option = 0, Int_t bufsize = 0)
virtual Int_tTObject::Write(const char* name = 0, Int_t option = 0, Int_t bufsize = 0) const
protected:
virtual voidTObject::DoError(int level, const char* location, const char* fmt, va_list va) const
voidTObject::MakeZombie()

Data Members

public:
static TObject::(anonymous)TObject::kBitMask
static TObject::EStatusBitsTObject::kCanDelete
static TObject::EStatusBitsTObject::kCannotPick
static TObject::EStatusBitsTObject::kHasUUID
static TObject::EStatusBitsTObject::kInvalidObject
static TObject::(anonymous)TObject::kIsOnHeap
static TObject::EStatusBitsTObject::kIsReferenced
static TObject::EStatusBitsTObject::kMustCleanup
static TObject::EStatusBitsTObject::kNoContextMenu
static TObject::(anonymous)TObject::kNotDeleted
static TObject::EStatusBitsTObject::kObjInCanvas
static TObject::(anonymous)TObject::kOverwrite
static TObject::(anonymous)TObject::kSingleKey
static TObject::(anonymous)TObject::kWriteDelete
static TObject::(anonymous)TObject::kZombie
protected:
TStringTNamed::fNameobject identifier
TStringTNamed::fTitleobject title
TList*TVirtualMonitoringWriter::fTmpOpenPhasesTo store open phases when there is not yet an object
private:
TSQLServer*fDBSQL database where to write
Long64_tfMaxBulkSizeMax packet size for insertions
TStringfTableSQL table name
Bool_tfVerboseVerbosity toggle

Class Charts

Inheritance Chart:
TObject
TNamed
TVirtualMonitoringWriter
TSQLMonitoringWriter

Function documentation

TSQLMonitoringWriter(const char* serv, const char* user, const char* pass, const char* table)
 Constructor.
~TSQLMonitoringWriter()
 Destructor
Bool_t SendParameters(TList* values, const char* )
 Register query log using the information in the list which is in the form
 TParameter(<par>,<value>) or TNamed(<name>,<string>). For bulk sending,
 the first entry in the list is an TObjString defining the variable names
 in the format
                    VARname1,VARname2,...
 while the other entries are TObjStrings with the multiplets to be sent
                    VARvalue1,VARvalue2,...

 The string 'opt' allows the following additional control:
      table=[<db>.]<table>  allows to insert to a different table from the
                            one defined at construction (change is not
                            persistent); if <db> is not specified, the same
                            db defined at cinstruction is used.
      bulk                  Do a bulk insert
 More options can be given concurrently, comma-separated .
 The specified table must already have been created in the DB.
TSQLMonitoringWriter(const TSQLMonitoringWriter& )
TSQLMonitoringWriter& operator=(const TSQLMonitoringWriter& )
void Verbose(Bool_t onoff)
{ fVerbose = onoff; }