Class Reference for E1039 Core & Analysis Software
SQSlowCont.h
Go to the documentation of this file.
1 /*
2  * SQSlowCont.h
3  */
4 #ifndef _H_SQSlowCont_H_
5 #define _H_SQSlowCont_H_
6 #include <phool/PHObject.h>
7 #include <iostream>
8 #include <limits>
9 #include <string>
10 
12 
15 class SQSlowCont : public PHObject {
16 public:
17  virtual ~SQSlowCont() {}
18 
19  // PHObject virtual overloads
20 
21  virtual void identify(std::ostream& os = std::cout) const {
22  os << "---SQSlowCont base class------------" << std::endl;
23  }
24  virtual void Reset() {};
25  virtual int isValid() const {return 0;}
26  virtual SQSlowCont* Clone() const {return NULL;}
27  virtual PHObject* clone() const {return NULL;}
28 
29  virtual std::string get_time_stamp() const {return "";}
30  virtual void set_time_stamp(const std::string a) {}
31 
32  virtual std::string get_name() const {return "";}
33  virtual void set_name(const std::string a) {}
34 
35  virtual std::string get_value() const {return "";}
36  virtual void set_value(const std::string a) {}
37 
38  virtual std::string get_type() const {return "";}
39  virtual void set_type(const std::string a) {}
40 
41 protected:
43 
44 private:
45  ClassDef(SQSlowCont, 1);
46 };
47 
48 #endif /* _H_SQSlowCont_H_ */
#define NULL
Definition: Pdb.h:9
An SQ interface class to hold the data of one slow-control channel.
Definition: SQSlowCont.h:15
virtual ~SQSlowCont()
Definition: SQSlowCont.h:17
virtual void set_name(const std::string a)
Definition: SQSlowCont.h:33
virtual SQSlowCont * Clone() const
Definition: SQSlowCont.h:26
virtual std::string get_name() const
Return the name of this channel.
Definition: SQSlowCont.h:32
virtual void set_time_stamp(const std::string a)
Definition: SQSlowCont.h:30
virtual PHObject * clone() const
Virtual copy constructor.
Definition: SQSlowCont.h:27
virtual void Reset()
Clear Event.
Definition: SQSlowCont.h:24
virtual void set_type(const std::string a)
Definition: SQSlowCont.h:39
virtual int isValid() const
isValid returns non zero if object contains vailid data
Definition: SQSlowCont.h:25
virtual std::string get_type() const
Return the type (i.e. caterogy name) of this channel.
Definition: SQSlowCont.h:38
virtual std::string get_time_stamp() const
Return the time when this channel was read out.
Definition: SQSlowCont.h:29
virtual std::string get_value() const
Return the value of this channel.
Definition: SQSlowCont.h:35
virtual void identify(std::ostream &os=std::cout) const
Definition: SQSlowCont.h:21
virtual void set_value(const std::string a)
Definition: SQSlowCont.h:36