Changeset 1989 for code/branches/objecthierarchy/src/network
- Timestamp:
- Oct 21, 2008, 4:56:41 PM (16 years ago)
- Location:
- code/branches/objecthierarchy/src/network
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/objecthierarchy/src/network/Synchronisable.cc
r1945 r1989 81 81 for(std::list<synchronisableVariable *>::iterator it = syncList->begin(); it!=syncList->end(); it++) 82 82 delete (*it)->callback; 83 deletedObjects_.push(objectID); 83 if (this->objectMode_ != 0x0) 84 deletedObjects_.push(objectID); 84 85 // COUT(3) << "destruct synchronisable +++" << objectID << " | " << classID << std::endl; 85 86 // COUT(3) << " bump ---" << objectID << " | " << &objectMap_ << std::endl; … … 418 419 */ 419 420 void Synchronisable::setObjectMode(int mode){ 420 assert(mode==0x 1 || mode==0x2 || mode==0x3);421 assert(mode==0x0 || mode==0x1 || mode==0x2 || mode==0x3); 421 422 objectMode_=mode; 422 423 } -
code/branches/objecthierarchy/src/network/Synchronisable.h
r1945 r1989 48 48 namespace network 49 49 { 50 static const unsigned int OBJECTID_UNKNOWN = (unsigned int)-1; 51 50 52 namespace direction{ 51 53 enum syncdirection{
Note: See TracChangeset
for help on using the changeset viewer.