class Gambit::Scanner::Plugins::Plugin_Loader

container class for the actual plugins detected by ScannerBit

#include <plugin_loader.hpp>

Public Functions

Name
Plugin_Loader()
const std::vector< Plugin_Details > &getPluginsVec() const
const std::map< std::string, std::map< std::string, std::vector< Plugin_Details > > > &getPluginsMap() const
voidloadLibrary(const std::string & p_str, const std::string & plug ="")
std::vector< std::string >print_plugin_names(const std::string & plug_type ="") const
std::stringprint_all(const std::string & plug_type ="") const
intprint_all_to_screen(const std::string & plug_type ="") const
std::stringprint_plugin(const std::string & name) const
std::stringprint_plugin(const std::string & type, const std::string & plugin) const
std::vector< std::string >list_prior_groups() const
std::stringprint_priors(const std::string & prior_group =“priors”) const
intprint_plugin_to_screen(const std::string & name) const
intprint_plugin_to_screen(const std::string & type, const std::string & name) const
intprint_plugin_to_screen(const std::vector< std::string > & names) const
Plugin_Details &find(const std::string & type, std::string plugin, const std::string & version, const std::string & lib) const

Public Functions Documentation

function Plugin_Loader

Plugin_Loader()

function getPluginsVec

inline const std::vector< Plugin_Details > & getPluginsVec() const

function getPluginsMap

inline const std::map< std::string, std::map< std::string, std::vector< Plugin_Details > > > & getPluginsMap() const

function loadLibrary

void loadLibrary(
    const std::string & p_str,
    const std::string & plug =""
)

function print_plugin_names

std::vector< std::string > print_plugin_names(
    const std::string & plug_type =""
) const

function print_all

std::string print_all(
    const std::string & plug_type =""
) const

function print_all_to_screen

int print_all_to_screen(
    const std::string & plug_type =""
) const

function print_plugin

std::string print_plugin(
    const std::string & name
) const

function print_plugin

std::string print_plugin(
    const std::string & type,
    const std::string & plugin
) const

function list_prior_groups

std::vector< std::string > list_prior_groups() const

function print_priors

std::string print_priors(
    const std::string & prior_group ="priors"
) const

function print_plugin_to_screen

int print_plugin_to_screen(
    const std::string & name
) const

function print_plugin_to_screen

int print_plugin_to_screen(
    const std::string & type,
    const std::string & name
) const

function print_plugin_to_screen

int print_plugin_to_screen(
    const std::vector< std::string > & names
) const

function find

Plugin_Details & find(
    const std::string & type,
    std::string plugin,
    const std::string & version,
    const std::string & lib
) const

Updated on 2024-07-18 at 13:53:32 +0000