Merge pull request #5798 from s-mx/complete_external_loader_methods

complete ExternalLoader method's implementations
This commit is contained in:
alexey-milovidov 2019-07-01 00:42:57 +03:00 committed by GitHub
commit 1119056b71
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1038,6 +1038,11 @@ size_t ExternalLoader::getNumberOfCurrentlyLoadedObjects() const
return loading_dispatcher->getNumberOfCurrentlyLoadedObjects(); return loading_dispatcher->getNumberOfCurrentlyLoadedObjects();
} }
void ExternalLoader::load(const String & name) const
{
loading_dispatcher->load(name);
}
void ExternalLoader::load(const String & name, LoadablePtr & loaded_object, Duration timeout) const void ExternalLoader::load(const String & name, LoadablePtr & loaded_object, Duration timeout) const
{ {
loading_dispatcher->load(name, loaded_object, timeout); loading_dispatcher->load(name, loaded_object, timeout);
@ -1058,6 +1063,11 @@ void ExternalLoader::loadStrict(const String & name, LoadResult & load_result) c
loading_dispatcher->loadStrict(name, load_result); loading_dispatcher->loadStrict(name, load_result);
} }
void ExternalLoader::load(const FilterByNameFunction & filter_by_name) const
{
loading_dispatcher->load(filter_by_name);
}
void ExternalLoader::load(const FilterByNameFunction & filter_by_name, Loadables & loaded_objects, Duration timeout) const void ExternalLoader::load(const FilterByNameFunction & filter_by_name, Loadables & loaded_objects, Duration timeout) const
{ {
if (filter_by_name) if (filter_by_name)
@ -1074,6 +1084,11 @@ void ExternalLoader::load(const FilterByNameFunction & filter_by_name, LoadResul
loading_dispatcher->load(load_results, timeout); loading_dispatcher->load(load_results, timeout);
} }
void ExternalLoader::load() const
{
loading_dispatcher->load();
}
void ExternalLoader::load(Loadables & loaded_objects, Duration timeout) const void ExternalLoader::load(Loadables & loaded_objects, Duration timeout) const
{ {
return loading_dispatcher->load(loaded_objects, timeout); return loading_dispatcher->load(loaded_objects, timeout);