Changeset 11017 for code/trunk/src/libraries/core/module
- Timestamp:
- Jan 2, 2016, 6:13:28 PM (9 years ago)
- Location:
- code/trunk/src/libraries/core/module
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/libraries/core/module/PluginManager.cc
r11016 r11017 81 81 void PluginManager::setConfigValues() 82 82 { 83 SetConfigValue(bMerelyDeactivatePlugins_, MERELY_DEACTIVATE_PLUGINS); 83 SetConfigValue(bMerelyDeactivatePlugins_, MERELY_DEACTIVATE_PLUGINS).callback(this, &PluginManager::changedConfigValue); 84 } 85 86 void PluginManager::changedConfigValue() 87 { 88 if (this->bMerelyDeactivatePlugins_) 89 { 90 orxout(internal_warning) << "Orxonox is configured to NOT completely unload plugins." 91 " This means that it's not possible to re-compile and reload a plugin at runtime." << endl; 92 } 84 93 } 85 94 -
code/trunk/src/libraries/core/module/PluginManager.h
r11016 r11017 59 59 60 60 private: 61 void changedConfigValue(); 62 61 63 std::map<std::string, Plugin*> plugins_; 62 64 std::map<std::string, PluginReference*> references_; // references that were created by console command
Note: See TracChangeset
for help on using the changeset viewer.