Ardour  9.0-pre0-350-gf17a656217
ARDOUR::LuaScripting Class Reference

#include <luascripting.h>

Classes

struct  Sorter
 

Public Member Functions

 ~LuaScripting ()
 
LuaScriptListscripts (LuaScriptInfo::ScriptType)
 
void refresh (bool run_scan=false)
 
LuaScriptInfoPtr by_name (const std::string &, LuaScriptInfo::ScriptType)
 

Static Public Member Functions

static LuaScriptinginstance ()
 
static LuaScriptInfoPtr script_info (const std::string &script)
 
static bool try_compile (const std::string &, const LuaScriptParamList &)
 
static std::string get_factory_bytecode (const std::string &, const std::string &ffn="factory", const std::string &fp="f")
 
static std::string user_script_dir ()
 

Public Attributes

PBD::Signal< void()> scripts_changed
 

Private Member Functions

 LuaScripting ()
 
void scan ()
 

Static Private Member Functions

static LuaScriptInfoPtr scan_script (const std::string &, const std::string &sc="")
 
static void lua_print (std::string s)
 

Private Attributes

LuaScriptList_sl_dsp
 
LuaScriptList_sl_session
 
LuaScriptList_sl_hook
 
LuaScriptList_sl_action
 
LuaScriptList_sl_snippet
 
LuaScriptList_sl_setup
 
LuaScriptList_sl_tracks
 
LuaScriptList _empty_script_info
 
Glib::Threads::Mutex _lock
 

Static Private Attributes

static LuaScripting_instance
 

Detailed Description

Definition at line 110 of file luascripting.h.

Constructor & Destructor Documentation

◆ ~LuaScripting()

ARDOUR::LuaScripting::~LuaScripting ( )

◆ LuaScripting()

ARDOUR::LuaScripting::LuaScripting ( )
private

Member Function Documentation

◆ by_name()

LuaScriptInfoPtr ARDOUR::LuaScripting::by_name ( const std::string &  ,
LuaScriptInfo::ScriptType   
)

◆ get_factory_bytecode()

static std::string ARDOUR::LuaScripting::get_factory_bytecode ( const std::string &  ,
const std::string &  ffn = "factory",
const std::string &  fp = "f" 
)
static

◆ instance()

static LuaScripting& ARDOUR::LuaScripting::instance ( )
static

◆ lua_print()

static void ARDOUR::LuaScripting::lua_print ( std::string  s)
staticprivate

◆ refresh()

void ARDOUR::LuaScripting::refresh ( bool  run_scan = false)

◆ scan()

void ARDOUR::LuaScripting::scan ( )
private

◆ scan_script()

static LuaScriptInfoPtr ARDOUR::LuaScripting::scan_script ( const std::string &  ,
const std::string &  sc = "" 
)
staticprivate

◆ script_info()

static LuaScriptInfoPtr ARDOUR::LuaScripting::script_info ( const std::string &  script)
static

◆ scripts()

LuaScriptList& ARDOUR::LuaScripting::scripts ( LuaScriptInfo::ScriptType  )

◆ try_compile()

static bool ARDOUR::LuaScripting::try_compile ( const std::string &  ,
const LuaScriptParamList  
)
static

◆ user_script_dir()

static std::string ARDOUR::LuaScripting::user_script_dir ( )
static

Member Data Documentation

◆ _empty_script_info

LuaScriptList ARDOUR::LuaScripting::_empty_script_info
private

Definition at line 147 of file luascripting.h.

◆ _instance

LuaScripting* ARDOUR::LuaScripting::_instance
staticprivate

Definition at line 133 of file luascripting.h.

◆ _lock

Glib::Threads::Mutex ARDOUR::LuaScripting::_lock
private

Definition at line 149 of file luascripting.h.

◆ _sl_action

LuaScriptList* ARDOUR::LuaScripting::_sl_action
private

Definition at line 143 of file luascripting.h.

◆ _sl_dsp

LuaScriptList* ARDOUR::LuaScripting::_sl_dsp
private

Definition at line 140 of file luascripting.h.

◆ _sl_hook

LuaScriptList* ARDOUR::LuaScripting::_sl_hook
private

Definition at line 142 of file luascripting.h.

◆ _sl_session

LuaScriptList* ARDOUR::LuaScripting::_sl_session
private

Definition at line 141 of file luascripting.h.

◆ _sl_setup

LuaScriptList* ARDOUR::LuaScripting::_sl_setup
private

Definition at line 145 of file luascripting.h.

◆ _sl_snippet

LuaScriptList* ARDOUR::LuaScripting::_sl_snippet
private

Definition at line 144 of file luascripting.h.

◆ _sl_tracks

LuaScriptList* ARDOUR::LuaScripting::_sl_tracks
private

Definition at line 146 of file luascripting.h.

◆ scripts_changed

PBD::Signal<void()> ARDOUR::LuaScripting::scripts_changed

Definition at line 119 of file luascripting.h.


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