ZddChannel Class Reference

#include <ZddChannel.h>

List of all members.

Public Types

typedef std::vector< ZddFragmentFragments

Public Member Functions

 ZddChannel ()
virtual ~ZddChannel ()
int getChId () const
int getScanCode () const
const Fragmentsfragments () const
void setChId (int chId)
void setScanCode (int scanCode)
void addFragments (const ZddFragment &frag)

Private Attributes

int m_chId
int m_scanCode
Fragments m_frags


Detailed Description

Definition at line 17 of file ZddChannel.h.


Member Typedef Documentation

typedef std::vector<ZddFragment> ZddChannel::Fragments

Definition at line 21 of file ZddChannel.h.


Constructor & Destructor Documentation

ZddChannel::ZddChannel (  ) 

Definition at line 3 of file ZddChannel.cxx.

00004     : m_chId(-1),m_scanCode(0)
00005 {
00006 }

ZddChannel::~ZddChannel (  )  [virtual]

Definition at line 8 of file ZddChannel.cxx.

References deljobs::end, and m_frags.

00009 {
00010     Fragments::iterator end = m_frags.end();
00011     for ( Fragments::iterator it = m_frags.begin(); it != end; ++it ) {
00012         delete [] it->sample;
00013     }
00014 }


Member Function Documentation

void ZddChannel::addFragments ( const ZddFragment frag  )  [inline]

Definition at line 36 of file ZddChannel.h.

References m_frags.

Referenced by ZddConverter::decodeChannel().

00036 { m_frags.push_back(frag); }

const Fragments& ZddChannel::fragments (  )  const [inline]

Definition at line 30 of file ZddChannel.h.

References m_frags.

00030 { return m_frags; }

int ZddChannel::getChId (  )  const [inline]

Definition at line 26 of file ZddChannel.h.

References m_chId.

00026 { return m_chId; }

int ZddChannel::getScanCode (  )  const [inline]

Definition at line 28 of file ZddChannel.h.

References m_scanCode.

00028 { return m_scanCode; }

void ZddChannel::setChId ( int  chId  )  [inline]

Definition at line 32 of file ZddChannel.h.

References m_chId.

Referenced by ZddConverter::decodeBoard().

00032 { m_chId = chId; }

void ZddChannel::setScanCode ( int  scanCode  )  [inline]

Definition at line 34 of file ZddChannel.h.

References m_scanCode.

Referenced by ZddConverter::decodeChannel().

00034 { m_scanCode = scanCode; }


Member Data Documentation

int ZddChannel::m_chId [private]

Definition at line 40 of file ZddChannel.h.

Referenced by getChId(), and setChId().

Fragments ZddChannel::m_frags [private]

Definition at line 42 of file ZddChannel.h.

Referenced by addFragments(), fragments(), and ~ZddChannel().

int ZddChannel::m_scanCode [private]

Definition at line 41 of file ZddChannel.h.

Referenced by getScanCode(), and setScanCode().


Generated on Tue Nov 29 23:36:22 2016 for BOSS_7.0.2 by  doxygen 1.4.7