Audacity 3.2.0
Namespaces | Macros | Typedefs | Functions | Variables
LV2Symbols.cpp File Reference
#include "LV2Symbols.h"
#include <wx/crt.h>
#include "lv2/atom/atom.h"
#include "lv2/buf-size/buf-size.h"
#include "lv2/log/log.h"
#include "lv2/midi/midi.h"
#include "lv2/options/options.h"
#include "lv2/parameters/parameters.h"
#include "lv2/port-groups/port-groups.h"
#include "lv2/port-props/port-props.h"
#include "lv2/presets/presets.h"
#include "lv2/resize-port/resize-port.h"
#include "lv2/time/time.h"
#include "lv2/units/units.h"
#include "lv2_external_ui.h"
Include dependency graph for LV2Symbols.cpp:

Go to the source code of this file.

Namespaces

namespace  LV2Symbols
 

Macros

#define NODE(n, u)
 
#define URID(n, u)   LV2_URID urid_##n = 0;
 
#define NODE(n, u)
 
#define URID(n, u)   urid_##n = Lookup_URI(gURIDMap, u);
 

Typedefs

using LV2Symbols::LilvWorldPtr = Lilv_ptr< LilvWorld, lilv_world_free >
 

Functions

URIDLIST bool LV2Symbols::InitializeGWorld ()
 Call before any use of the constants defined in this file. More...
 
void LV2Symbols::FinalizeGWorld ()
 Call at end of session. More...
 
LV2_URID LV2Symbols::Lookup_URI (URIDMap &map, const char *uri, bool add)
 

Variables

static LilvWorldPtr LV2Symbols::uWorld
 
LilvWorld * LV2Symbols::gWorld = nullptr
 
URIDMap LV2Symbols::gURIDMap
 Declare the global map of positive integers to URIs. More...
 

Detailed Description


Audacity: A Digital Audio Editor

Paul Licameli split from LoadLV2.cpp

Definition in file LV2Symbols.cpp.

Macro Definition Documentation

◆ NODE [1/2]

#define NODE (   n,
 
)
Value:
LilvNode *node_##n = nullptr; \
LilvNodePtr unode_##n;

Definition at line 38 of file LV2Symbols.cpp.

◆ NODE [2/2]

#define NODE (   n,
 
)
Value:
unode_##n.reset(lilv_new_uri(gWorld, u)); \
node_##n = unode_##n.get();
LilvWorld * gWorld
Definition: LV2Symbols.cpp:31

Definition at line 38 of file LV2Symbols.cpp.

◆ URID [1/2]

#define URID (   n,
 
)    LV2_URID urid_##n = 0;

Definition at line 45 of file LV2Symbols.cpp.

◆ URID [2/2]

#define URID (   n,
 
)    urid_##n = Lookup_URI(gURIDMap, u);

Definition at line 45 of file LV2Symbols.cpp.