ATLAS Offline Software
WiredORdata.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef WIREDORDATA_H
6 #define WIREDORDATA_H
7 
8 #include <list>
9 #include <memory>
10 
14 
15 namespace RPC_CondCabling {
16 
18  private:
19  typedef std::list<WiredOR> WORlist;
20 
21  bool m_fail;
22  int m_station{-1};
24 
25  void reset_data();
28 
29  public:
30  WiredORdata(DBline&, int);
31  virtual ~WiredORdata();
32 
33  std::unique_ptr<WiredOR> give_wor(void);
34 
35  int station() const { return m_station; }
36 
37  virtual void Print(std::ostream&, bool) const override;
38  };
39 
40  template <class X> X& operator<<(X& stream, WiredORdata& data) {
41  data.Print(stream, false);
42  return stream;
43  }
44 
45 } // namespace RPC_CondCabling
46 
47 #endif
RPC_CondCabling::WiredORdata::reset_data
void reset_data()
Definition: WiredORdata.cxx:30
data
char data[hepevt_bytes_allocation_ATLAS]
Definition: HepEvt.cxx:11
ShowRequest.h
RPC_CondCabling::WiredORdata::m_fail
bool m_fail
Definition: WiredORdata.h:21
RPC_CondCabling::operator<<
X & operator<<(X &stream, CMAcablingdata &data)
Definition: CMAcablingdata.h:44
RPC_CondCabling::WiredORdata::~WiredORdata
virtual ~WiredORdata()
RPC_CondCabling::WiredORdata::give_wor
std::unique_ptr< WiredOR > give_wor(void)
Definition: WiredORdata.cxx:55
RPC_CondCabling::WiredORdata::WORlist
std::list< WiredOR > WORlist
Definition: WiredORdata.h:19
RPC_CondCabling
Definition: CMAcablingdata.h:18
AthenaPoolTestWrite.stream
string stream
Definition: AthenaPoolTestWrite.py:12
Monitored::X
@ X
Definition: HistogramFillerUtils.h:24
RPC_CondCabling::WiredORdata::get_data
bool get_data(DBline &, WiredOR::parseParams &)
Definition: WiredORdata.cxx:45
RPC_CondCabling::WiredORdata::m_wor
WORlist m_wor
Definition: WiredORdata.h:23
RPC_CondCabling::WiredORdata
Definition: WiredORdata.h:17
RPC_CondCabling::WiredORdata::station
int station() const
Definition: WiredORdata.h:35
RPC_CondCabling::WiredORdata::Print
virtual void Print(std::ostream &, bool) const override
Definition: WiredORdata.cxx:64
WiredOR.h
BaseObject
Definition: BaseObject.h:13
RPC_CondCabling::WiredORdata::WiredORdata
WiredORdata(DBline &, int)
Definition: WiredORdata.cxx:13
DBline
Definition: dbline.h:255
dbline.h
RPC_CondCabling::WiredORdata::m_station
int m_station
Definition: WiredORdata.h:22
RPC_CondCabling::WiredORdata::confirm_boundary
bool confirm_boundary(WiredOR::parseParams &) const
Definition: WiredORdata.cxx:32
RPC_CondCabling::WiredOR::parseParams
Definition: WiredOR.h:40