Audacity 3.2.0
Public Types | Public Attributes | List of all members
RealtimeEffectListMessage Struct Referencefinal

#include <RealtimeEffectList.h>

Collaboration diagram for RealtimeEffectListMessage:
[legend]

Public Types

enum class  Type {
  Insert , WillReplace , DidReplace , Remove ,
  Move
}
 

Public Attributes

Type type
 
size_t srcIndex
 
size_t dstIndex
 
std::shared_ptr< RealtimeEffectStateaffectedState
 

Detailed Description

Definition at line 26 of file RealtimeEffectList.h.

Member Enumeration Documentation

◆ Type

Enumerator
Insert 

New effect item was added to the list at srcIndex position. affectedState is a new state.

WillReplace 

Effect item will be replaced with a new item at srcIndex position. affectedState is the state to be replaced.

DidReplace 

Effect item was replaced with a new item at srcIndex position. affectedState is an old state.

Remove 

Effect item was removed from the list at srcIndex position. affectedState is removed state.

Move 

Item position has changed, from srcIndex to dstIndex. affectedState is the moved state.

Definition at line 28 of file RealtimeEffectList.h.

29 {
30 Insert,
31 WillReplace,
32 DidReplace,
33 Remove,
34 Move
35 };
PROJECT_FILE_IO_API void Remove(const FilePath &path)

Member Data Documentation

◆ affectedState

std::shared_ptr<RealtimeEffectState> RealtimeEffectListMessage::affectedState

◆ dstIndex

size_t RealtimeEffectListMessage::dstIndex

◆ srcIndex

size_t RealtimeEffectListMessage::srcIndex

◆ type

Type RealtimeEffectListMessage::type

The documentation for this struct was generated from the following file: