gmerlin
Data Fields
bg_plugin_handle_s Struct Reference

Handle of a loaded plugin. More...

#include <pluginregistry.h>

Data Fields

void * dll_handle
 dll_handle (don't touch)
 
pthread_mutex_t mutex
 dll_handle (don't touch, use bg_plugin_lock and bg_plugin_unlock)
 
int refcount
 Reference counter (don't touch, use bg_plugin_ref and bg_plugin_unref)
 
bg_plugin_registry_tplugin_reg
 The plugin registry, from which the plugin was loaded.
 
const bg_plugin_common_tplugin
 Common structure, cast this to the derived type (e.g. bg_input_plugin_t).
 
bg_plugin_common_tplugin_nc
 Used for dynamic allocation. Never touch this.
 
const bg_plugin_info_tinfo
 Info about this plugin.
 
void * priv
 Private handle, passed as the first argument to most plugin functions.
 
gavl_edl_t * edl
 EDL.
 

Detailed Description

Handle of a loaded plugin.

When you load a plugin, the shared module will be loaded. Then, the create method of the plugin is called. The pointer obtained from the create method is stored in the priv member of the returned handle.

Field Documentation

◆ dll_handle

void* bg_plugin_handle_s::dll_handle

dll_handle (don't touch)

◆ mutex

pthread_mutex_t bg_plugin_handle_s::mutex

dll_handle (don't touch, use bg_plugin_lock and bg_plugin_unlock)

◆ refcount

int bg_plugin_handle_s::refcount

Reference counter (don't touch, use bg_plugin_ref and bg_plugin_unref)

◆ plugin_reg

bg_plugin_registry_t* bg_plugin_handle_s::plugin_reg

The plugin registry, from which the plugin was loaded.

◆ plugin

const bg_plugin_common_t* bg_plugin_handle_s::plugin

Common structure, cast this to the derived type (e.g. bg_input_plugin_t).

◆ plugin_nc

bg_plugin_common_t* bg_plugin_handle_s::plugin_nc

Used for dynamic allocation. Never touch this.

◆ info

const bg_plugin_info_t* bg_plugin_handle_s::info

Info about this plugin.

◆ priv

void* bg_plugin_handle_s::priv

Private handle, passed as the first argument to most plugin functions.

◆ edl

gavl_edl_t* bg_plugin_handle_s::edl

EDL.


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