Audacity 3.2.0
|
#include <ChannelAttachments.h>
Public Member Functions | |
virtual | ~ChannelAttachment () |
virtual void | CopyTo (Track &track, size_t iChannel) const |
Copy state, for undo/redo purposes. More... | |
virtual void | Reparent (const std::shared_ptr< Track > &parent, size_t iChannel) |
Object may be shared among tracks but hold a special back-pointer to one of them; reassign it. More... | |
virtual void | WriteXMLAttributes (XMLWriter &writer, size_t iChannel) const |
Serialize persistent attributes. More... | |
virtual bool | HandleXMLAttribute (const std::string_view &attr, const XMLAttributeValueView &valueView, size_t iChannel) |
Deserialize an attribute, returning true if recognized. More... | |
Like the TrackAttachment interface, but member functions take an extra argument choosing the channel
Definition at line 20 of file ChannelAttachments.h.
|
virtualdefault |
|
virtual |
Copy state, for undo/redo purposes.
iChannel | position of the attachment's channel in the group The default does nothing |
Reimplemented in LabelTrackView, WaveChannelView, and ChannelView.
Definition at line 24 of file ChannelAttachments.cpp.
|
virtual |
Deserialize an attribute, returning true if recognized.
default recognizes no attributes, and returns false
Reimplemented in ChannelView.
Definition at line 36 of file ChannelAttachments.cpp.
|
virtual |
Object may be shared among tracks but hold a special back-pointer to one of them; reassign it.
iChannel | position of the attachment's channel in the group The default does nothing |
Reimplemented in LabelTrackView, WaveChannelView, ChannelView, and CommonChannelCell.
Definition at line 28 of file ChannelAttachments.cpp.
|
virtual |
Serialize persistent attributes.
default does nothing
Reimplemented in ChannelView.
Definition at line 32 of file ChannelAttachments.cpp.