Audacity  2.2.0
TrackListIterator Class Reference

An iterator for a TrackList. More...

#include <Track.h>

Inheritance diagram for TrackListIterator:
SyncLockedTracksIterator TrackListCondIterator TrackListOfKindIterator VisibleTrackIterator SelectedTrackListOfKindIterator

Public Member Functions

 TrackListIterator (TrackList *val=NULL)
 
virtual ~TrackListIterator ()
 
virtual TrackFirst (TrackList *val=NULL)
 
virtual TrackStartWith (Track *val)
 
virtual TrackNext (bool skiplinked=false)
 
virtual TrackPrev (bool skiplinked=false)
 
virtual TrackLast (bool skiplinked=false)
 
TrackRemoveCurrent ()
 

Protected Attributes

friend TrackList
 
TrackListl
 
TrackNodePointer cur {}
 

Detailed Description

An iterator for a TrackList.

Constructor & Destructor Documentation

TrackListIterator::TrackListIterator ( TrackList val = NULL)
virtual TrackListIterator::~TrackListIterator ( )
inlinevirtual

Member Function Documentation

Track * TrackListIterator::First ( TrackList val = NULL)
virtual

Reimplemented in TrackListCondIterator.

References cur, TrackList::isNull(), and l.

Referenced by SelectCommand::Apply(), SelectionState::ChangeSelectionOnShiftClick(), AudacityProject::Clear(), LabelDefaultClickHandle::Click(), LabelTextHandle::Click(), AudacityProject::CountSelectedTracks(), AudacityProject::CountSelectedWaveTracks(), TimeShiftHandle::CreateListOfCapturedClips(), AudacityProject::DoAddLabel(), AudacityProject::DoZoomFitV(), TrackArtist::DrawTracks(), AudacityProject::EditByLabel(), AudacityProject::EditClipboardByLabel(), AudacityProject::EnqueueODTasks(), TrackPanel::EnsureVisible(), ExportMultiple::ExportMultipleByTrack(), LabelDialog::FindAllLabels(), DirManager::FindOrphanBlockFiles(), TrackListCondIterator::First(), GetAllSeqBlocks(), TrackPanel::GetFirstSelectedTrack(), AudacityProject::GetFirstVisible(), AudacityProject::GetRegionsByLabel(), AudacityProject::GetUpdateFlags(), AudacityProject::HandleAlign(), AudacityProject::HandleMixAndRender(), AudacityProject::HandlePasteNothingSelected(), AudacityProject::HandleTrackMute(), AudacityProject::HandleTrackSolo(), MixerBoard::HasSolo(), EffectAutoDuck::Init(), EffectEqualization::Init(), BatchCommands::IsMono(), ODTask::IsTaskAssociatedWithProject(), MixAndRender(), AudacityProject::NearestZeroCrossing(), AudacityProject::OnCollapseAllTracks(), AudacityProject::OnCopy(), AudacityProject::OnCursorTrackEnd(), AudacityProject::OnCursorTrackStart(), AudacityProject::OnCut(), AudacityProject::OnDisjoin(), AudacityProject::OnDuplicate(), AudacityProject::OnEffect(), AudacityProject::OnExpandAllTracks(), AudacityProject::OnExportLabels(), AudacityProject::OnFirstTrack(), AudacityProject::OnJoin(), LabelTrack::OnKeyDown(), AudacityProject::OnMuteAllTracks(), AudacityProject::OnNextTrack(), AudacityProject::OnPanTracks(), AudacityProject::OnPaste(), AudacityProject::OnPasteNewLabel(), AudacityProject::OnPrevTrack(), AudacityPrintout::OnPrintPage(), ControlToolBar::OnRecord(), AudacityProject::OnRemoveTracks(), AudacityProject::OnResample(), LabelDialog::OnSelectCell(), AudacityProject::OnSelectCursorEnd(), AudacityProject::OnSelectStartCursor(), AudacityProject::OnSelectSyncLockSel(), AudacityProject::OnSelectTimeAndTracks(), AudacityProject::OnSilence(), AudacityProject::OnSplit(), AudacityProject::OnSplitCut(), AudacityProject::OnSplitDelete(), AudacityProject::OnSplitNew(), AudacityProject::OnTrim(), AudacityProject::OnUnMuteAllTracks(), AudacityProject::OpenFile(), ControlToolBar::PlayPlayRegion(), AudacityProject::PopState(), AudacityProject::ProjectHasTracks(), AudacityProject::RedrawProject(), AudacityProject::Save(), LabelDefaultClickHandle::SaveState(), SelectionState::SelectNone(), AudacityProject::SelectNone(), GetProjectInfoCommand::SendTracksInfo(), SetProjectInfoCommand::SetAllTracksParam(), StartWith(), LabelDialog::TransferDataFromWindow(), MixerBoard::UpdateTrackClusters(), TrackPanel::UpdateVRulerSize(), and SelectionStateChanger::~SelectionStateChanger().

