Changeset 10520 for code/branches/core7/src/libraries/network
- Timestamp:
- May 31, 2015, 11:54:06 AM (10 years ago)
- Location:
- code/branches/core7/src/libraries/network
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/core7/src/libraries/network/NetworkFunctionIncludes.h
r10478 r10520 52 52 public: 53 53 StaticallyInitializedNetworkFunction(NetworkFunctionBase* function) : function_(function) {} 54 ~StaticallyInitializedNetworkFunction() { delete function_; } 54 55 55 56 virtual void load(); -
code/branches/core7/src/libraries/network/NetworkFunctionManager.cc
r10475 r10520 54 54 } 55 55 56 void NetworkFunctionManager::destroyAllNetworkFunctions()57 {58 std::set<NetworkFunctionBase*>::iterator it;59 for (it = this->functions_.begin(); it != this->functions_.end(); ++it)60 delete (*it);61 }62 63 56 NetworkFunctionBase* NetworkFunctionManager::getFunctionByName(const std::string& name) 64 57 { -
code/branches/core7/src/libraries/network/NetworkFunctionManager.h
r10475 r10520 46 46 void unregisterFunction(NetworkFunctionBase* function); 47 47 48 void destroyAllNetworkFunctions();49 50 48 inline const std::set<NetworkFunctionBase*>& getAllFunctions() 51 49 { return functions_; }
Note: See TracChangeset
for help on using the changeset viewer.