7#ifndef LIBRARY_MANAGER_COLLECTION_H
8#define LIBRARY_MANAGER_COLLECTION_H
12#include <boost/shared_ptr.hpp>
118 return (library_names_);
126 return (library_info_);
149 static std::vector<std::string>
validateLibraries(
const std::vector<std::string>& libraries,
150 bool multi_threading_enabled =
false);
175 std::vector<std::string> library_names_;
178 std::vector<boost::shared_ptr<LibraryManager> > lib_managers_;
185 boost::shared_ptr<CalloutManager> callout_manager_;
This is a base class for exceptions thrown from the DNS library module.
virtual const char * what() const
Returns a C-style character string of the cause of the exception.
Library manager collection.
std::vector< std::string > getLibraryNames() const
Get library names.
~LibraryManagerCollection()
Destructor.
void unloadLibraries()
Unload libraries.
HookLibsCollection getLibraryInfo() const
Returns library info.
LibraryManagerCollection(const HookLibsCollection &libraries)
Constructor.
boost::shared_ptr< CalloutManager > getCalloutManager() const
Get callout manager.
bool prepareUnloadLibraries()
Prepare libaries unloading.
int getLoadedLibraryCount() const
Get number of loaded libraries.
static std::vector< std::string > validateLibraries(const std::vector< std::string > &libraries, bool multi_threading_enabled=false)
Validate libraries.
bool loadLibraries(bool multi_threading_enabled=false)
Load libraries.
LoadLibraries not called.
LoadLibrariesNotCalled(const char *file, size_t line, const char *what)
std::vector< HookLibInfo > HookLibsCollection
A storage for information about hook libraries.
Defines the logger used by the top-level component of kea-lfc.