#include <Hardware.h>
Inheritance diagram for DayaBay::FecHardwareId:
Public Member Functions | |
| FecHardwareId () | |
| FecHardwareId (int boardId, int connector) | |
| FecHardwareId (int data) | |
| virtual | ~FecHardwareId () |
| FecHardwareId & | operator= (const FecHardwareId &id) |
| int | boardId () const |
| int | connector () const |
| int | fullPackedData () const |
| Hardware::Hardware_t | type () const |
| int | id () const |
| bool | operator== (const HardwareId &rhs) const |
| bool | operator!= (const HardwareId &rhs) const |
Protected Attributes | |
| unsigned int | m_data |
Definition at line 168 of file Hardware.h.
| DayaBay::FecHardwareId::FecHardwareId | ( | ) | [inline] |
| DayaBay::FecHardwareId::FecHardwareId | ( | int | boardId, | |
| int | connector | |||
| ) | [inline] |
Definition at line 171 of file Hardware.h.
00171 : 00172 HardwareId((0x000000ff & boardId)<<8 | 00173 (0x000000ff & connector), 00174 Hardware::kFee) {}
| DayaBay::FecHardwareId::FecHardwareId | ( | int | data | ) | [inline] |
| virtual DayaBay::FecHardwareId::~FecHardwareId | ( | ) | [inline, virtual] |
| FecHardwareId& DayaBay::FecHardwareId::operator= | ( | const FecHardwareId & | id | ) | [inline] |
| int DayaBay::FecHardwareId::boardId | ( | ) | const [inline] |
| int DayaBay::FecHardwareId::connector | ( | ) | const [inline] |
| int DayaBay::HardwareId::fullPackedData | ( | ) | const [inline, inherited] |
| Hardware::Hardware_t DayaBay::HardwareId::type | ( | ) | const [inline, inherited] |
Definition at line 63 of file Hardware.h.
00064 { return (Hardware::Hardware_t)((m_data&0xff000000)>>24); }
| int DayaBay::HardwareId::id | ( | ) | const [inline, inherited] |
Reimplemented in DayaBay::PmtHardwareId.
Definition at line 66 of file Hardware.h.
00066 { return (m_data & 0x00ffffff); }
| bool DayaBay::HardwareId::operator== | ( | const HardwareId & | rhs | ) | const [inline, inherited] |
| bool DayaBay::HardwareId::operator!= | ( | const HardwareId & | rhs | ) | const [inline, inherited] |
unsigned int DayaBay::HardwareId::m_data [protected, inherited] |
Definition at line 73 of file Hardware.h.
1.4.7