7 #ifndef LIBRARY_MANAGER_COLLECTION_H
8 #define LIBRARY_MANAGER_COLLECTION_H
12 #include <boost/shared_ptr.hpp>
115 return (library_names_);
123 return (library_info_);
144 static std::vector<std::string>
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
bool prepareUnloadLibraries()
Prepare libaries unloading.
Library manager collection.
std::vector< std::string > getLibraryNames() const
Get library names.
LoadLibraries not called.
void unloadLibraries()
Unload libraries.
static std::vector< std::string > validateLibraries(const std::vector< std::string > &libraries)
Validate libraries.
boost::shared_ptr< CalloutManager > getCalloutManager() const
Get callout manager.
HookLibsCollection getLibraryInfo() const
Returns library info.
int getLoadedLibraryCount() const
Get number of loaded libraries.
std::vector< HookLibInfo > HookLibsCollection
A storage for information about hook libraries.
bool loadLibraries()
Load libraries.
virtual const char * what() const
Returns a C-style character string of the cause of the exception.
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-dhcp-ddns.
~LibraryManagerCollection()
Destructor.
LibraryManagerCollection(const HookLibsCollection &libraries)
Constructor.