Audacity 3.2.0
Public Member Functions | Public Attributes | List of all members
LabelTrackShifter::MovingInterval Struct Referencefinal
Inheritance diagram for LabelTrackShifter::MovingInterval:
[legend]
Collaboration diagram for LabelTrackShifter::MovingInterval:
[legend]

Public Member Functions

 MovingInterval (double start, double end, const LabelStruct &label)
 
double Start () const override
 
double End () const override
 
- Public Member Functions inherited from ChannelGroupInterval
 ChannelGroupInterval ()=default
 
virtual ~ChannelGroupInterval ()
 
virtual double Start () const =0
 
virtual double End () const =0
 

Public Attributes

SelectedRegion region
 
wxString title
 
const double start
 
const double end
 

Detailed Description

Definition at line 97 of file LabelTrackShifter.cpp.

Constructor & Destructor Documentation

◆ MovingInterval()

LabelTrackShifter::MovingInterval::MovingInterval ( double  start,
double  end,
const LabelStruct label 
)
inline

Definition at line 100 of file LabelTrackShifter.cpp.

101 : start{ start }, end{ end }
102 , region{ label.selectedRegion }
103 , title{ label.title }
104 {}
TranslatableString label
Definition: TagsEditor.cpp:165

Member Function Documentation

◆ End()

double LabelTrackShifter::MovingInterval::End ( ) const
inlineoverridevirtual
Postcondition
result: Start() < result

Implements ChannelGroupInterval.

Definition at line 106 of file LabelTrackShifter.cpp.

106{ return end; }

References end.

◆ Start()

double LabelTrackShifter::MovingInterval::Start ( ) const
inlineoverridevirtual
Postcondition
result: result < End()

Implements ChannelGroupInterval.

Definition at line 105 of file LabelTrackShifter.cpp.

105{ return start; }

References start.

Member Data Documentation

◆ end

const double LabelTrackShifter::MovingInterval::end

Definition at line 107 of file LabelTrackShifter.cpp.

Referenced by End().

◆ region

SelectedRegion LabelTrackShifter::MovingInterval::region

Definition at line 98 of file LabelTrackShifter.cpp.

◆ start

const double LabelTrackShifter::MovingInterval::start

Definition at line 107 of file LabelTrackShifter.cpp.

Referenced by Start().

◆ title

wxString LabelTrackShifter::MovingInterval::title

Definition at line 99 of file LabelTrackShifter.cpp.


The documentation for this struct was generated from the following file: