CMS 3D CMS Logo

List of all members | Public Member Functions | Public Attributes | Private Member Functions | Friends
cscdqm::TempMeasType Struct Reference

#include <CSCDQM_DCSData.h>

Public Member Functions

TempMeasTypeoperator= (const TempMeasType &m)
 

Public Attributes

DCSAddressType adr
 
DCSBoardType board
 
unsigned short boardId
 
int value
 

Private Member Functions

template<class Archive >
void serialize (Archive &ar, const unsigned int version)
 

Friends

class boost::serialization::access
 
template<typename CondSerializationT , typename Enabled >
struct cond::serialization::access
 
std::ostream & operator<< (std::ostream &out, const TempMeasType &m)
 

Detailed Description

Temperature measurement

Definition at line 33 of file CSCDQM_DCSData.h.

Member Function Documentation

TempMeasType& cscdqm::TempMeasType::operator= ( const TempMeasType m)
inline

Definition at line 51 of file CSCDQM_DCSData.h.

References adr, board, boardId, and value.

51  {
52  adr = m.adr;
53  board = m.board;
54  boardId = m.boardId;
55  value = m.value;
56  return *this;
57  }
DCSAddressType adr
Definition: value.py:1
unsigned short boardId
template<class Archive >
void cscdqm::TempMeasType::serialize ( Archive &  ar,
const unsigned int  version 
)
private

Friends And Related Function Documentation

friend class boost::serialization::access
friend

Definition at line 60 of file CSCDQM_DCSData.h.

template<typename CondSerializationT , typename Enabled >
friend struct cond::serialization::access
friend

Definition at line 60 of file CSCDQM_DCSData.h.

std::ostream& operator<< ( std::ostream &  out,
const TempMeasType m 
)
friend

Definition at line 40 of file CSCDQM_DCSData.h.

40  {
41  std::ostringstream os;
42  os << m.adr << " ";
43  os << DCSBoardUtility(m.board);
44  if (m.board == CFEB) {
45  os << m.boardId;
46  }
47  os << " temp = " << m.value << "oC";
48  return out << os.str();
49  }

Member Data Documentation

DCSAddressType cscdqm::TempMeasType::adr

Definition at line 35 of file CSCDQM_DCSData.h.

Referenced by operator=().

DCSBoardType cscdqm::TempMeasType::board

Definition at line 36 of file CSCDQM_DCSData.h.

Referenced by operator=().

unsigned short cscdqm::TempMeasType::boardId

Definition at line 37 of file CSCDQM_DCSData.h.

Referenced by operator=().

int cscdqm::TempMeasType::value