Audacity  3.0.3
Public Member Functions | Private Attributes | List of all members
WaveTrack::IntervalData Class Referencefinal

#include <WaveTrack.h>

Inheritance diagram for WaveTrack::IntervalData:
[legend]
Collaboration diagram for WaveTrack::IntervalData:
[legend]

Public Member Functions

 IntervalData (const std::shared_ptr< WaveClip > &pClip)
 
std::shared_ptr< const WaveClipGetClip () const
 
std::shared_ptr< WaveClip > & GetClip ()
 
- Public Member Functions inherited from TrackIntervalData
virtual ~TrackIntervalData ()
 

Private Attributes

std::shared_ptr< WaveClippClip
 

Detailed Description

Definition at line 562 of file WaveTrack.h.

Constructor & Destructor Documentation

◆ IntervalData()

WaveTrack::IntervalData::IntervalData ( const std::shared_ptr< WaveClip > &  pClip)
inlineexplicit

Definition at line 564 of file WaveTrack.h.

565  : pClip{ pClip }
566  {}

Member Function Documentation

◆ GetClip() [1/2]

std::shared_ptr<WaveClip>& WaveTrack::IntervalData::GetClip ( )
inline

Definition at line 568 of file WaveTrack.h.

568 { return pClip; }

◆ GetClip() [2/2]

std::shared_ptr<const WaveClip> WaveTrack::IntervalData::GetClip ( ) const
inline

Definition at line 567 of file WaveTrack.h.

567 { return pClip; }

Referenced by WaveTrackShifter::AdjustFit(), WaveTrackShifter::AdjustT0(), WaveTrackShifter::Attach(), WaveTrackShifter::Detach(), WaveTrackShifter::DoHorizontalOffset(), WaveTrackShifter::HitTest(), and WaveTrackShifter::SelectInterval().

Here is the caller graph for this function:

Member Data Documentation

◆ pClip

std::shared_ptr<WaveClip> WaveTrack::IntervalData::pClip
private

Definition at line 570 of file WaveTrack.h.


The documentation for this class was generated from the following file:
WaveTrack::IntervalData::pClip
std::shared_ptr< WaveClip > pClip
Definition: WaveTrack.h:570