Audacity 3.2.0
Public Member Functions | List of all members
ChannelGroupInterval Class Referenceabstract

A start and an end time, and whatever else subclasses associate with them. More...

#include <Channel.h>

Inheritance diagram for ChannelGroupInterval:
[legend]

Public Member Functions

 ChannelGroupInterval ()=default
 
virtual ~ChannelGroupInterval ()
 
virtual double Start () const =0
 
virtual double End () const =0
 

Detailed Description

A start and an end time, and whatever else subclasses associate with them.

Start and end are immutable, but subclasses may add other mutable data

Definition at line 29 of file Channel.h.

Constructor & Destructor Documentation

◆ ChannelGroupInterval()

ChannelGroupInterval::ChannelGroupInterval ( )
default

◆ ~ChannelGroupInterval()

ChannelGroupInterval::~ChannelGroupInterval ( )
virtualdefault

Member Function Documentation

◆ End()

virtual double ChannelGroupInterval::End ( ) const
pure virtual
Postcondition
result: Start() < result

Implemented in LabelTrack::Interval, NoteTrack::Interval, WaveClip, and LabelTrackShifter::MovingInterval.

◆ Start()

virtual double ChannelGroupInterval::Start ( ) const
pure virtual
Postcondition
result: result < End()

Implemented in LabelTrack::Interval, NoteTrack::Interval, WaveClip, and LabelTrackShifter::MovingInterval.

Referenced by anonymous_namespace{TimeShiftHandle.cpp}::AdjustToSnap(), and WaveTrack::GetNextInterval().

Here is the caller graph for this function:

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