Audacity 3.2.0
Classes | Functions
PluginDataModel.cpp File Reference
#include "PluginDataModel.h"
#include "ModuleManager.h"
#include "PluginManager.h"
Include dependency graph for PluginDataModel.cpp:

Go to the source code of this file.

Classes

union  RowConv
 

Functions

uint32_t GetRowIndex (const wxDataViewItem &item)
 
void * MakeRow (uint32_t index)
 

Detailed Description


Audacity: A Digital Audio Editor

Author
Vitaly Sverchinsky

Definition in file PluginDataModel.cpp.

Function Documentation

◆ GetRowIndex()

uint32_t GetRowIndex ( const wxDataViewItem &  item)

Definition at line 24 of file PluginDataModel.cpp.

25{
26 const RowConv conv { item.GetID() };
27 return conv.value & 0x7FFFFFFF;
28}
uint32_t value

References RowConv::value.

Referenced by PluginDataModel::GetPlugin(), PluginDataModel::GetRowForItem(), PluginDataModel::GetValue(), and PluginDataModel::SetValue().

Here is the caller graph for this function:

◆ MakeRow()

void * MakeRow ( uint32_t  index)

Definition at line 30 of file PluginDataModel.cpp.

31{
32 RowConv conv { nullptr };
33 conv.value = index | 0x80000000;
34 return conv.data;
35}

References RowConv::value.

Referenced by PluginDataModel::UpdateFilter().

Here is the caller graph for this function: