#include "horaslowmanager.h"

HOraSlowManager


class description - source file - inheritance tree (.pdf)

class HOraSlowManager : public TObject

Inheritance Chart:
TObject
<-
HOraSlowManager

    public:
HOraSlowManager() ~HOraSlowManager() HOraSlowChannel* addChannel(const char*) void addHldfileFilter(const char*) static TClass* Class() void clearHldfileFilter() void closeOraInput() HOraSlowChannel* getChannel(const char*) TList& getChannels() HOraSlowReader* getOraReader() HOraSlowPartition* getPartition() static HOraSlowManager* instance() virtual TClass* IsA() const Bool_t openOraInput() Bool_t readArchiverRates() Bool_t readSummary() void removeAllChannels() void removeChannel(const char*) HOraSlowPartition* setPartition(const char*, const char* startTime, const char* endTime) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b) void writeSummaryToAscii(const char*, Int_t opt = 0)

Data Members

    private:
HOraSlowPartition* partition Data partition TList channels List of channels HOraSlowReader* pOraReader Interface to Oracle TList* hldfileFilter List of hld-files to be applied as filter for output and drawing

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



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* pName, const char* t1,const char* t2)
 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* name)
 Adds a channel to the list of channels

void removeChannel(const char* name)
 Removes a channel from the list of channels

void removeAllChannels()
 Removes all channels from the list of channels

HOraSlowChannel* getChannel(const char* name)
 Returns a pointer to the channel objects specified by name

void addHldfileFilter(const char* s)
 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* filename,Int_t opt)
 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



Inline Functions


          HOraSlowManager* instance()
           HOraSlowReader* getOraReader()
        HOraSlowPartition* getPartition()
                    TList& getChannels()
                   TClass* Class()
                   TClass* IsA() const
                      void ShowMembers(TMemberInspector& insp, char* parent)
                      void Streamer(TBuffer& b)
                      void StreamerNVirtual(TBuffer& b)


Last update: Fri Jan 26 12:19:50 2007


ROOT page - Class index - Class Hierarchy - Top of the page

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.