LogoSearch packages:      

Sourcecode: audacity version File versions

TimeTrack Class Reference

Inheritance diagram for TimeTrack:

Track XMLTagHandler

List of all members.


Detailed Description

A kind of Track used to 'warp time'.

Definition at line 23 of file TimeTrack.h.


Public Types

enum  { LeftChannel = 0, RightChannel = 1, MonoChannel = 2 }
enum  {
  None, Wave, Note, Label,
  Time
}

Public Member Functions

virtual bool Clear (double t0, double t1)
virtual bool Copy (double t0, double t1, Track **dest)
virtual bool Cut (double t0, double t1, Track **dest)
void Draw (wxDC &dc, wxRect &r, double h, double pps)
int GetChannel () const
wxString GetDefaultName () const
DirManagerGetDirManager () const
virtual double GetEndTime ()
EnvelopeGetEnvelope ()
virtual bool GetErrorOpening ()
int GetHeight () const
virtual int GetKind () const
bool GetLinked () const
bool GetMinimized () const
virtual int GetMinimizedHeight () const
bool GetMute () const
wxString GetName () const
virtual double GetOffset ()
long GetRangeLower ()
long GetRangeUpper ()
bool GetSelected () const
bool GetSolo () const
virtual double GetStartTime ()
bool GetTeamed () const
virtual XMLTagHandlerHandleXMLChild (const wxChar *tag)
virtual void HandleXMLEndTag (const wxChar *tag)
virtual bool HandleXMLTag (const wxChar *tag, const wxChar **attrs)
void Init (const Track &orig)
virtual bool InsertSilence (double t, double len)
bool Lock ()
virtual void Merge (const Track &orig)
void Offset (double t)
virtual bool Paste (double t, Track *src)
XMLTagHandlerReadXMLChild (const char *tag)
void ReadXMLEndTag (const char *tag)
bool ReadXMLTag (const char *tag, const char **attrs)
void SetChannel (int c)
void SetDefaultName (wxString n)
void SetHeight (int h)
void SetLinked (bool l)
void SetMinimized (bool isMinimized)
void SetMute (bool m)
void SetName (wxString n)
virtual void SetOffset (double)
void SetRangeLower (long lower)
void SetRangeUpper (long upper)
void SetSelected (bool s)
void SetSolo (bool s)
void SetTeamed (bool l)
virtual bool Silence (double t0, double t1)
void testMe ()
 TimeTrack (TimeTrack &orig)
 TimeTrack (DirManager *projDirManager)
bool Unlock ()
double warp (double t)
virtual void WriteXML (XMLWriter &xmlFile)

Static Public Member Functions

static wxString XMLEsc (wxString s)

Public Attributes

enum Track:: { ... }  TrackKindEnum

Protected Attributes

int mChannel
wxString mDefaultName
DirManagermDirManager
int mHeight
bool mLinked
bool mMinimized
bool mMute
wxString mName
double mOffset
bool mSelected
bool mSolo
bool mTeamed

Private Member Functions

virtual TrackDuplicate ()
void Init (const TimeTrack &orig)

Private Attributes

wxBrush blankBrush
wxPen blankPen
EnvelopemEnvelope
long mRangeLower
long mRangeUpper
RulermRuler

Friends

class TrackFactory

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

Generated by  Doxygen 1.5.1   Back to index