Changeset 5581 in orxonox.OLD for branches/network/src/lib
- Timestamp:
- Nov 16, 2005, 1:19:27 PM (19 years ago)
- Location:
- branches/network/src/lib/network
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/network/src/lib/network/connection_monitor.cc
r5564 r5581 22 22 { 23 23 24 totalReceivedPackets=0; 25 totalLostPackets=0; 26 //packetSize=?; 27 28 currentPacketID=0; 29 currentDatarate=0; 30 timeForLastFewPackets=0; 24 31 25 32 } … … 35 42 36 43 44 45 void ConnectionMonitor::processPacket(byte* packet) 46 { 47 48 49 50 } 51 52 53 void ConnectionMonitor::displayStatistic() 54 { 55 56 57 58 59 60 } 61 -
branches/network/src/lib/network/connection_monitor.h
r5550 r5581 7 7 #define _CONNECTION_MONITOR_H 8 8 9 #include "base_object.h" 9 10 #include "netdefs.h" 10 //#include "networkstream.h"11 11 12 class ConnectionMonitor 12 class ConnectionMonitor : virtual public BaseObject 13 13 { 14 14 public: … … 16 16 ~ConnectionMonitor(); 17 17 18 void processPacket(byte* packet); 19 20 18 21 private: 19 22 20 void processPacket(); 23 21 24 void displayStatistic(); 22 23 //NetworkStream& networkStream;24 25 25 26 unsigned int totalReceivedPackets; … … 27 28 unsigned int packetSize; 28 29 30 unsigned int currentPacketID; 29 31 unsigned int currentDatarate; 30 32 unsigned int timeForLastFewPackets; 31 32 33 33 34 }; -
branches/network/src/lib/network/synchronizeable.h
r5564 r5581 10 10 #include "netdefs.h" 11 11 12 class Synchronizeable : public BaseObject12 class Synchronizeable : virtual public BaseObject 13 13 { 14 14 public:
Note: See TracChangeset
for help on using the changeset viewer.