Audacity  2.2.0
TrackFactory Class Reference

Used to create a WaveTrack, or a LabelTrack.. Implementation of the functions of this class are dispersed through the different Track classes. More...

#include <Track.h>

Public Member Functions

std::unique_ptr< WaveTrackDuplicateWaveTrack (const WaveTrack &orig)
 
std::unique_ptr< WaveTrackNewWaveTrack (sampleFormat format=(sampleFormat) 0, double rate=0)
 
std::unique_ptr< LabelTrackNewLabelTrack ()
 
std::unique_ptr< TimeTrackNewTimeTrack ()
 

Private Member Functions

 TrackFactory (const std::shared_ptr< DirManager > &dirManager, const ZoomInfo *zoomInfo)
 

Private Attributes

const std::shared_ptr< DirManagermDirManager
 
const ZoomInfo *const mZoomInfo
 

Friends

class AudacityProject
 
class BenchmarkDialog
 

Detailed Description

Used to create a WaveTrack, or a LabelTrack.. Implementation of the functions of this class are dispersed through the different Track classes.

Constructor & Destructor Documentation

TrackFactory::TrackFactory ( const std::shared_ptr< DirManager > &  dirManager,
const ZoomInfo zoomInfo 
)
inlineprivate

Member Function Documentation

WaveTrack::Holder TrackFactory::DuplicateWaveTrack ( const WaveTrack orig)
std::unique_ptr< TimeTrack > TrackFactory::NewTimeTrack ( )

Friends And Related Function Documentation

friend class AudacityProject
friend
friend class BenchmarkDialog
friend

Member Data Documentation

const std::shared_ptr<DirManager> TrackFactory::mDirManager
private
const ZoomInfo* const TrackFactory::mZoomInfo
private

Referenced by NewTimeTrack().


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