Ardour  9.2-567-gf42f34d25f
ARDOUR::LibraryFetcher Class Reference

#include <library.h>

Public Member Functions

 LibraryFetcher (std::string const &manifest, std::string const &install_path, std::string const &root_node_name)
 
int get_descriptions ()
 
size_t n_descriptions () const
 
void foreach_description (std::function< void(RemoteResourceInfo)> f) const
 
bool installed (RemoteResourceInfo const &desc)
 
void foreach_description (std::function< void(RemoteResourceInfo)> f)
 

Private Member Functions

std::string install_path_for (RemoteResourceInfo const &)
 

Private Attributes

std::vector< RemoteResourceInfo_descriptions
 
std::string _manifest_url
 
std::string _install_path
 
std::string _root_node_name
 

Detailed Description

Definition at line 59 of file library.h.

Constructor & Destructor Documentation

◆ LibraryFetcher()

ARDOUR::LibraryFetcher::LibraryFetcher ( std::string const &  manifest,
std::string const &  install_path,
std::string const &  root_node_name 
)

Member Function Documentation

◆ foreach_description() [1/2]

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

◆ foreach_description() [2/2]

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

◆ get_descriptions()

int ARDOUR::LibraryFetcher::get_descriptions ( )

◆ install_path_for()

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

◆ installed()

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

◆ n_descriptions()

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

Definition at line 64 of file library.h.

Member Data Documentation

◆ _descriptions

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

Definition at line 71 of file library.h.

◆ _install_path

std::string ARDOUR::LibraryFetcher::_install_path
private

Definition at line 75 of file library.h.

◆ _manifest_url

std::string ARDOUR::LibraryFetcher::_manifest_url
private

Definition at line 74 of file library.h.

◆ _root_node_name

std::string ARDOUR::LibraryFetcher::_root_node_name
private

Definition at line 76 of file library.h.


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