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

#include <plugin_scan_result.h>

Public Types

enum  PluginScanResult {
  OK = 0x000 , New = 0x001 , Updated = 0x002 , Error = 0x004 ,
  Incompatible = 0x008 , TimeOut = 0x010 , Blacklisted = 0x100 , Faulty = 0x017
}
 

Public Member Functions

 PluginScanLogEntry (PluginType const, std::string const &path)
 
 PluginScanLogEntry (XMLNode const &)
 
 PluginScanLogEntry (PluginScanLogEntry const &)
 
void reset ()
 
void set_result (PluginScanResult)
 
void msg (PluginScanResult, std::string msg="")
 
void add (PluginInfoPtr)
 
PluginInfoList const & nfo () const
 
XMLNodestate () const
 
PluginType type () const
 
std::string path () const
 
std::string log () const
 
PluginScanResult result () const
 
bool recent () const
 
bool operator== (PluginScanLogEntry const &other) const
 
bool operator!= (PluginScanLogEntry const &other) const
 
bool operator< (PluginScanLogEntry const &other) const
 

Private Attributes

PluginType _type
 
std::string _path
 
PluginScanResult _result
 
std::string _scan_log
 
PluginInfoList _info
 
bool _recent
 

Detailed Description

Definition at line 33 of file plugin_scan_result.h.

Member Enumeration Documentation

◆ PluginScanResult

Enumerator
OK 
New 
Updated 
Error 
Incompatible 
TimeOut 
Blacklisted 
Faulty 

Definition at line 40 of file plugin_scan_result.h.

Constructor & Destructor Documentation

◆ PluginScanLogEntry() [1/3]

ARDOUR::PluginScanLogEntry::PluginScanLogEntry ( PluginType const  ,
std::string const &  path 
)

◆ PluginScanLogEntry() [2/3]

ARDOUR::PluginScanLogEntry::PluginScanLogEntry ( XMLNode const &  )

◆ PluginScanLogEntry() [3/3]

ARDOUR::PluginScanLogEntry::PluginScanLogEntry ( PluginScanLogEntry const &  )

Member Function Documentation

◆ add()

void ARDOUR::PluginScanLogEntry::add ( PluginInfoPtr  )

◆ log()

std::string ARDOUR::PluginScanLogEntry::log ( ) const
inline

Definition at line 73 of file plugin_scan_result.h.

◆ msg()

void ARDOUR::PluginScanLogEntry::msg ( PluginScanResult  ,
std::string  msg = "" 
)

◆ nfo()

PluginInfoList const& ARDOUR::PluginScanLogEntry::nfo ( ) const
inline

Definition at line 56 of file plugin_scan_result.h.

◆ operator!=()

bool ARDOUR::PluginScanLogEntry::operator!= ( PluginScanLogEntry const &  other) const
inline

Definition at line 93 of file plugin_scan_result.h.

◆ operator<()

bool ARDOUR::PluginScanLogEntry::operator< ( PluginScanLogEntry const &  other) const
inline

Definition at line 98 of file plugin_scan_result.h.

◆ operator==()

bool ARDOUR::PluginScanLogEntry::operator== ( PluginScanLogEntry const &  other) const
inline

Definition at line 88 of file plugin_scan_result.h.

◆ path()

std::string ARDOUR::PluginScanLogEntry::path ( ) const
inline

Definition at line 68 of file plugin_scan_result.h.

◆ recent()

bool ARDOUR::PluginScanLogEntry::recent ( ) const
inline

Definition at line 83 of file plugin_scan_result.h.

◆ reset()

void ARDOUR::PluginScanLogEntry::reset ( )

◆ result()

PluginScanResult ARDOUR::PluginScanLogEntry::result ( ) const
inline

Definition at line 78 of file plugin_scan_result.h.

◆ set_result()

void ARDOUR::PluginScanLogEntry::set_result ( PluginScanResult  )

◆ state()

XMLNode& ARDOUR::PluginScanLogEntry::state ( ) const

◆ type()

PluginType ARDOUR::PluginScanLogEntry::type ( ) const
inline

Definition at line 63 of file plugin_scan_result.h.

Member Data Documentation

◆ _info

PluginInfoList ARDOUR::PluginScanLogEntry::_info
private

Definition at line 111 of file plugin_scan_result.h.

◆ _path

std::string ARDOUR::PluginScanLogEntry::_path
private

Definition at line 108 of file plugin_scan_result.h.

◆ _recent

bool ARDOUR::PluginScanLogEntry::_recent
private

Definition at line 112 of file plugin_scan_result.h.

◆ _result

PluginScanResult ARDOUR::PluginScanLogEntry::_result
private

Definition at line 109 of file plugin_scan_result.h.

◆ _scan_log

std::string ARDOUR::PluginScanLogEntry::_scan_log
private

Definition at line 110 of file plugin_scan_result.h.

◆ _type

PluginType ARDOUR::PluginScanLogEntry::_type
private

Definition at line 107 of file plugin_scan_result.h.


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