Changeset 3240 for code/branches/netp6/src/network/synchronisable
- Timestamp:
- Jun 28, 2009, 3:04:30 PM (15 years ago)
- Location:
- code/branches/netp6/src/network/synchronisable
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/netp6/src/network/synchronisable/NetworkCallbackManager.cc
r3214 r3240 44 44 if (it != callbackSet_.end()) 45 45 { 46 delete (*it);47 46 callbackSet_.erase(it); 47 delete cb; 48 48 } 49 49 } -
code/branches/netp6/src/network/synchronisable/Synchronisable.cc
r3214 r3240 247 247 return 0; 248 248 uint32_t tempsize = 0; 249 #ifndef NDEBUG 249 250 if (this->classID==0) 250 251 COUT(3) << "classid 0 " << this->getIdentifier()->getName() << std::endl; 252 #endif 251 253 252 254 if (this->classID == static_cast<uint32_t>(-1)) -
code/branches/netp6/src/network/synchronisable/SynchronisableVariable.h
r3214 r3240 114 114 { 115 115 if (this->callback_ != 0) 116 { 116 117 NetworkCallbackManager::deleteCallback(this->callback_); //safe call for deletion 118 // this is neccessary because for example for a Vector3 all 3 components of the vector use the same callback 119 } 117 120 } 118 121
Note: See TracChangeset
for help on using the changeset viewer.