Changeset 2028
- Timestamp:
- Oct 28, 2008, 8:02:32 PM (16 years ago)
- Location:
- code/branches/objecthierarchy
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/objecthierarchy/TODO
r2011 r2028 2 2 3 3 bidirectional 4 5 minimize synchronisableHeader 4 6 5 7 -
code/branches/objecthierarchy/src/network/Synchronisable.cc
r2019 r2028 134 134 orxonox::Identifier* id = ClassByID(header->classID); 135 135 assert(id); 136 orxonox::BaseObject *bo = id->fabricate(0); // TODO: get creator136 orxonox::BaseObject *bo = id->fabricate(0); //TODO: get BaseObject* from header->creatorID here 137 137 Synchronisable *no = dynamic_cast<Synchronisable *>(bo); 138 138 assert(no); … … 264 264 header->size = size; 265 265 header->objectID = this->objectID; 266 header->creatorID = this->creatorID; 266 267 header->classID = this->classID; 267 268 header->dataAvailable = true; … … 325 326 synchronisableHeader *syncHeader = (synchronisableHeader *)mem; 326 327 assert(syncHeader->objectID==this->objectID); 328 assert(syncHeader->creatorID==this->creatorID); 327 329 if(syncHeader->dataAvailable==false){ 328 330 mem+=syncHeader->size; -
code/branches/objecthierarchy/src/network/Synchronisable.h
r2011 r2028 76 76 bool dataAvailable:1; 77 77 uint32_t objectID; 78 uint32_t creatorID; 78 79 uint32_t classID; 79 80 }; … … 129 130 130 131 unsigned int objectID; 132 unsigned int creatorID; 131 133 unsigned int classID; 132 134 -
code/branches/objecthierarchy/updateMedia.sh
r1506 r2028 1 1 #!/bin/bash 2 2 dir=${pwd} 3 cd ../ Media3 cd ../media 4 4 svn up 5 5 cd $dir
Note: See TracChangeset
for help on using the changeset viewer.