MCPcopy Create free account
hub / github.com/audacity/audacity / Group

Method Group

libraries/lib-track-selection/SyncLock.cpp:150–157  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

148}
149
150TrackIterRange<Track> SyncLock::Group(Track &track)
151{
152 auto pList = track.GetOwner();
153 assert(pList); // precondition
154 auto tracks = FindSyncLockGroup(const_cast<Track&>(track));
155 return pList->Any()
156 .StartingWith(tracks.first).EndingAfter(tracks.second);
157}
158
159DEFINE_ATTACHED_VIRTUAL(GetSyncLockPolicy) {
160 return [](auto&){ return SyncLockPolicy::Isolated; };

Callers

nothing calls this directly

Calls 4

FindSyncLockGroupFunction · 0.85
EndingAfterMethod · 0.80
StartingWithMethod · 0.80
AnyMethod · 0.45

Tested by

no test coverage detected