| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

In This Package:

DayaBay::PmtHardwareId Class Reference

#include <Hardware.h>

Inheritance diagram for DayaBay::PmtHardwareId:

[legend]
Collaboration diagram for DayaBay::PmtHardwareId:
[legend]
List of all members.

Public Member Functions

 PmtHardwareId ()
 PmtHardwareId (unsigned int id, Hardware::Hardware_t hardware)
 PmtHardwareId (int data)
virtual ~PmtHardwareId ()
PmtHardwareIdoperator= (const PmtHardwareId &id)
int id () const
int fullPackedData () const
Hardware::Hardware_t type () const
bool operator== (const HardwareId &rhs) const
bool operator!= (const HardwareId &rhs) const

Protected Attributes

unsigned int m_data

Detailed Description

Definition at line 79 of file Hardware.h.


Constructor & Destructor Documentation

DayaBay::PmtHardwareId::PmtHardwareId (  )  [inline]

Definition at line 81 of file Hardware.h.

00081 : HardwareId(0) {}

DayaBay::PmtHardwareId::PmtHardwareId ( unsigned int  id,
Hardware::Hardware_t  hardware 
) [inline]

Definition at line 82 of file Hardware.h.

00083       : HardwareId(id, hardware) {}

DayaBay::PmtHardwareId::PmtHardwareId ( int  data  )  [inline]

Definition at line 84 of file Hardware.h.

00084 : HardwareId(data) {}    

virtual DayaBay::PmtHardwareId::~PmtHardwareId (  )  [inline, virtual]

Definition at line 85 of file Hardware.h.

00085 {}


Member Function Documentation

PmtHardwareId& DayaBay::PmtHardwareId::operator= ( const PmtHardwareId id  )  [inline]

Definition at line 87 of file Hardware.h.

00088       { m_data = id.m_data; return *this; }

int DayaBay::PmtHardwareId::id (  )  const [inline]

Reimplemented from DayaBay::HardwareId.

Definition at line 90 of file Hardware.h.

00090 { return (m_data & 0x00ffffff); }

int DayaBay::HardwareId::fullPackedData (  )  const [inline, inherited]

Definition at line 60 of file Hardware.h.

00060 { return m_data; }

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); }

bool DayaBay::HardwareId::operator== ( const HardwareId rhs  )  const [inline, inherited]

Definition at line 69 of file Hardware.h.

00069 { return this->m_data == rhs.m_data; }

bool DayaBay::HardwareId::operator!= ( const HardwareId rhs  )  const [inline, inherited]

Definition at line 70 of file Hardware.h.

00070 { return !(*this == rhs); }


Member Data Documentation

unsigned int DayaBay::HardwareId::m_data [protected, inherited]

Definition at line 73 of file Hardware.h.


The documentation for this class was generated from the following file:
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

Generated on Mon Apr 11 20:14:49 2011 for Conventions by doxygen 1.4.7