Ardour  9.0-pre0-582-g084a23a80d
ARDOUR::LuaScriptInfo Class Reference

#include <luascripting.h>

Public Types

enum  ScriptType {
  Invalid , DSP , Session , EditorHook ,
  EditorAction , Snippet , SessionInit
}
 
enum  ScriptSubType { None = 0x00 , RouteSetup = 0x01 , SessionSetup = 0x02 }
 

Public Member Functions

 LuaScriptInfo (ScriptType t, const std::string &n, const std::string &p, const std::string &uid)
 
virtual ~LuaScriptInfo ()
 

Static Public Member Functions

static std::string type2str (const ScriptType t)
 
static ScriptType str2type (const std::string &str)
 

Public Attributes

ScriptType type
 
uint32_t subtype
 
std::string name
 
std::string path
 
std::string unique_id
 
std::string author
 
std::string license
 
std::string category
 
std::string description
 

Detailed Description

Definition at line 31 of file luascripting.h.

Member Enumeration Documentation

◆ ScriptSubType

Enumerator
None 
RouteSetup 
SessionSetup 

Definition at line 45 of file luascripting.h.

◆ ScriptType

Enumerator
Invalid 
DSP 
Session 
EditorHook 
EditorAction 
Snippet 
SessionInit 

Definition at line 34 of file luascripting.h.

Constructor & Destructor Documentation

◆ LuaScriptInfo()

ARDOUR::LuaScriptInfo::LuaScriptInfo ( ScriptType  t,
const std::string &  n,
const std::string &  p,
const std::string &  uid 
)
inline

Definition at line 54 of file luascripting.h.

◆ ~LuaScriptInfo()

virtual ARDOUR::LuaScriptInfo::~LuaScriptInfo ( )
inlinevirtual

Definition at line 62 of file luascripting.h.

Member Function Documentation

◆ str2type()

static ScriptType ARDOUR::LuaScriptInfo::str2type ( const std::string &  str)
static

◆ type2str()

static std::string ARDOUR::LuaScriptInfo::type2str ( const ScriptType  t)
static

Member Data Documentation

◆ author

std::string ARDOUR::LuaScriptInfo::author

Definition at line 71 of file luascripting.h.

◆ category

std::string ARDOUR::LuaScriptInfo::category

Definition at line 73 of file luascripting.h.

◆ description

std::string ARDOUR::LuaScriptInfo::description

Definition at line 74 of file luascripting.h.

◆ license

std::string ARDOUR::LuaScriptInfo::license

Definition at line 72 of file luascripting.h.

◆ name

std::string ARDOUR::LuaScriptInfo::name

Definition at line 67 of file luascripting.h.

◆ path

std::string ARDOUR::LuaScriptInfo::path

Definition at line 68 of file luascripting.h.

◆ subtype

uint32_t ARDOUR::LuaScriptInfo::subtype

Definition at line 65 of file luascripting.h.

◆ type

ScriptType ARDOUR::LuaScriptInfo::type

Definition at line 64 of file luascripting.h.

◆ unique_id

std::string ARDOUR::LuaScriptInfo::unique_id

Definition at line 69 of file luascripting.h.


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