Warning, file /include/root/TVirtualMonitoring.h was not indexed
or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012 #ifndef ROOT_TVirtualMonitoring
0013 #define ROOT_TVirtualMonitoring
0014
0015
0016
0017
0018
0019
0020
0021
0022
0023 #include "TNamed.h"
0024
0025 #ifdef R__LESS_INCLUDES
0026 class TList;
0027 class TMap;
0028 #else
0029 #include "TList.h"
0030 #include "TMap.h"
0031 #endif
0032
0033 class TFile;
0034
0035 class TVirtualMonitoringWriter : public TNamed {
0036
0037 private:
0038
0039 TVirtualMonitoringWriter(const TVirtualMonitoringWriter&) = delete;
0040 TVirtualMonitoringWriter& operator=(const TVirtualMonitoringWriter&) = delete;
0041
0042 Double_t fValue;
0043
0044 protected:
0045 TList *fTmpOpenPhases;
0046
0047 public:
0048 TVirtualMonitoringWriter() : TNamed(), fValue(0), fTmpOpenPhases(nullptr) { }
0049 TVirtualMonitoringWriter(const char *name, Double_t value)
0050 : TNamed(name, ""), fValue(value), fTmpOpenPhases(nullptr) { }
0051
0052 virtual ~TVirtualMonitoringWriter();
0053
0054
0055 virtual Bool_t SendFileCloseEvent(TFile * )
0056 { MayNotUse("SendFileCloseEvent"); return kFALSE; }
0057 virtual Bool_t SendFileReadProgress(TFile * )
0058 { MayNotUse("SendFileReadProgress"); return kFALSE; }
0059 virtual Bool_t SendFileWriteProgress(TFile * )
0060 { MayNotUse("SendFileWriteProgress"); return kFALSE; }
0061
0062 virtual Bool_t SendParameters(TList * , const char * = nullptr)
0063 { MayNotUse("SendParameters"); return kFALSE; }
0064 virtual Bool_t SendInfoTime() { MayNotUse("SendInfoTime"); return kFALSE; }
0065 virtual Bool_t SendInfoUser(const char * = nullptr) { MayNotUse("SendInfoUser"); return kFALSE; }
0066 virtual Bool_t SendInfoDescription(const char * ) { MayNotUse("SendInfoDescription"); return kFALSE; }
0067 virtual Bool_t SendInfoStatus(const char * ) { MayNotUse("SendInfoStatus"); return kFALSE; }
0068
0069
0070
0071
0072 virtual Bool_t SendFileOpenProgress(TFile * , TList * ,
0073 const char * ,
0074 Bool_t = kFALSE )
0075 { MayNotUse("SendFileOpenProgress"); return kFALSE; }
0076
0077 virtual Bool_t SendProcessingStatus(const char * , Bool_t = kFALSE)
0078 { MayNotUse("SendProcessingStatus"); return kFALSE; }
0079 virtual Bool_t SendProcessingProgress(Double_t , Double_t , Bool_t = kFALSE)
0080 { MayNotUse("SendProcessingProgress"); return kFALSE; }
0081 virtual void SetLogLevel(const char * = "WARNING")
0082 { MayNotUse("SetLogLevel"); };
0083 virtual void Verbose(Bool_t ) { MayNotUse("Verbose"); }
0084
0085 ClassDefOverride(TVirtualMonitoringWriter,0)
0086 };
0087
0088
0089 class TVirtualMonitoringReader : public TNamed {
0090
0091 public:
0092 TVirtualMonitoringReader( const char * ="") { }
0093 virtual ~TVirtualMonitoringReader() { }
0094
0095 virtual void DumpResult() { MayNotUse("DumpResult"); }
0096 virtual void GetValues(const char * , const char * ,
0097 const char * , const char * ,
0098 Long_t , Long_t , Bool_t = kFALSE)
0099 { MayNotUse("GetValues"); }
0100 virtual void GetLastValues(const char * , const char * ,
0101 const char * , const char * ,
0102 Bool_t =kFALSE)
0103 { MayNotUse("GetLastValues"); }
0104 virtual void ProxyValues(const char * , const char * ,
0105 const char * , const char * ,
0106 Long_t , Long_t , Long_t )
0107 { MayNotUse("ProxyValues"); }
0108
0109 virtual TMap *GetMap() { MayNotUse("GetMap"); return nullptr; }
0110 virtual void DeleteMap(TMap * ) { MayNotUse("DeleteMap"); }
0111
0112 ClassDefOverride(TVirtualMonitoringReader, 1)
0113 };
0114
0115
0116 R__EXTERN TVirtualMonitoringWriter *gMonitoringWriter;
0117 R__EXTERN TVirtualMonitoringReader *gMonitoringReader;
0118
0119
0120 #endif