Changeset 3208
- Timestamp:
- Jun 23, 2009, 12:51:43 AM (16 years ago)
- Location:
- code/branches/netp5/src/network
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/netp5/src/network/NetworkFunction.h
r3207 r3208 75 75 ~NetworkFunctionBase(); 76 76 77 virtual void 77 virtual void setNetworkID(uint32_t id) { this->networkID_ = id; } 78 78 inline uint32_t getNetworkID() const { return this->networkID_; } 79 79 inline std::string getName() const { return name_; } -
code/branches/netp5/src/network/packet/DeleteObjects.cc
r2773 r3208 90 90 Synchronisable::deleteObject( *(uint32_t*)(data_+_OBJECTIDS+i*sizeof(uint32_t)) ); 91 91 } 92 delete this; 92 93 return true; 93 94 } -
code/branches/netp5/src/network/packet/FunctionCalls.cc
r3202 r3208 66 66 67 67 bool FunctionCalls::process(){ 68 printf("process function calls\n");69 68 assert(isDataENetAllocated()); 70 69 uint8_t* temp = data_+sizeof(uint32_t); //skip packetid -
code/branches/netp5/src/network/packet/Packet.cc
r3202 r3208 54 54 55 55 std::map<size_t, Packet *> Packet::packetMap_; 56 //! Static mutex for any packetMap_ access57 56 58 57 Packet::Packet(){ … … 213 212 // Data was created by ENet 214 213 p->bDataENetAllocated_ = true; 214 p->enetPacket_ = packet; 215 215 216 216 return p; … … 230 230 delete it->second; 231 231 packetMap_.erase(it); 232 COUT( 4) << "PacketMap size: " << packetMap_.size() << std::endl;232 COUT(6) << "PacketMap size: " << packetMap_.size() << std::endl; 233 233 } 234 234
Note: See TracChangeset
for help on using the changeset viewer.