GlobalPluginLoader.h
Go to the documentation of this file.
1 /*
2  * Copyright 2015-2020 CNRS-UM LIRMM, CNRS-AIST JRL
3  */
4 
5 #pragma once
6 
10 
11 #include <mc_rtc/config.h>
12 #include <mc_rtc/loader.h>
13 
14 #include <map>
15 #include <memory>
16 #include <mutex>
17 
18 namespace mc_control
19 {
20 
26 {
27 public:
28  static mc_rtc::ObjectLoader<GlobalPlugin> & loader();
29 
30 private:
31  static std::unique_ptr<mc_rtc::ObjectLoader<GlobalPlugin>> loader_;
32 };
33 
34 } // namespace mc_control
mc_rtc::ObjectLoader
ltdl wrapper for factory-like classes
Definition: loader.h:37
MC_CONTROL_DLLAPI
#define MC_CONTROL_DLLAPI
Definition: api.h:50
GlobalPlugin.h
mc_control::GlobalPluginLoader
Definition: GlobalPluginLoader.h:25
loader.h
ltdl wrapper for mc_rtc purpose
mc_control
Definition: CompletionCriteria.h:10