#include <ZddChannel.h>
Public Types | |
typedef std::vector< ZddFragment > | Fragments |
Public Member Functions | |
ZddChannel () | |
virtual | ~ZddChannel () |
int | getChId () const |
int | getScanCode () const |
const Fragments & | fragments () 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 |
Definition at line 17 of file ZddChannel.h.
typedef std::vector<ZddFragment> ZddChannel::Fragments |
Definition at line 21 of file ZddChannel.h.
ZddChannel::ZddChannel | ( | ) |
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 }
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] |
int ZddChannel::getChId | ( | ) | const [inline] |
int ZddChannel::getScanCode | ( | ) | const [inline] |
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; }
int ZddChannel::m_chId [private] |
Fragments ZddChannel::m_frags [private] |
Definition at line 42 of file ZddChannel.h.
Referenced by addFragments(), fragments(), and ~ZddChannel().
int ZddChannel::m_scanCode [private] |