Changeset 10404 for code/branches/core7/src/libraries/core/module
- Timestamp:
- Apr 26, 2015, 8:47:52 PM (10 years ago)
- Location:
- code/branches/core7/src/libraries/core/module
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/core7/src/libraries/core/module/ModuleInstance.cc
r10344 r10404 53 53 } 54 54 55 void ModuleInstance::unloadAllStaticallyInitializedInstances() 56 { 57 for (std::list<StaticallyInitializedInstance*>::iterator it = this->staticallyInitializedInstances_.begin(); it != this->staticallyInitializedInstances_.end(); ++it) 58 (*it)->unload(); 59 } 60 55 61 void ModuleInstance::removeStaticallyInitializedInstance(StaticallyInitializedInstance* instance) 56 62 { -
code/branches/core7/src/libraries/core/module/ModuleInstance.h
r10344 r10404 43 43 void addStaticallyInitializedInstance(StaticallyInitializedInstance* instance); 44 44 void loadAllStaticallyInitializedInstances(); 45 void unloadAllStaticallyInitializedInstances(); 45 46 void removeStaticallyInitializedInstance(StaticallyInitializedInstance* instance); 46 47 -
code/branches/core7/src/libraries/core/module/StaticallyInitializedInstance.h
r10344 r10404 41 41 42 42 virtual void load() = 0; 43 virtual void unload() = 0; 43 44 }; 44 45 }
Note: See TracChangeset
for help on using the changeset viewer.