Audacity 3.2.0
Public Member Functions | List of all members
TrackAttachment Class Reference

#include <TrackAttachment.h>

Inheritance diagram for TrackAttachment:
[legend]
Collaboration diagram for TrackAttachment:
[legend]

Public Member Functions

virtual ~TrackAttachment ()
 
virtual void CopyTo (Track &track) const
 Copy state, for undo/redo purposes. More...
 
virtual void Reparent (const std::shared_ptr< Track > &parent)
 Object may be shared among tracks but hold a special back-pointer to one of them; reassign it. More...
 
virtual void WriteXMLAttributes (XMLWriter &) const
 Serialize persistent attributes. More...
 
virtual bool HandleXMLAttribute (const std::string_view &attr, const XMLAttributeValueView &valueView)
 Deserialize an attribute, returning true if recognized. More...
 
- Public Member Functions inherited from ClientData::Base
virtual ~Base ()
 

Detailed Description

Definition at line 24 of file TrackAttachment.h.

Constructor & Destructor Documentation

◆ ~TrackAttachment()

TrackAttachment::~TrackAttachment ( )
virtualdefault

Member Function Documentation

◆ CopyTo()

void TrackAttachment::CopyTo ( Track track) const
virtual

Copy state, for undo/redo purposes.

Reimplemented in ChannelAttachmentsBase, and WaveformAppearance.

Definition at line 16 of file TrackAttachment.cpp.

17{
18}

◆ HandleXMLAttribute()

bool TrackAttachment::HandleXMLAttribute ( const std::string_view &  attr,
const XMLAttributeValueView valueView 
)
virtual

Deserialize an attribute, returning true if recognized.

default recognizes no attributes, and returns false

Reimplemented in ChannelAttachmentsBase, and WaveformAppearance.

Definition at line 28 of file TrackAttachment.cpp.

30{
31 return false;
32}

◆ Reparent()

void TrackAttachment::Reparent ( const std::shared_ptr< Track > &  parent)
virtual

Object may be shared among tracks but hold a special back-pointer to one of them; reassign it.

default does nothing

Reimplemented in ChannelAttachmentsBase, WaveformAppearance, and CommonTrackCell.

Definition at line 20 of file TrackAttachment.cpp.

21{
22}

◆ WriteXMLAttributes()

void TrackAttachment::WriteXMLAttributes ( XMLWriter ) const
virtual

Serialize persistent attributes.

default does nothing

Reimplemented in ChannelAttachmentsBase, and WaveformAppearance.

Definition at line 24 of file TrackAttachment.cpp.

25{
26}

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