Changeset 10549 for code/branches
- Timestamp:
- Aug 27, 2015, 10:40:50 PM (9 years ago)
- Location:
- code/branches/core7/src/libraries/core
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/core7/src/libraries/core/Core.cc
r10547 r10549 291 291 void Core::loadModule(ModuleInstance* module) 292 292 { 293 orxout(internal_info) << "Loading module " << module->get Name() << "..." << endl;293 orxout(internal_info) << "Loading module " << module->getLibraryName() << "..." << endl; 294 294 295 295 ModuleInstance::setCurrentModuleInstance(module); 296 DynLib* dynLib = this->dynLibManager_->load(module->get Name());296 DynLib* dynLib = this->dynLibManager_->load(module->getLibraryName()); 297 297 module->setDynLib(dynLib); 298 298 -
code/branches/core7/src/libraries/core/module/ModuleInstance.cc
r10536 r10549 35 35 ModuleInstance* ModuleInstance::currentModuleInstance_s = NULL; 36 36 37 ModuleInstance::ModuleInstance(const std::string& name)38 : name_(name)37 ModuleInstance::ModuleInstance(const std::string& libraryName) 38 : libraryName_(libraryName) 39 39 , dynLib_(NULL) 40 40 { -
code/branches/core7/src/libraries/core/module/ModuleInstance.h
r10539 r10549 43 43 { 44 44 public: 45 ModuleInstance(const std::string& name);45 ModuleInstance(const std::string& libraryName); 46 46 ~ModuleInstance(); 47 47 … … 57 57 void deleteAllStaticallyInitializedInstances(); 58 58 59 inline const std::string& get Name() const60 { return this-> name_; }59 inline const std::string& getLibraryName() const 60 { return this->libraryName_; } 61 61 62 62 inline void setDynLib(DynLib* dynLib) … … 70 70 private: 71 71 std::map<StaticInitialization::Type, std::set<StaticallyInitializedInstance*> > staticallyInitializedInstancesByType_; 72 std::string name_;72 std::string libraryName_; 73 73 DynLib* dynLib_; 74 74
Note: See TracChangeset
for help on using the changeset viewer.