| 163 | |
| 164 | template <typename T> |
| 165 | std::string PluginManager<T>::l_link(const std::string& name) |
| 166 | { |
| 167 | std::string link; |
| 168 | |
| 169 | std::lock_guard<std::mutex> lock(m_pluginMutex); |
| 170 | auto ei = m_plugins.find(name); |
| 171 | |
| 172 | // Try to find the plugin given the name and use |
| 173 | // the computed link name when we do |
| 174 | if (ei != m_plugins.end()) |
| 175 | return get().link(name); |
| 176 | return std::string(""); |
| 177 | } |
| 178 | |
| 179 | |
| 180 | /** |