7 #ifndef LIBRARY_MANAGER_COLLECTION_H 8 #define LIBRARY_MANAGER_COLLECTION_H 12 #include <boost/shared_ptr.hpp> 83 static_cast<void>(unloadLibraries());
107 boost::shared_ptr<CalloutManager> getCalloutManager()
const;
115 return (library_names_);
123 return (library_info_);
132 int getLoadedLibraryCount()
const;
144 static std::vector<std::string>
145 validateLibraries(
const std::vector<std::string>& libraries);
158 bool prepareUnloadLibraries();
165 void unloadLibraries();
170 std::vector<std::string> library_names_;
173 std::vector<boost::shared_ptr<LibraryManager> > lib_managers_;
180 boost::shared_ptr<CalloutManager> callout_manager_;
187 #endif // LIBRARY_MANAGER_COLLECTION_H Library manager collection.
LoadLibraries not called.
virtual const char * what() const
Returns a C-style character string of the cause of the exception.
std::vector< std::string > getLibraryNames() const
Get library names.
std::vector< HookLibInfo > HookLibsCollection
A storage for information about hook libraries.
LoadLibrariesNotCalled(const char *file, size_t line, const char *what)
This is a base class for exceptions thrown from the DNS library module.
Defines the logger used by the top-level component of kea-lfc.
~LibraryManagerCollection()
Destructor.
HookLibsCollection getLibraryInfo() const
Returns library info.