StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
TxUcmlog.cxx
1 #include "TxUcmlog.h"
2 
3 //_________________________________________________________________
4  TXUcmLog::TXUcmLog(){}
5 
6 // Logging options other than the defaults
7 //_________________________________________________________________
8 TXUcmLog *TXUcmLog::openlog(const char* ident,int logopt, EFacility facility)
9 {
10  return new TXUcmLog();
11 }
12 //_________________________________________________________________
13 TXUcmLog *TXUcmLog::openlog(const char* ident,int logopt)
14 {
15  return new TXUcmLog();
16 }
17 
18 //_________________________________________________________________
19 TXUcmLog *TXUcmLog::openlog(const char* ident)
20 {
21  return new TXUcmLog();
22 }
23 
24 //_________________________________________________________________
25 // Generate and Send the ucm record,
26 // the optional attributes, and the optional user's message
27 void TXUcmLog::ucmlog(unsigned int pripority, const char*message)
28 { }
29 
30 //_________________________________________________________________
31 // Generate and Send the record that may contains the attributes only
32 void TXUcmLog::ucmlog(const char*message)
33 { }
34 
35 //_________________________________________________________________
36 // Generates and Send the ucm record that contains
37 // Begin/End tag, the optional attributes and optional user's message
38 void TXUcmLog::ucmlogevent(EStage stage, const char*message)
39 { }
40 
41 //_________________________________________________________________
42 // send the message that contains the attributes and tags only
43 void TXUcmLog::ucmlogmessage(const char*message)
44 { }
45 
46 //_________________________________________________________________
47 // send "Job finished" record and close the ucm systen.
48 int TXUcmLog::closelog()
49 { return 0; }
50 
51 //_________________________________________________________________
52 // register the task with the ID provided and make it current
53 void TXUcmLog::openTask(unsigned int brokerTaskID)
54 { }
55 
56 //_________________________________________________________________
57 // register the job of the current task the ID provided
58 void TXUcmLog::openJob(unsigned int brokerJobID)
59 { }
60 
61 //_________________________________________________________________
62 // register the current task
63 void TXUcmLog::openTask()
64 { }
65 
66 //_________________________________________________________________
67 // register the current job
68 void TXUcmLog::openJob()
69 { }
70 
71 //_________________________________________________________________
72 void TXUcmLog::setlogmask(unsigned int logmask)
73 { }
74 //_________________________________________________________________
75 // set the pair of the attribute : value
76 void TXUcmLog::setAttribute(const char *key, const char * value)
77 { }
78 
79 //_________________________________________________________________
80 // set the current task ID
81 void TXUcmLog::setTaskId(unsigned int brokerTaskID)
82 { }
83 
84 //_________________________________________________________________
85 // set the current job ID
86 void TXUcmLog::setJobId(unsigned int brokerJobID)
87 {}
88 
89 //_________________________________________________________________
90 // set the current event ID
91 void TXUcmLog::setEventId(unsigned int taskId)
92 { }
93 
94 //_________________________________________________________________
95 // return the attribute value by the attribute key
96 const char *TXUcmLog::getAttribute(const char *key) const
97 {
98  return 0;
99 }
100 
101 //_________________________________________________________________
102 // return the attribute value by the attribute index
103 const char *TXUcmLog::getAttribute(int attributeIndex) const
104 {
105  return 0;
106 }
107 
108 
109 //_________________________________________________________________
110 // return the number of the different attributes;
111 int TXUcmLog::getNumberofAttributes() const
112 {return 0;}
113 
114 //_________________________________________________________________
115 // Reset the "key" attribute
116 void TXUcmLog::resetAttribute(const char *key)
117 { }
118 
119 
120 //_________________________________________________________________
121 // Reset all attributes (clean up the "known" attribute list)
122 void TXUcmLog::resetAttributes()
123 { }
124 
125 //_________________________________________________________________
126 unsigned long TXUcmLog::getTaskId() const
127 {return 0;}
128 //_________________________________________________________________
129 unsigned long TXUcmLog::getJobId() const
130 {return 0;}
131 //_________________________________________________________________
132 unsigned long TXUcmLog::getEventId() const
133 {return 0;}
134 //_________________________________________________________________
135 bool TXUcmLog::isTaskOpen() const
136 {return false;}
137 //_________________________________________________________________
138 bool TXUcmLog::isJobOpen() const
139 {return false;}