/search.css" rel="stylesheet" type="text/css"/> /search.js">
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

In This Package:

Public Member Functions | Protected Attributes
DayaBay::FeeHardwareId Class Reference

#include <Hardware.h>

Inheritance diagram for DayaBay::FeeHardwareId:
Inheritance graph
[legend]
Collaboration diagram for DayaBay::FeeHardwareId:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 FeeHardwareId ()
 FeeHardwareId (int boardId, int connector)
 FeeHardwareId (int data)
virtual ~FeeHardwareId ()
FeeHardwareIdoperator= (const FeeHardwareId &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

Detailed Description

Definition at line 139 of file Hardware.h.


Constructor & Destructor Documentation

DayaBay::FeeHardwareId::FeeHardwareId ( ) [inline]

Definition at line 141 of file Hardware.h.

: HardwareId(0) {}
DayaBay::FeeHardwareId::FeeHardwareId ( int  boardId,
int  connector 
) [inline]

Definition at line 142 of file Hardware.h.

                                              : 
      HardwareId((0x000000ff & boardId)<<8 |
                 (0x000000ff & connector),
                 Hardware::kFee) {}
DayaBay::FeeHardwareId::FeeHardwareId ( int  data) [inline]

Definition at line 146 of file Hardware.h.

: HardwareId(data) {}
virtual DayaBay::FeeHardwareId::~FeeHardwareId ( ) [inline, virtual]

Definition at line 147 of file Hardware.h.

{}

Member Function Documentation

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

Definition at line 149 of file Hardware.h.

      { m_data = id.m_data; return *this; }
int DayaBay::FeeHardwareId::boardId ( ) const [inline]

Definition at line 153 of file Hardware.h.

{ return (m_data & 0x0000ff00) >> 8; }
int DayaBay::FeeHardwareId::connector ( ) const [inline]

Definition at line 156 of file Hardware.h.

{ return (m_data & 0x000000ff); }
int DayaBay::HardwareId::fullPackedData ( ) const [inline, inherited]

Definition at line 60 of file Hardware.h.

{ return m_data; }
Hardware::Hardware_t DayaBay::HardwareId::type ( ) const [inline, inherited]

Definition at line 63 of file Hardware.h.

      { 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.

{ return (m_data & 0x00ffffff); }
bool DayaBay::HardwareId::operator== ( const HardwareId rhs) const [inline, inherited]

Definition at line 69 of file Hardware.h.

{ 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.

{ 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 Fri May 16 2014 09:56:20 for Conventions by doxygen 1.7.4