Audacity 3.2.0
Classes | Typedefs | Enumerations | Functions | Variables
SyncLock.h File Reference
#include "Prefs.h"
#include "Track.h"
#include "AttachedVirtualFunction.h"
#include "Observer.h"
Include dependency graph for SyncLock.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  SyncLockChangeMessage
 Sent after sync lock setting changes, with its new state. More...
 
class  SyncLockState
 
class  SyncLock
 

Typedefs

using GetSyncLockPolicy = AttachedVirtualFunction< GetSyncLockPolicyTag, SyncLockPolicy, const Track >
 Describe how this track participates in sync-lock groupings; defaults to Isolated. More...
 

Enumerations

enum class  SyncLockPolicy { Isolated , Grouped , EndSeparator }
 Describes how a track participates in sync-lock groupings. More...
 

Functions

 DECLARE_EXPORTED_ATTACHED_VIRTUAL (TRACK_SELECTION_API, GetSyncLockPolicy)
 

Variables

TRACK_SELECTION_API BoolSetting SyncLockTracks
 

Typedef Documentation

◆ GetSyncLockPolicy

using GetSyncLockPolicy = AttachedVirtualFunction< GetSyncLockPolicyTag, SyncLockPolicy, const Track >

Describe how this track participates in sync-lock groupings; defaults to Isolated.

Definition at line 84 of file SyncLock.h.

Enumeration Type Documentation

◆ SyncLockPolicy

enum class SyncLockPolicy
strong

Describes how a track participates in sync-lock groupings.

Enumerator
Isolated 

Never part of a group.

Grouped 

Can be part of a group.

EndSeparator 

Delimits the end of a group (of which it is a part)

Definition at line 75 of file SyncLock.h.

75 {
76 Isolated,
77 Grouped,
79};
@ EndSeparator
Delimits the end of a group (of which it is a part)
@ Grouped
Can be part of a group.
@ Isolated
Never part of a group.

Function Documentation

◆ DECLARE_EXPORTED_ATTACHED_VIRTUAL()

DECLARE_EXPORTED_ATTACHED_VIRTUAL ( TRACK_SELECTION_API  ,
GetSyncLockPolicy   
)

Variable Documentation

◆ SyncLockTracks

TRACK_SELECTION_API BoolSetting SyncLockTracks
extern