class HOraSlowManager: public TObject

_HADES_CLASS_DESCRIPTION


 HOraSlowManager

 Manager class to access the slowcontrol data in Oracle
 (Singleton with global pointer gHOraSlowManager)

 It allows to read and draw the raw and summary data for a list of channels in a
 specified time range.

 See documentation and example macros in Wiki, topic OracleEpicsArchiveHydraInterface


Function Members (Methods)

public:
HOraSlowManager()
virtual~HOraSlowManager()
voidTObject::AbstractMethod(const char* method) const
HOraSlowChannel*addChannel(const Char_t*)
voidaddHldfileFilter(const Char_t*)
virtual voidTObject::AppendPad(Option_t* option = "")
virtual voidTObject::Browse(TBrowser* b)
static TClass*Class()
virtual const char*TObject::ClassName() const
virtual voidTObject::Clear(Option_t* = "")
voidclearHldfileFilter()
virtual TObject*TObject::Clone(const char* newname = "") const
voidcloseOraInput()
virtual Int_tTObject::Compare(const TObject* obj) const
virtual voidTObject::Copy(TObject& object) 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 TObject*TObject::FindObject(const char* name) const
virtual TObject*TObject::FindObject(const TObject* obj) const
HOraSlowChannel*getChannel(const Char_t*)
TList&getChannels()
virtual Option_t*TObject::GetDrawOption() const
static Long_tTObject::GetDtorOnly()
virtual const char*TObject::GetIconName() const
virtual const char*TObject::GetName() const
virtual char*TObject::GetObjectInfo(Int_t px, Int_t py) const
static Bool_tTObject::GetObjectStat()
virtual Option_t*TObject::GetOption() const
HOraSlowReader*getOraReader()
HOraSlowPartition*getPartition()
virtual const char*TObject::GetTitle() const
virtual UInt_tTObject::GetUniqueID() const
virtual Bool_tTObject::HandleTimer(TTimer* timer)
virtual ULong_tTObject::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
static HOraSlowManager*instance()
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_tTObject::IsSortable() const
Bool_tTObject::IsZombie() const
virtual voidTObject::ls(Option_t* option = "") const
voidTObject::MayNotUse(const char* method) const
virtual Bool_tTObject::Notify()
Bool_topenOraInput()
static voidTObject::operator delete(void* ptr)
static voidTObject::operator delete(void* ptr, void* vp)
static voidTObject::operator delete[](void* ptr)
static 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)
TObject&TObject::operator=(const TObject& rhs)
virtual voidTObject::Paint(Option_t* option = "")
virtual voidTObject::Pop()
virtual voidTObject::Print(Option_t* option = "") const
virtual Int_tTObject::Read(const char* name)
Bool_treadArchiverRates()
Bool_treadSummary()
virtual voidTObject::RecursiveRemove(TObject* obj)
voidremoveAllChannels()
voidremoveChannel(const Char_t*)
voidTObject::ResetBit(UInt_t f)
virtual voidTObject::SaveAs(const char* filename = "", Option_t* option = "") constMENU
virtual voidTObject::SavePrimitive(basic_ostream<char,char_traits<char> >& out, Option_t* option = "")
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)
static voidTObject::SetObjectStat(Bool_t stat)
HOraSlowPartition*setPartition(const Char_t*, const Char_t* startTime = "", const Char_t* endTime = "")
virtual voidTObject::SetUniqueID(UInt_t uid)
virtual voidShowMembers(TMemberInspector& insp, char* parent)
virtual voidStreamer(TBuffer& b)
voidStreamerNVirtual(TBuffer& 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
virtual voidTObject::UseCurrentStyle()
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
voidwriteSummaryToAscii(const Char_t*, Int_t opt = 0)
protected:
virtual voidTObject::DoError(int level, const char* location, const char* fmt, va_list va) const
voidTObject::MakeZombie()

Data Members

public:
enum TObject::EStatusBits { kCanDelete
kMustCleanup
kObjInCanvas
kIsReferenced
kHasUUID
kCannotPick
kNoContextMenu
kInvalidObject
};
enum TObject::[unnamed] { kIsOnHeap
kNotDeleted
kZombie
kBitMask
kSingleKey
kOverwrite
kWriteDelete
};
private:
TListchannelsList of channels
TList*hldfileFilterList of hld-files to be applied as filter for output and drawing
HOraSlowReader*pOraReaderInterface to Oracle
HOraSlowPartition*partitionData partition

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

HOraSlowManager()
 Default constructor
~HOraSlowManager()
 Destructor
Bool_t openOraInput()
 Connnects to Oracle (is done automatically when needed)
void closeOraInput()
 Closes the Oracle connection
HOraSlowPartition* setPartition(const Char_t* , const Char_t* startTime = "", const Char_t* endTime = "")
 Sets the data partition and the time range t1 - t2 (typically smaller then the time range of the partition)
 Dates must be specified in the format yyyy-mm-dd hh:mi:ss.
 If no time range is specified, the data of the whole partition will be read.
HOraSlowChannel* addChannel(const Char_t* )
 Adds a channel to the list of channels
void removeChannel(const Char_t* )
 Removes a channel from the list of channels
void removeAllChannels()
 Removes all channels from the list of channels
HOraSlowChannel* getChannel(const Char_t* )
 Returns a pointer to the channel objects specified by name
void addHldfileFilter(const Char_t* )
 Adds a hld-file to the list of hld-files to be applied as filter for output and drawing
void clearHldfileFilter()
 Clears the hld-file filter
Bool_t readArchiverRates()
 Reads the rates of the channel archiver
Bool_t readSummary()
 Reads the summary information for all channels
void writeSummaryToAscii(const Char_t* , Int_t opt = 0)
 Writes the periods and the channel summary information to an ASCII file
 option opt 0 = all periods
            1 = only hld-files
            2 = apply hld-file filter
HOraSlowManager* instance(void)
HOraSlowReader* getOraReader()
{return pOraReader;}
HOraSlowPartition* getPartition()
{return partition;}
TList& getChannels()
{return channels;}

Last change: Sat May 22 13:05:34 2010
Last generated: 2010-05-22 13:05

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.