Audacity 3.2.0
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
anonymous_namespace{WaveChannelView.cpp}::PlacementArray Struct Reference
Inheritance diagram for anonymous_namespace{WaveChannelView.cpp}::PlacementArray:
[legend]
Collaboration diagram for anonymous_namespace{WaveChannelView.cpp}::PlacementArray:
[legend]

Public Member Functions

 ~PlacementArray ()=default
 
std::unique_ptr< Cloneable<> > Clone () const
 
- Public Member Functions inherited from ClientData::Cloneable< Covariant, Owner >
 Cloneable ()=default
 
 Cloneable (const Cloneable &)=default
 
Cloneableoperator= (const Cloneable &)=default
 
virtual ~Cloneable ()=default
 
virtual PointerType Clone () const =0
 

Static Public Member Functions

static PlacementArrayGet (Track &track)
 
static const PlacementArrayGet (const Track &track)
 

Public Attributes

WaveChannelSubViewPlacements mPlacements
 
bool mMultiView { false }
 

Additional Inherited Members

- Public Types inherited from ClientData::Cloneable< Covariant, Owner >
using Base = std::conditional_t< std::is_void_v< Covariant >, Cloneable, Covariant >
 
using PointerType = Owner< Base >
 

Detailed Description

Definition at line 59 of file WaveChannelView.cpp.

Constructor & Destructor Documentation

◆ ~PlacementArray()

anonymous_namespace{WaveChannelView.cpp}::PlacementArray::~PlacementArray ( )
default

Member Function Documentation

◆ Clone()

std::unique_ptr< Cloneable<> > anonymous_namespace{WaveChannelView.cpp}::PlacementArray::Clone ( ) const
inlinevirtual

Implements ClientData::Cloneable< Covariant, Owner >.

Definition at line 63 of file WaveChannelView.cpp.

63 {
64 return std::make_unique<PlacementArray>(*this); }

◆ Get() [1/2]

const PlacementArray & anonymous_namespace{WaveChannelView.cpp}::PlacementArray::Get ( const Track track)
static

Definition at line 78 of file WaveChannelView.cpp.

79{
80 return Get(const_cast<Track &>(track));
81}
Abstract base class for an object holding data associated with points on a time axis.
Definition: Track.h:110

References BasicUI::Get().

Here is the call graph for this function:

◆ Get() [2/2]

PlacementArray & anonymous_namespace{WaveChannelView.cpp}::PlacementArray::Get ( Track track)
static

Definition at line 73 of file WaveChannelView.cpp.

74{
75 return track.Attachments::Get<PlacementArray>(key);
76}
static const ChannelGroup::Attachments::RegisteredFactory key

References anonymous_namespace{WaveChannelView.cpp}::key.

Member Data Documentation

◆ mMultiView

bool anonymous_namespace{WaveChannelView.cpp}::PlacementArray::mMultiView { false }

Definition at line 66 of file WaveChannelView.cpp.

◆ mPlacements

WaveChannelSubViewPlacements anonymous_namespace{WaveChannelView.cpp}::PlacementArray::mPlacements

Definition at line 65 of file WaveChannelView.cpp.


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