33#ifndef DART_COMMON_DETAIL_SHAREDLIBRARYMANAGER_HPP_
34#define DART_COMMON_DETAIL_SHAREDLIBRARYMANAGER_HPP_
38#include <unordered_map>
65 std::shared_ptr<SharedLibrary>
load(
const common::filesystem::path& path);
75 std::shared_ptr<SharedLibrary>
load(
const std::string& path);
83 size_t operator()(const ::dart::common::filesystem::path& p)
const
85 return ::dart::common::filesystem::hash_value(p);
91 common::filesystem::path,
92 std::weak_ptr<SharedLibrary>,
98 std::unordered_map<std::string, std::weak_ptr<SharedLibrary>>
#define DART_DEPRECATED(version)
Definition Deprecated.hpp:51
Singleton template class.
Definition Singleton.hpp:51
Definition SharedLibraryManager.hpp:52
std::unordered_map< std::string, std::weak_ptr< SharedLibrary > > mSharedLibraries
Map from library path to the library instances.
Definition SharedLibraryManager.hpp:99
std::unordered_map< common::filesystem::path, std::weak_ptr< SharedLibrary >, FileSystemHash > mLibraries
Map from library path to the library instances.
Definition SharedLibraryManager.hpp:94
std::shared_ptr< SharedLibrary > load(const common::filesystem::path &path)
Loads the shared library with the specified path.
Definition SharedLibraryManager.cpp:45
Definition BulletCollisionDetector.cpp:60
Definition SharedLibraryManager.hpp:82
size_t operator()(const ::dart::common::filesystem::path &p) const
Definition SharedLibraryManager.hpp:83