00001 // this is for emacs file handling -*- mode: c++; indent-tabs-mode: nil -*- 00002 00003 // -- BEGIN LICENSE BLOCK ---------------------------------------------- 00004 // This file is part of FZIs ic_workspace. 00005 // 00006 // This program is free software licensed under the LGPL 00007 // (GNU LESSER GENERAL PUBLIC LICENSE Version 3). 00008 // You can find a copy of this license in LICENSE folder in the top 00009 // directory of the source code. 00010 // 00011 // © Copyright 2016 FZI Forschungszentrum Informatik, Karlsruhe, Germany 00012 // 00013 // -- END LICENSE BLOCK ------------------------------------------------ 00014 00015 //---------------------------------------------------------------------- 00027 //---------------------------------------------------------------------- 00028 #ifndef ICL_CORE_PLUGIN_T_PLUGIN_MANAGER_H_INCLUDED 00029 #define ICL_CORE_PLUGIN_T_PLUGIN_MANAGER_H_INCLUDED 00030 00031 #include "icl_core/Deprecate.h" 00032 #include "icl_core_plugin/PluginManager.h" 00033 00034 namespace icl_core { 00035 namespace plugin { 00036 00037 template <class T, const char* const plugin_dir> 00038 class ICL_CORE_VC_DEPRECATE tPluginManager : public PluginManager<T, plugin_dir> 00039 { 00040 public: 00042 static PluginManager<T, plugin_dir> *Instance() 00043 { 00044 return PluginManager<T, plugin_dir>::instance(); 00045 } 00046 00047 protected: 00049 tPluginManager() 00050 : PluginManager<T, plugin_dir>() 00051 { } 00052 } ICL_CORE_GCC_DEPRECATE; 00053 00054 } 00055 } 00056 00057 #endif