My Project
 All Classes Files Functions Variables Enumerations Enumerator Friends Macros Pages
BoloDevice.h
Go to the documentation of this file.
1 // $Id: BoloDevice.h,v 1.1.1.1 2009/07/06 23:57:23 eml Exp $
2 
3 #ifndef GCP_RECEIVER_BOLODEVICE_H
4 #define GCP_RECEIVER_BOLODEVICE_H
5 
15 #include <string>
16 
17 namespace gcp {
18  namespace receiver {
19 
20  class BoloDevice {
21  public:
22 
26  BoloDevice();
27 
31  BoloDevice(const BoloDevice& objToBeCopied);
32 
36  BoloDevice(BoloDevice& objToBeCopied);
37 
41  void operator=(const BoloDevice& objToBeAssigned);
42 
46  void operator=(BoloDevice& objToBeAssigned);
47 
51  friend std::ostream& operator<<(std::ostream& os, BoloDevice& obj);
52 
56  virtual ~BoloDevice();
57 
58  void setId(std::string id);
59  void setReadoutChannel(std::string channel);
60 
61  std::string getId();
62  std::string getReadoutChannel();
63 
64  private:
65 
66  std::string id_; // The string id of this channel
67  std::string readoutChannel_; // The readout channel associated
68  // with this device
69  }; // End class BoloDevice
70 
71  } // End namespace receiver
72 } // End namespace gcp
73 
74 
75 #endif // End #ifndef GCP_RECEIVER_BOLODEVICE_H
BoloDevice()
Definition: BoloDevice.cc:12
friend std::ostream & operator<<(std::ostream &os, BoloDevice &obj)
virtual ~BoloDevice()
Definition: BoloDevice.cc:59
Definition: BoloDevice.h:20
void operator=(const BoloDevice &objToBeAssigned)
Definition: BoloDevice.cc:33