Track * TrackListIterator::Next ( bool  skiplinked = false)
virtual

Reimplemented in SyncLockedTracksIterator, and TrackListCondIterator.

References cur, TrackList::isNull(), and l.

Referenced by SelectCommand::Apply(), SelectionState::ChangeSelectionOnShiftClick(), AudacityProject::Clear(), LabelDefaultClickHandle::Click(), LabelTextHandle::Click(), AudacityProject::CountSelectedTracks(), AudacityProject::CountSelectedWaveTracks(), TimeShiftHandle::CreateListOfCapturedClips(), AudacityProject::DoAddLabel(), AudacityProject::DoZoomFitV(), TrackArtist::DrawTracks(), AudacityProject::EditByLabel(), AudacityProject::EditClipboardByLabel(), AudacityProject::EnqueueODTasks(), TrackPanel::EnsureVisible(), ExportMultiple::ExportMultipleByTrack(), LabelDialog::FindAllLabels(), TrackListCondIterator::First(), GetAllSeqBlocks(), TrackPanel::GetFirstSelectedTrack(), AudacityProject::GetFirstVisible(), AudacityProject::GetRegionsByLabel(), AudacityProject::GetUpdateFlags(), AudacityProject::HandleAlign(), AudacityProject::HandleMixAndRender(), AudacityProject::HandlePasteNothingSelected(), AudacityProject::HandleTrackMute(), AudacityProject::HandleTrackSolo(), MixerBoard::HasSolo(), EffectAutoDuck::Init(), EffectEqualization::Init(), BatchCommands::IsMono(), ODTask::IsTaskAssociatedWithProject(), MixAndRender(), AudacityProject::NearestZeroCrossing(), TrackListCondIterator::Next(), SyncLockedTracksIterator::Next(), AudacityProject::OnCollapseAllTracks(), AudacityProject::OnCopy(), AudacityProject::OnCursorTrackEnd(), AudacityProject::OnCursorTrackStart(), AudacityProject::OnCut(), AudacityProject::OnDisjoin(), AudacityProject::OnDuplicate(), AudacityProject::OnEffect(), AudacityProject::OnExpandAllTracks(), AudacityProject::OnExportLabels(), AudacityProject::OnJoin(), LabelTrack::OnKeyDown(), AudacityProject::OnMuteAllTracks(), AudacityProject::OnPanTracks(), AudacityProject::OnPaste(), AudacityProject::OnPasteNewLabel(), AudacityProject::OnPrevTrack(), AudacityPrintout::OnPrintPage(), ControlToolBar::OnRecord(), AudacityProject::OnRemoveTracks(), AudacityProject::OnResample(), LabelDialog::OnSelectCell(), AudacityProject::OnSelectCursorEnd(), AudacityProject::OnSelectStartCursor(), AudacityProject::OnSelectSyncLockSel(), AudacityProject::OnSelectTimeAndTracks(), AudacityProject::OnSilence(), AudacityProject::OnSplit(), AudacityProject::OnSplitCut(), AudacityProject::OnSplitDelete(), AudacityProject::OnSplitNew(), AudacityProject::OnTrim(), AudacityProject::OnUnMuteAllTracks(), AudacityProject::OpenFile(), ControlToolBar::PlayPlayRegion(), AudacityProject::PopState(), AudacityProject::RedrawProject(), AudacityProject::Save(), LabelDefaultClickHandle::SaveState(), SelectionState::SelectNone(), AudacityProject::SelectNone(), SelectionState::SelectRangeOfTracks(), GetProjectInfoCommand::SendTracksInfo(), SetProjectInfoCommand::SetAllTracksParam(), LabelDialog::TransferDataFromWindow(), MixerBoard::UpdateTrackClusters(), TrackPanel::UpdateVRulerSize(), and SelectionStateChanger::~SelectionStateChanger().

Track * TrackListIterator::Prev ( bool  skiplinked = false)
virtual
Track * TrackListIterator::RemoveCurrent ( )

Member Data Documentation

friend TrackListIterator::TrackList
protected

The documentation for this class was generated from the following files: