Audacity 3.2.0
Classes | Namespaces | Typedefs | Functions | Variables
ChannelView.cpp File Reference
#include "ChannelView.h"
#include "ChannelAttachments.h"
#include "ChannelVRulerControls.h"
#include "ClientData.h"
#include "PendingTracks.h"
#include "Project.h"
#include "XMLTagHandler.h"
#include "XMLWriter.h"
Include dependency graph for ChannelView.cpp:

Go to the source code of this file.

Classes

struct  anonymous_namespace{ChannelView.cpp}::TrackPositioner
 

Namespaces

namespace  anonymous_namespace{ChannelView.cpp}
 

Typedefs

using ChannelViewAttachments = ChannelAttachments< ChannelView >
 

Functions

std::string anonymous_namespace{ChannelView.cpp}::AttributeName (const std::string &name, size_t index)
 
std::string anonymous_namespace{ChannelView.cpp}::HeightAttributeName (size_t index)
 
std::string anonymous_namespace{ChannelView.cpp}::MinimizedAttributeName (size_t index)
 
 DEFINE_ATTACHED_VIRTUAL (DoGetView)
 

Variables

static const AttachedTrackObjects::RegisteredFactory keyC
 
static const AudacityProject::AttachedObjects::RegisteredFactory anonymous_namespace{ChannelView.cpp}::key
 

Typedef Documentation

◆ ChannelViewAttachments

Definition at line 79 of file ChannelView.cpp.

Function Documentation

◆ DEFINE_ATTACHED_VIRTUAL()

DEFINE_ATTACHED_VIRTUAL ( DoGetView  )

Definition at line 306 of file ChannelView.cpp.

306 {
307 return nullptr;
308}

Variable Documentation

◆ keyC

Initial value:
{
[](Track &track){
return std::make_shared<ChannelViewAttachments>(track,
[](Track &track, size_t iChannel) {
assert(iChannel < track.NChannels());
return DoGetView::Call(track, iChannel);
}
);
}
}
static Return Call(This &obj, Arguments ...arguments)
Invoke the method – but only after static initialization time.
virtual size_t NChannels() const =0
Report the number of channels.
Abstract base class for an object holding data associated with points on a time axis.
Definition: Track.h:110

Definition at line 81 of file ChannelView.cpp.

Referenced by ChannelView::FindFromChannelGroup(), and ChannelView::GetFromChannelGroup().