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

#include <library.h>

Public Member Functions

 LibraryFetcher ()
 
int add (std::string const &root_dir)
 
int get_descriptions ()
 
size_t n_descriptions () const
 
void foreach_description (std::function< void(LibraryDescription)> f) const
 
bool installed (LibraryDescription const &desc)
 
void foreach_description (std::function< void(LibraryDescription)> f)
 

Private Member Functions

std::string install_path_for (LibraryDescription const &)
 

Private Attributes

std::vector< LibraryDescription_descriptions
 

Detailed Description

Definition at line 61 of file library.h.

Constructor & Destructor Documentation

◆ LibraryFetcher()

ARDOUR::LibraryFetcher::LibraryFetcher ( )

Member Function Documentation

◆ add()

int ARDOUR::LibraryFetcher::add ( std::string const &  root_dir)

◆ foreach_description() [1/2]

void ARDOUR::LibraryFetcher::foreach_description ( std::function< void(LibraryDescription)>  f)

◆ foreach_description() [2/2]

void ARDOUR::LibraryFetcher::foreach_description ( std::function< void(LibraryDescription)>  f) const

◆ get_descriptions()

int ARDOUR::LibraryFetcher::get_descriptions ( )

◆ install_path_for()

std::string ARDOUR::LibraryFetcher::install_path_for ( LibraryDescription const &  )
private

◆ installed()

bool ARDOUR::LibraryFetcher::installed ( LibraryDescription const &  desc)

◆ n_descriptions()

size_t ARDOUR::LibraryFetcher::n_descriptions ( ) const
inline

Definition at line 68 of file library.h.

Member Data Documentation

◆ _descriptions

std::vector<LibraryDescription> ARDOUR::LibraryFetcher::_descriptions
private

Definition at line 75 of file library.h.


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